LinearSVC class

Inheritance

Constructors

LinearSVC(List coef, List intercept, List classes)
To manually instantiate the LinearSVC. The parameters are lifted directly from scikit-learn. See the attributes here: https://scikit-learn.org/stable/modules/generated/sklearn.svm.LinearSVC.html
LinearSVC.fromMap(Map<String, dynamic> params)
factory

Properties

classes List
getter/setter pair
coef List
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
intercept List
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromURL(String url) → dynamic
Override in all classes extending Classifier. Load a model from a URL using an HTTP request @TODO
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
predict(List<double> X) int
Implementation of sklearn.svm.LinearSVC.predict.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited