src/main/java/Alergia.java
public static void usageExample(){
        String path = "sampleFiles/mdpData6.txt";
        double eps = 0.005;
        ModelType type = ModelType.MDP;
        String saveLocation = "jAlergiaModel";
        OptimizeFor optimizeFor = OptimizeFor.ACCURACY;

        List<List<String>> data = Parser.parseFile(path);
        Alergia a = new Alergia(saveLocation);
        a.runAlergia(data, type, eps, optimizeFor);

        System.exit(0);
    }
/**
     * Simple example demonstrating how to use jAlergia.
     */
Simple example demonstrating how to use jAlergia.
Simple example demonstrating how to use jAlergia .
public static void usageExample(){
        String path = "sampleFiles/mdpData6.txt";
        double eps = 0.005;
        ModelType type = ModelType.MDP;
        String saveLocation = "jAlergiaModel";
        OptimizeFor optimizeFor = OptimizeFor.ACCURACY;
        List<List<String>> data = Parser.parseFile(path);
        Alergia a = new Alergia(saveLocation);
        a.runAlergia(data, type, eps, optimizeFor);
        System.exit(0);
    }
public static void usageExample ( ) { String path = "sampleFiles/mdpData6.txt" ; double eps = 0.005 ; ModelType type = ModelType . MDP ; String saveLocation = "jAlergiaModel" ; OptimizeFor optimizeFor = OptimizeFor . ACCURACY ; List < List < String > > data = Parser . parseFile ( path ) ; Alergia a = new Alergia ( saveLocation ) ; a . runAlergia ( data , type , eps , optimizeFor ) ; System . exit ( 0 ) ; }
Simple example demonstrating how to use jAlergia.
Simple example demonstrating how to use jAlergia .