Neighbors
Extends:
Estimator → Classifier → Neighbors
Direct Subclass:
Base class for neighbors-based classifiers such as KNN
Member Summary
Public Members | ||
public |
training: {"X": *, "y": *} |
Method Summary
Public Methods | ||
public |
train(X: *, y: *) |
Inherited Summary
From class Estimator | ||
public abstract |
Make a prediction for a data set. |
|
public abstract |
Train the supervised learning algorithm on a dataset. |
Public Members
public training: {"X": *, "y": *} source
Public Methods
public train(X: *, y: *) source
Train the supervised learning algorithm on a dataset.
Override:
Estimator#trainParams:
Name | Type | Attribute | Description |
X | * | ||
y | * |