Classes
Methods
(async) cluster(options)
Perform clustering on the SOM
.Perform clustering on the SOM
Parameters:
| Name | Type | Description | 
|---|---|---|
| options | Object | Clustering options | 
(async) createInstance(options)
Create a new VSOM instance
.Create a new VSOM instance
Parameters:
| Name | Type | Description | 
|---|---|---|
| options | Object | Instance options | 
(async) createSOM(config)
Create a new SOM instance
.Create a new SOM instance
Parameters:
| Name | Type | Description | 
|---|---|---|
| config | Object | SOM configuration | 
(async) generateSampleData(count)
Generate sample data for testing
.Generate sample data for testing
Parameters:
| Name | Type | Default | Description | 
|---|---|---|---|
| count | number | 50 | Number of sample entities to generate | 
(async) getFeatureMaps(options)
Get feature maps
.Get feature maps
Parameters:
| Name | Type | Description | 
|---|---|---|
| options | Object | Query options | 
(async) getGridState(options)
Get the current SOM grid state
.Get the current SOM grid state
Parameters:
| Name | Type | Description | 
|---|---|---|
| options | Object | Query options | 
(async) getTrainingStatus()
Get training status
.Get training status
(async) loadData(data)
Load data into VSOM
.Load data into VSOM
Parameters:
| Name | Type | Description | 
|---|---|---|
| data | Object | Data to load | 
(async) stopTraining()
Stop ongoing training
.Stop ongoing training
(async) train(data, options)
Train the SOM with data
.Train the SOM with data
Parameters:
| Name | Type | Description | 
|---|---|---|
| data | Array | Training data | 
| options | Object | Training options |