Ejemplo n.º 1
0
        public async void ReshuffleSample( )
        {
            CanInteract = false;
            SampleLoader.ExtractSample(records, out train, out trainAns, out test, out testAns);
            await DrawRoc( );

            CanInteract = true;
        }
Ejemplo n.º 2
0
 public RocViewModel( )
 {
     Model = new PlotModel {
         Title = "Wait, please..."
     };
     logistic = new LogisticRegression( );
     Task.Factory.StartNew(() =>
     {
         records = SampleLoader.LoadRecords("iris.csv");
         SampleLoader.ExtractSample(records, out train, out trainAns, out test, out testAns);
     }).ContinueWith(async(t) =>
     {
         await DrawRoc( );
     });
 }