WEKA: two issues and one typo

Lorenzo Ferron <[email protected]> Thu, 1 Feb 2024 01:52:35 +0100
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>
Dear WEKA Support Team,

I think that I found two issue and one typo in source code.

 1. In the class AttributeSelectionPanel.java @ lines: 244
    <https://git.cms.waikato.ac.nz/weka/weka/-/blob/3cbb52f2172daeab749aedd5afbe1463775ca361/trunk/weka/src/main/java/weka/gui/explorer/AttributeSelectionPanel.java#L244>,
    266
    <https://git.cms.waikato.ac.nz/weka/weka/-/blob/3cbb52f2172daeab749aedd5afbe1463775ca361/trunk/weka/src/main/java/weka/gui/explorer/AttributeSelectionPanel.java#L266>,
    321
    <https://git.cms.waikato.ac.nz/weka/weka/-/blob/3cbb52f2172daeab749aedd5afbe1463775ca361/trunk/weka/src/main/java/weka/gui/explorer/AttributeSelectionPanel.java#L321>
    and 344
    <https://git.cms.waikato.ac.nz/weka/weka/-/blob/3cbb52f2172daeab749aedd5afbe1463775ca361/trunk/weka/src/main/java/weka/gui/explorer/AttributeSelectionPanel.java#L344>,
    there is a word duplication ("use").
 2. In |Select attributes| tab there is a drop-down box that can be used
    to specify which attribute to treat as the class
    <https://git.cms.waikato.ac.nz/weka/weka/-/blob/3cbb52f2172daeab749aedd5afbe1463775ca361/trunk/wekadocs/manual/explorer.tex#L639-L640>.
    But it doesn't work properly. If you select No class item (index =
    0) then |classIndex= -1| because |m_ClassCombo.getSelectedIndex()|
    is 0. So to solve this you can remove -1 from line 681
    <https://git.cms.waikato.ac.nz/weka/weka/-/blob/3cbb52f2172daeab749aedd5afbe1463775ca361/trunk/weka/src/main/java/weka/gui/explorer/AttributeSelectionPanel.java#L681>.
 3. Always in |Select attributes| tab when you configure
    |PrincipalComponents| (I tested only this one) as evaluator you
    can't set |doNotCheckCapabilities| because it isn't a proper option
    <https://git.cms.waikato.ac.nz/weka/weka/-/blob/3cbb52f2172daeab749aedd5afbe1463775ca361/trunk/weka/src/main/java/weka/attributeSelection/PrincipalComponents.java#L214-272>.
    I'm not sure if this is the source of the issue because I didn't
    investigate.

Kind regards,

Claudia

_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html