Constructor
new NGram(uid)
Parameters:
Name |
Type |
Description |
uid |
string
|
|
- Source:
Extends
Methods
(static) load(path) → {NGram}
Parameters:
Name |
Type |
Description |
path |
string
|
|
- Source:
Returns:
-
Type
-
NGram
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.UnaryTransformer
getN() → {Promise.<number>}
- Source:
Returns:
-
Type
-
Promise.<number>
Minimum n-gram length, >= 1. Default: 2, bigram features
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.IntParam
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.UnaryTransformer
Parameters:
Name |
Type |
Description |
value |
number
|
|
- Source:
Returns:
-
Type
-
module:eclairjs/ml/feature.NGram
Parameters:
Name |
Type |
Description |
value |
string
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml.UnaryTransformer
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/sql.DataFrame
Parameters:
- Inherited From:
- 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>