Exemplo n.º 1
0
        static void Evaluation(Model m = null)
        {
            var reader = new Reader();
            var model = m == null ? new Model(@"Data\model") : m;
            var evaluator = new Evaluation(model);

            var results = evaluator.Evaluate(Entities(@"Data\ValidationSet"));
            Logger.Log("Evaluation done");

            foreach (var result in results)
            {
                Console.WriteLine("{0,15}: {1}", result.Key, result.Value.ToString());
            }
        }
Exemplo n.º 2
0
 internal static void InitializeClassifier()
 {
     model = new PsiMl.WebsiteClasification.Model(@"d:\Data\model");
 }
Exemplo n.º 3
0
 public Evaluation(Model model)
 {
     this.model = model;
 }