Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Package renaming. Since this project is no longer a school assignment…

…, renamed package structure to make more sense.
  • Loading branch information...
commit d3c9d7823a839b5197bf1a0a9d4c73328256f1a5 1 parent eacc861
@jweaver authored
View
2  runKNN8Test.sh
@@ -3,4 +3,4 @@
# Run script to test K-Nearest Neighbor (KNN) with K = 8.
-java -c bin com.weaverworx.usc.csci561.assignment3.LaunchClassifier knn -k=8
+java -c bin com.weaverworx.classifier.LaunchClassifier knn -k=8
View
10 ...orx/usc/csci561/assignment3/LaunchClassifier.java → src/com/weaverworx/classifier/LaunchClassifier.java
@@ -3,12 +3,12 @@
* Author: Jack Weaver <jhweaver@usc.edu>, <weaver.jack@gmail.com>
* Target: aludra.usc.edu running Java 1.6.0_23
*/
-package com.weaverworx.usc.csci561.assignment3;
+package com.weaverworx.classifier;
-import com.weaverworx.usc.csci561.assignment3.knn.KNNRecord;
-import com.weaverworx.usc.csci561.assignment3.util.ClassifierTypes;
-import com.weaverworx.usc.csci561.assignment3.util.ClassifierInputReader;
-import com.weaverworx.usc.csci561.assignment3.util.LearningUtil;
+import com.weaverworx.classifier.knn.KNNRecord;
+import com.weaverworx.classifier.util.ClassifierInputReader;
+import com.weaverworx.classifier.util.ClassifierTypes;
+import com.weaverworx.classifier.util.LearningUtil;
/**
* Main class to launch the application.
View
2  ...erworx/usc/csci561/assignment3/knn/KNNRecord.java → src/com/weaverworx/classifier/knn/KNNRecord.java
@@ -3,7 +3,7 @@
* Author: Jack Weaver <jhweaver@usc.edu>
* Target: aludra.usc.edu running Java 1.6.0_23
*/
-package com.weaverworx.usc.csci561.assignment3.knn;
+package com.weaverworx.classifier.knn;
/**
* For K-Nearest Neighbor, a Record is an instance of the data, and contains
View
8 ...signment3/skeleton/KNearestNeighbor_Skeleton.java → ...lassifier/skeleton/KNearestNeighbor_Skeleton.java
@@ -1,8 +1,8 @@
-package com.weaverworx.usc.csci561.assignment3.skeleton;
+package com.weaverworx.classifier.skeleton;
-import com.weaverworx.usc.csci561.assignment3.knn.KNNRecord;
-import com.weaverworx.usc.csci561.assignment3.util.ClassifierInputReader;
-import com.weaverworx.usc.csci561.assignment3.util.LearningUtil;
+import com.weaverworx.classifier.knn.KNNRecord;
+import com.weaverworx.classifier.util.ClassifierInputReader;
+import com.weaverworx.classifier.util.LearningUtil;
/**
*
View
6 ...561/assignment3/skeleton/NaiveBayes_Skeleton.java → ...worx/classifier/skeleton/NaiveBayes_Skeleton.java
@@ -1,10 +1,10 @@
-package com.weaverworx.usc.csci561.assignment3.skeleton;
+package com.weaverworx.classifier.skeleton;
import java.io.*;
import java.util.*;
-import com.weaverworx.usc.csci561.assignment3.util.ClassifierInputReader;
-import com.weaverworx.usc.csci561.assignment3.util.LearningUtil;
+import com.weaverworx.classifier.util.ClassifierInputReader;
+import com.weaverworx.classifier.util.LearningUtil;
/**
*
View
2  ...ci561/assignment3/util/ClassifierInputReader.java → ...erworx/classifier/util/ClassifierInputReader.java
@@ -3,7 +3,7 @@
* Author: Jack Weaver <jhweaver@usc.edu>
* Target: aludra.usc.edu running Java 1.6.0_23
*/
-package com.weaverworx.usc.csci561.assignment3.util;
+package com.weaverworx.classifier.util;
import java.io.BufferedReader;
import java.io.DataInputStream;
View
2  ...usc/csci561/assignment3/util/ClassifierTypes.java → ...m/weaverworx/classifier/util/ClassifierTypes.java
@@ -3,7 +3,7 @@
* Author: Jack Weaver <jhweaver@usc.edu>
* Target: aludra.usc.edu running Java 1.6.0_23
*/
-package com.weaverworx.usc.csci561.assignment3.util;
+package com.weaverworx.classifier.util;
/**
* Standard list of input the user provides to internal mapping of the given
View
6 ...rx/usc/csci561/assignment3/util/LearningUtil.java → src/com/weaverworx/classifier/util/LearningUtil.java
@@ -3,7 +3,7 @@
* Author: Jack Weaver <jhweaver@usc.edu>
* Target: aludra.usc.edu running Java 1.6.0_23
*/
-package com.weaverworx.usc.csci561.assignment3.util;
+package com.weaverworx.classifier.util;
import java.text.DecimalFormat;
import java.util.Arrays;
@@ -11,8 +11,8 @@
import java.util.List;
import java.util.Scanner;
-import com.weaverworx.usc.csci561.assignment3.LaunchClassifier;
-import com.weaverworx.usc.csci561.assignment3.knn.KNNRecord;
+import com.weaverworx.classifier.LaunchClassifier;
+import com.weaverworx.classifier.knn.KNNRecord;
/**
* Provides for common utility across both K-Nearest Neighbor (KNN) and Naive
Please sign in to comment.
Something went wrong with that request. Please try again.