Skip to content

craigsketchley/app-type-classifier

Repository files navigation

How to run in Terminal

Compiling

Use the following command to compile:

javac -cp "lib/*" -d bin src/classifier/*.java src/preprocessor/*.java src/util/*.java src/AppClassifier.java

Running

Use the following command to run:

java -cp bin:"lib/*" AppClassifier

You will be prompted to evaluate the classifier, train a model, or load a model. Please follow the on screen instructions.

An example of evaluation mode would be:

Would you like to:
    (e)valuate our classifier?
    (t)rain our classifier and input test data?
    (l)oad a previously trained model and input test data?
e
Evaluation Mode
Enter training_desc filename and path: data/training_desc_500.csv
Enter training_labels filename and path: data/training_labels.csv
Preprocessing files...

Other features

Whilst our program is a SVM classifier, other classifiers were added during our testing. These can be found in src/classifier/ClassifierType.java. Modifying the src/AppClassifier.java would allow for other classifiers to be tested.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages