Artificial Intelligence class assignments K-nearest Neighbors Algorithm Perceptron Single-Layer Neural Network K-Means Naive Bayes classifier Knapsack Problem Huffman