1 |
abfd9c7c
|
Roman Kalivoda
|
using System;
|
2 |
|
|
using System.Collections.Generic;
|
3 |
|
|
using System.Linq;
|
4 |
|
|
using System.Text;
|
5 |
|
|
using System.Threading.Tasks;
|
6 |
|
|
using Microsoft.ML;
|
7 |
|
|
|
8 |
|
|
namespace ServerApp.Predictor
|
9 |
|
|
{
|
10 |
|
|
class NaiveBayesClassifier : IPredictor
|
11 |
|
|
{
|
12 |
|
|
private MLContext mlContext;
|
13 |
|
|
|
14 |
|
|
public NaiveBayesClassifier()
|
15 |
|
|
{
|
16 |
|
|
mlContext = new MLContext();
|
17 |
|
|
|
18 |
|
|
}
|
19 |
|
|
|
20 |
|
|
public void Fit(ModelInput trainingData)
|
21 |
|
|
{
|
22 |
|
|
throw new NotImplementedException();
|
23 |
|
|
}
|
24 |
|
|
|
25 |
|
|
public void Predict(ModelInput testData)
|
26 |
|
|
{
|
27 |
|
|
throw new NotImplementedException();
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
}
|