-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.txt
27 lines (26 loc) · 1.38 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
python dataClassifier.py
python dataClassifier.py -h
Options:
-h, --help show this help message and exit
-c CLASSIFIER, --classifier=CLASSIFIER
The type of classifier [Default: mostFrequent]
-d DATA, --data=DATA Dataset to use [Default: digits]
-t TRAINING, --training=TRAINING
The size of the training set [Default: 100]
-f, --features Whether to use enhanced features [Default: False]
-o, --odds Whether to compute odds ratios [Default: False]
-1 LABEL1, --label1=LABEL1
First label in an odds ratio comparison [Default: 0]
-2 LABEL2, --label2=LABEL2
Second label in an odds ratio comparison [Default: 1]
-w, --weights Whether to print weights [Default: False]
-k SMOOTHING, --smoothing=SMOOTHING
Smoothing parameter (ignored when using --autotune)
[Default: 2.0]
-a, --autotune Whether to automatically tune hyperparameters
[Default: False]
-i ITERATIONS, --iterations=ITERATIONS
Maximum iterations to run training [Default: 3]
-s TEST, --test=TEST Amount of test data to use [Default: 100]
eg. if you want use 100% traningdata and 100% testdata and naiveBayes classifier
use this command: py dataClassifier.py -c naiveBayes -s 50 -t 450 -f