Question: Test the KNN algorithm for predicting the cancer type on the cancer dataset. Two files will be provided to you. One contains the gene expression
Test the KNN algorithm for predicting the cancer type on the cancer dataset. Two files will be provided to you. One contains the gene expression data for 20531 genes for 801 patients. The other 4 file contains the class labels for the five types of cancer. Convert five types of cancer into numerical values
implementation should be done using matplotlib,sklearn model selection,numpy,scipy,sklearnneighbors,sklearnmetrics
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
