Exemple #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            readResults = new ResultCSV();

            data       = readResults.readCSV(readResults.get_resultKNN());
            knnData    = new CSVDataRepresentation(data);
            data       = readResults.readCSV(readResults.get_resultLOGREG());
            logregData = new CSVDataRepresentation(data);
            data       = readResults.readCSV(readResults.get_resultActual());
            actualData = new CSVDataRepresentation(data, true);

            allCategories();
            knnPredictedCategories();
            logregPredictedCategories();
            actualCategories();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            readResults = new ResultCSV();

            data       = readResults.readCSV(readResults.get_resultKNN());
            knnData    = new CSVDataRepresentation(data);
            data       = readResults.readCSV(readResults.get_resultLOGREG());
            logregData = new CSVDataRepresentation(data);
            data       = readResults.readCSV(readResults.get_resultActual());
            actualData = new CSVDataRepresentation(data, true);

            readResults2           = new ResultCSV(false);
            data2                  = readResults2.readCSV(readResults2.getAltActual2());
            actualDataWithTraining = new CSVDataRepresentation(data2, true);

            allCategories();
            knnPredictedCategories();
            logregPredictedCategories();
            actualCategories();
            actualCategoriesWithTraining();
            calcAccuracy();
            calcAccuracyWithTraining();
        }