2018-09-11 22:29:36 +00:00
|
|
|
|
using BotSharp.Algorithm.Statistics;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.Algorithm.Bayes
|
|
|
|
|
|
{
|
|
|
|
|
|
public class MultinomiaNaiveBayesModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public List<Probability> LabelDist { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public Dictionary<string, double> CondProbDictionary { get; set; }
|
2018-09-12 20:31:20 +00:00
|
|
|
|
|
|
|
|
|
|
public List<String> Values { get; set; }
|
2018-09-11 22:29:36 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|