dataset-weights-weka-package
Weka package offering filters that allow modification of attribute/instance weights.
The following filters are available:
weka.filters.unsupervised.attribute.ModifyAttributeWeights
weka.filters.unsupervised.instance.ModifyInstanceWeights
Available modifiers for attribute weights:
FixedValue
- applies the user-specified weight to selected range of attributesFixedValueByName
- applies the user-specified weight to attributes that match the specified regular expression (matching can be inverted)FromFile
- uses the weights stored in a filePassThrough
- dummy, does nothing
Available modifiers for instance weights:
FixedValue
- applies the user-specified weight to selected range of rowsFixedValueByRegExp
- applies the user-specified weight to the rows which values of a specified attribute match the regular expression (matching can be inverted)FromAttribute
- uses the values from a numeric attribute as weightsFromFile
- uses the weights stored in a filePassThrough
- dummy, does nothing
Releases
How to use packages
For more information on how to install the package, see:
https://waikato.github.io/weka-wiki/packages/manager/
Maven
Use the following dependency in your pom.xml
:
<dependency>
<groupId>com.github.fracpete</groupId>
<artifactId>dataset-weights-weka-package</artifactId>
<version>2019.9.13</version>
<type>jar</type>
<exclusions>
<exclusion>
<groupId>nz.ac.waikato.cms.weka</groupId>
<artifactId>weka-dev</artifactId>
</exclusion>
</exclusions>
</dependency>