Open henryliangt opened 2 years ago
KNN - subset selection
The code to load the training and test sets is provided in the .ipynb template. For further information on the dataset, you may be interested in the following link: https://github.com/zalandoresearch/fashion-mnist Algorithm design and setup You will be required to design and implement three algorithms that we have covered in the course using the sklearn and/or keras libraries, in order to investigate their strengths and weaknesses.
Final models After selecting the best set of hyperparameters for each model, include cells which train the models with the selected hyperparameters independently of the parameter search cell, and measure the performance of each model on the test set.
Results and discussion In this section, you should present and discuss your results. Begin with the hyperparameter tuning results. Include appropriate tables or graphs (not code output) to illustrate the trends (performance, runtime etc.) across different hyperparameter values. Discuss the trends and provide possible explanations for their observation. Did they align with your predictions? Next, present a table showing the best hyperparameter combination for each algorithm, its performance on the test set (e.g. accuracy and other performance measures), and the training runtime. Analyse and discuss the results. Refer to the stated strengths and weaknesses of the classifiers in the Methods section; did the results agree with your expectations? What factors influenced the runtime (time per epoch, total number of epochs required etc.)? Include anything you consider interesting and/or relevant. For example, you may look at which classes each algorithm confused. Conclusion Summarise your main findings, mention any limitations, and suggest future work. When making your conclusions, consider not only accuracy, but also factors such as runtime and interpretability. Ensure your future work suggestions are concrete (eg. not in the spirit of “try more algorithms”) and justify why they would be appropriate. Reflection Write one or two paragraphs describing the most important thing that you have learned while completing the assignment
Visualize, calculate, code.
density based classifier is outlier friendly.