sklite 1.0.0 sklite: ^1.0.0 copied to clipboard
Porting Scikit-Learn models to Flutter
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sklite
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sklite: ^1.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:sklite/SVM/SVM.dart';
import 'package:sklite/base.dart';
import 'package:sklite/ensemble/forest.dart';
import 'package:sklite/naivebayes/naive_bayes.dart';
import 'package:sklite/neighbors/neighbors.dart';
import 'package:sklite/neural_network/neural_network.dart';
import 'package:sklite/pipeline/pipeline.dart';
import 'package:sklite/tree/tree.dart';
import 'package:sklite/utils/exceptions.dart';
import 'package:sklite/utils/io.dart';
import 'package:sklite/utils/mathutils.dart';