Constructor
new IDFModel()
- Source:
Extends
Methods
(static) load(path) → {IDFModel}
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
IDFModel
(static) read() → {MLReader}
- Source:
Returns:
-
Type
-
MLReader
copy(extra) → {IDFModel}
Parameters:
- Source:
Returns:
-
Type
-
IDFModel
idf() → {Vector}
Returns the IDF vector.
- Source:
Returns:
-
Type
-
Vector
save(path) → {Promise.<Void>}
Saves this ML instance to the input path, a shortcut of `write.save(path)`.
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Inherited From:
- Source:
Returns:
A Promise that resolves to nothing.
-
Type
-
Promise.<Void>
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Source:
Returns:
-
Type
-
IDFModel
setOutputCol(value) → {IDFModel}
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Source:
Returns:
-
Type
-
IDFModel
Parameters:
- Source:
Returns:
-
Type
-
Dataset
Parameters:
Name |
Type |
Description |
schema |
StructType
|
|
- Source:
Returns:
-
Type
-
StructType
- Overrides:
- Source:
Returns:
-
Type
-
MLWriter