Class SelectiveSamplingWinnow
Constructors
constructor
- new SelectiveSamplingWinnow(b: number, alpha?: boolean): SelectiveSamplingWinnow
Parameters
- b: number
Optional
alpha: boolean
Properties
_alpha
_alpha: boolean
_b
_b: number
_w
_w: any[]
Methods
fit
- fit(x: (-1 | 1)[][], y: (-1 | 1)[]): void
Parameters
- x: (-1 | 1)[][]
- y: (-1 | 1)[]
Returns void
predict
- predict(data: (-1 | 1)[][]): (-1 | 1)[]
Returns (-1 | 1)[]
Predicted values
Selective sampling Winnow