Constructor
new BisectingKMeansModel(parentModel)
Parameters:
Name |
Type |
Description |
parentModel |
|
a model trained by BisectingKMeans. |
- Source:
Extends
Methods
(static) load(path) → {BisectingKMeansModel}
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
BisectingKMeansModel
(static) read() → {MLReader}
- Source:
Returns:
-
Type
-
MLReader
clusterCenters() → {Array.<Vector>}
- Source:
Returns:
-
Type
-
Array.<Vector>
computeCost(dataset) → {Promise.<number>}
Computes the sum of squared distances between the input points and their corresponding cluster
centers.
Parameters:
- Source:
Returns:
-
Type
-
Promise.<number>
copy(extra) → {BisectingKMeansModel}
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
BisectingKMeansModel
hasParent() → {Promise.<boolean>}
Indicates whether this Model has a corresponding parent.
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<boolean>
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.Estimator
setParent(parent) → {object}
Sets the parent of this model.
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
object
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
module:eclairjs/sql.Dataset
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType
uid() → {Promise.<string>}
An immutable unique ID for the object and its derivatives.
- Source:
Returns:
-
Type
-
Promise.<string>
- Source:
Returns:
-
Type
-
MLWriter