Skip to content
Browse files

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

…, renamed package structure to make more sense.
  • Loading branch information...
1 parent eacc861 commit d3c9d7823a839b5197bf1a0a9d4c73328256f1a5 @jweaver committed Jun 25, 2012
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 ...csci561/assignment3/LaunchClassifier.java → ...averworx/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 ...sc/csci561/assignment3/knn/KNNRecord.java → .../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 ...3/skeleton/KNearestNeighbor_Skeleton.java → ...r/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 ...gnment3/skeleton/NaiveBayes_Skeleton.java → ...ssifier/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 ...signment3/util/ClassifierInputReader.java → ...lassifier/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 ...561/assignment3/util/ClassifierTypes.java → ...worx/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 ...sci561/assignment3/util/LearningUtil.java → ...verworx/classifier/util/LearningUtil.java
@@ -3,16 +3,16 @@
* 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;
import java.util.Collections;
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

0 comments on commit d3c9d78

Please sign in to comment.
Something went wrong with that request. Please try again.