Skip to content
Weka Comparator to match rules to test data with filtering abilites
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Copy of sample test-dataset.xlsx
LICENSE
PART_Rule-TREE.txt
README.md
Rule-PART.txt
WekaComparator.ico
WekaComparator.png
pom.xml
sample.png
sample_output.png

README.md

=============================================================================================

 _       __     __            ______                                       __
| |     / /__  / /______ _   / ____/___  ____ ___  ____  ____ __________ _/ /_____  _____
| | /| / / _ \/ //_/ __ `/  / /   / __ \/ __ `__ \/ __ \/ __ `/ ___/ __ `/ __/ __ \/ ___/
| |/ |/ /  __/ ,< / /_/ /  / /___/ /_/ / / / / / / /_/ / /_/ / /  / /_/ / /_/ /_/ / /
|__/|__/\___/_/|_|\__,_/   \____/\____/_/ /_/ /_/ .___/\__,_/_/   \__,_/\__/\____/_/
                                               /_/
                                                                       -- By Avinash Singh

=============================================================================================

WekaComparator

Simple tree parser, takes in a TREE or PART file from Weka and converts to a excel table of rules and labels with positive and negative matches as well as a percentage. The rules are then matched to the test input and is stored in a specific format. This can be filtered based on percentage and number of positive samples.

Installation

The binary is available here WekaComparator.exe or can be compiled and executed with maven.

Input

An example of the sample files and format are provided, the UI is very simple. An example of how to use it can be seen below:

Sample UI

Output

The sample format of the matching tests to the rules are stored in the following format: {"rule": 4,"label": "HP", "+": 41.0, "-": 0.0, "%": 100.0}

The result of the provided sample files is:

Sample Output

You can’t perform that action at this time.