https://github.com/eracle/grouping-features
Simple library containing some tools used for research purposes on the field of Feature Selection.
https://github.com/eracle/grouping-features
Last synced: 3 months ago
JSON representation
Simple library containing some tools used for research purposes on the field of Feature Selection.
- Host: GitHub
- URL: https://github.com/eracle/grouping-features
- Owner: eracle
- Created: 2017-02-28T11:52:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-21T13:28:47.000Z (about 8 years ago)
- Last Synced: 2025-01-14T02:44:24.689Z (5 months ago)
- Language: Java
- Size: 534 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Clustering attributes - Feature selection - tools
Simple library containing some tools used for research purposes on the field of Feature Selection.
It is used for data pre-processing and as a conversion tool between WEKA library and the upo.jml library.The project is build using gradle and it uses junit.
#### Usage
Inside the src/main/java folder is possible to find a static classes which implements some basic functionality,
inside the it.ci package:- FeatureSelection.java
1. openArff
2. splitFeatures
3. Instances2ClassificationDataset#### Example
```java
import ...Instances data = FeatureSelection.openArff(file);
ArrayList list = FeatureSelection.splitFeatures(data);
for(Instances ins: list){
ClassificationDataset class_dataset = Instances2ClassificationDataset(ins);
...
}```
See the src/test/java/it/ci/FeatureSelectionTest.java class for more examples.
#### Tests
Is possible to run tests with the default gradle method:
```bash
./gradlew compileJava test
```[1]: https://docs.gradle.org/current/userguide/tutorial_gradle_command_line.html