This assignment does not count toward the final grade.
PA4: kNN and AUC
- Due No Due Date
- Points 1
- Submitting a file upload
- File Types zip
See this document Links to an external site. for the PA instructions. Upload your code files as a zip.
Rubric
Keep in mind that 7 students have already been assessed using this rubric. Changing it will affect their evaluations.
Criteria | Ratings | ||
---|---|---|---|
The program compiles and/or runs without error
|
|
||
The source code is well organized and commented
|
|
||
Each source code file includes a header indicating who wrote or contributed to the code
|
|
||
Code from any external sources, or code that relied on outside influence, includes a citation in a comment just above the corresponding code
|
|
||
The code is built off of the codebase we built in class
|
|
||
There is an implemented, working kNN program
|
|
||
The kNN program supports three distance measures: Euclidean, Manhattan, and Cosine
|
|
||
The kNN program requires that the user specify the positive class, e.g., through a command line argument
|
|
||
In the output of the kNN program , the "predicted_label" column form our class example is now a "predicted_positive" column and includes a number between 0 and 1 indicating the confidence that an observation belongs to the positive class
|
|
||
The kNN program has an accurate "help" message if the wrong number of required command line arguments are provided
|
|
||
There is an implemented, working AUC evaluation program
|
|
||
The AUC evaluation program takes as input the output from the kNN program
|
|
||
The AUC evaluation program requires that the user provide the positive class, e.g., through a command line argument
|
|
||
The AUC evaluation program outputs the AUC in a nice format and includes the label of the positive class
|
|
||
The AUC evaluation program has an accurate "help" message if the wrong number of required command line arguments are provided
|
|
||
The submission includes a README
|
|
||
The README describes how to compile (if Java) and run your program
|
|
||
The README describes what command line arguments, if any, are available
|
|
||
The README includes a section that states who worked on the project
|
|
||
The README includes a section that describes the AUC evaluation of running kNN over the SMS spam training and development data sets with k=10 and spam as the positive class using each of Euclidean, Manhattan, and Cosine distance
|
|
||
|