ml_naive_bayes 1.0.0
ml_naive_bayes: ^1.0.0 copied to clipboard
A simple and production-ready Naive Bayes classifier implemented in pure Dart.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ml_naive_bayesWith Flutter:
$ flutter pub add ml_naive_bayesThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ml_naive_bayes: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ml_naive_bayes/ml_naive_bayes.dart';