Constructor
new BisectingKMeansModel(parentModel)
Parameters:
Name |
Type |
Description |
parentModel |
|
a model trained by BisectingKMeans. |
- Source:
Extends
Methods
clusterCenters() → {Array.<Vector>}
- Source:
Returns:
-
Type
-
Array.<Vector>
computeCost(dataset) → {number}
Computes the sum of squared distances between the input points and their corresponding cluster
centers.
Parameters:
- Source:
Returns:
-
Type
-
number
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/clustering.BisectingKMeansModel
hasParent() → {boolean}
- Inherited From:
- Source:
Returns:
-
Type
-
boolean
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/clustering.BisectingKMeansModel
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.Estimator
- Source:
Returns:
-
Type
-
module:eclairjs/ml/util.MLReader
setParent(parent) → {object}
Sets the parent of this model.
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
object
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
DataFrame
Parameters:
- Overrides:
- Source:
Returns:
-
Type
-
module:eclairjs/sql/types.StructType
- Source:
Returns:
-
Type
-
module:eclairjs/ml/util.MLWriter