Nt1210 Case 6.1

Satisfactory Essays
6.2 KNN: KNN method is used here for calculating the occurrence percentage of cancer by uploading the input in excel format. The input data has minimum and maximum ranges of tested values such as WBC, RBC, HGB, HCT, MCV, MCH, MCHC, PLT, RDWSD, DW, MPV, PLCR, PCT, NRBC, NEUT, LYMPH, MONO, EO, BASO, and IG. These values are compared with our dataset containing various ranges and the occurrence percentage is calculated. Let us consider the uploading file name as range.xls. For uploading the following steps to be performed, i) string Excel = Server.MapPath(FileUpload1.FileName.ToString()); ii) string connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Excel + "; Extended Properties=Excel 8.0;"; iii) For saving the uploaded range in table
Get Access