/weka_cmds

Ready commands for weka categorization experiments

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Weka Categorization Commands

logo

it's known that WEKA craches when the input dataset is too big. For this reason you have to run the algorithms from your terminal avoiding the GUI. Because the length of the commands is too big, I developed this programm which takes as input the installation directory of WEKA, the directory of dataset and the output directory. Then a menu with available algorithms will appeared and you have to choose one. Finally when the algorithm has terminated the results is visible in the terminal.


Built and run

$ git clone https://github.com/sp1thas/WEKACMDs.git && cd WEKACMDs
$ python WekaCommands.py

Prerequirments

  • Python 2.7

  • termcolor

    Installation (run as root):

$ pip install -r requirements.txt
  • WEKA link
  • Your dataset

Usage

$ python WekaCommands.py -i <inputfile> -o <outputfile> -w <wekadirectory>
  -i, --ifile

          This is the input dataset

  -o, --ofile
          This is the output file with classification results
          (model is not contained)

  -w, --wekadir
          Direction with WEKA software

  -h,
          Prints these options

Demo

asciicast

Algorithms Availability

Bayes Availability
BayesNet
NaiveBayes
NaiveBayesMultinomial
NaiveBayesMultinomialText
NaiveBayesUpdateable
Functions Availability
Logistic
MultilayerPerceptron
SimpleLogistic
SMO
Lazy Availability
IBk
KStar
LWL
Meta Availability
AdaBoostM1 -
AdditiveRegression -
AttributeSelectedClassifier -
Bagging
ClassificationViaRegression -
CostSensitiveClassifier -
CVParameterSelection -
FilteredClassifier -
IterativeClassifierOptimizer -
LogitBoost -
MultiClassClassifier -
MultiClassClassifierUpdateable -
MultiScheme -
RandomCommittee -
RandomizableFilteredClassifier -
RandomSubSpace -
RegressionByDiscretization -
Stacking -
Vote -
WeightedistancesHandlerWrapper -
Misc Availability
InputMappedClassifier
SerializedClaassifier -
Rules Availability
DecisionTable
JRip
M5Rules -
OneR
PART
ZeroR
Trees Availability
DecisionTableDecisionStump
HoeffdingTree
J48
LMT
M5P -
RandomForest
RandomTree
REPTree
Trees Availability
RBFNetwork

Running

run python script with necessery arguments

alt text

press enter to continue

alt text

choose algorith

alt text

check results

alt text

and output file has been generated

Authors

  • Simakis Panagiotis - Initial work

License

This project is licensed under the GNU General Public License version 3 - see the LICENSE file for details