- Preparing search index...
- The search index is not available
WebSHAP
Constructors
constructor
- new IrisLinearBinary(coef: number[], intercept: number): IrisLinearBinary
-
Parameters
-
coef: number[]
-
intercept: number
Properties
intercept
intercept: number
Methods
predict
- predict(xs: number[][]): (1 | 0)[]
-
Returns (1 | 0)[]
predictProba
- predictProba(xs: number[][]): number[]
-
Returns number[]
A logistic regression model for Iris dataset.