Projects >> abolt >>7a9a7f2d44e167244d984f0a1a45c15115143443

Chunk
Conflicting content
        // New classification code
        // For now, manually specified parameters on weight
<<<<<<< HEAD
        GKNN colorKNN = new GKNN(10, 0.1);
        colorKNN.setDataFile(colorDataFile);
        classifiers.put(FeatureCategory.COLOR, colorKNN);

        GKNN shapeKNN = new GKNN(15, .3);      // XXX Untested parameter
        shapeKNN.setDataFile(shapeDataFile);
        classifiers.put(FeatureCategory.SHAPE, shapeKNN);

        GKNN sizeKNN  = new GKNN(10, .00001);      // XXX Needs revisiting, both in terms of
        sizeKNN.setDataFile(sizeDataFile);      // XXX parameter and classification
=======
        GKNN colorKNN = new GKNN(20, 0.1);
        colorKNN.setDataFile(colorDataFile);
        classifiers.put(FeatureCategory.COLOR, colorKNN);

        //ShapeGKNN shapeKNN = new ShapeGKNN(10, 0.5);
        GKNN shapeKNN = new GKNN(10, 1.0);
        shapeKNN.setDataFile(shapeDataFile);
        classifiers.put(FeatureCategory.SHAPE, shapeKNN);

        GKNN sizeKNN  = new GKNN(5, 1.0);
        sizeKNN.setDataFile(sizeDataFile);
>>>>>>> 5efb0bec47235df57a7b5350762c71f8fbbec37a
        classifiers.put(FeatureCategory.SIZE, sizeKNN);

        reloadData();
Solution content
        // New classification code
        // For now, manually specified parameters on weight

        GKNN colorKNN = new GKNN(10, 0.1);
        colorKNN.setDataFile(colorDataFile);
        classifiers.put(FeatureCategory.COLOR, colorKNN);

        GKNN shapeKNN = new GKNN(10, .3);      // XXX Untested parameter
        shapeKNN.setDataFile(shapeDataFile);
        classifiers.put(FeatureCategory.SHAPE, shapeKNN);

        GKNN sizeKNN  = new GKNN(5, .00003);      // XXX Needs revisiting, both in terms of
        sizeKNN.setDataFile(sizeDataFile);      // XXX parameter and classification

        classifiers.put(FeatureCategory.SIZE, sizeKNN);

        reloadData();
File
ClassifierManager.java
Developer's decision
Manual
Kind of conflict
Comment
Method invocation
Variable