Esempio n. 1
0
 public static void setUpStage1()
 {
     int[][] input =
     {
         new int[] { 6, 180, 12 }, //1
         new int[] { 5, 100,  6 }, //0
         new int[] { 4, 190, 11 }, //1
         new int[] { 6, 150,  8 }, //0
         new int[] { 6, 170, 12 }, //1
         new int[] { 4, 130,  7 }, //0
         new int[] { 7, 165, 10 }, //1
         new int[] { 6, 150,  9 }, //0
     };
     int[] output =
     {
         1, 0, 1, 0, 1, 0, 1, 0
     };
     analytic = new NaiveAnalytic(input, output, 0.7);
 }
Esempio n. 2
0
 public void SetupStage2()
 {
     analytic = new NaiveAnalytic(directory + "Analytics/PruebaNaiveBayes.txt", Analytic.TYPE_INT, 1);
 }
Esempio n. 3
0
 public ManagerData()
 {
     naive      = new NaiveAnalytic();
     dictionary = new DictionaryAn();
 }