NaiveBayes.Classification 1.0.0

Training and classification with  Naive Bayes

Install-Package NaiveBayes.Classification -Version 1.0.0
dotnet add package NaiveBayes.Classification --version 1.0.0
<PackageReference Include="NaiveBayes.Classification" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NaiveBayes.Classification --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

using NaiveBayes;
class Program
{
static List<Document> data= new List<Document>
{
new Document("Rouge", "Fiat"),
new Document("Rouge", "Clio"),
new Document("Jaune", "BMW")
};

    static string test = "BMW";

    static void Main(string[] args)
    {
        var classify = new Classifier(data);
        var result = classify .Probability("Rouge", test);           
        Console.WriteLine("NaiveBayes" + result );
        Console.ReadKey();
    }
}

using NaiveBayes;
class Program
{
static List<Document> data= new List<Document>
{
new Document("Rouge", "Fiat"),
new Document("Rouge", "Clio"),
new Document("Jaune", "BMW")
};

    static string test = "BMW";

    static void Main(string[] args)
    {
        var classify = new Classifier(data);
        var result = classify .Probability("Rouge", test);           
        Console.WriteLine("NaiveBayes" + result );
        Console.ReadKey();
    }
}

Release Notes

Training and classification with  Naive Bayes.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 385 5/14/2018