public class Word2VecParametersV3 extends ModelParametersSchema
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
checkpoint
Model checkpoint to resume training with
|
int |
epochs
Number of training iterations to run
|
FoldAssignmentScheme |
fold_assignment
Cross-validation fold assignment scheme, if fold_column is not specified
|
ColSpecifierV3 |
fold_column
Column with cross-validation fold index assignment per observation
|
boolean |
ignore_const_cols
Ignore constant columns
|
java.lang.String[] |
ignored_columns
Ignored columns
|
float |
initLearningRate
Set the starting learning rate
|
boolean |
keep_cross_validation_predictions
Keep cross-validation model predictions
|
int |
minWordFreq
This will discard words that appear less than
|
java.lang.String |
model_id
Destination id for this model; auto-generated if not specified
|
int |
negSampleCnt
Number of negative examples, common values are 3 - 10 (0 = not used)
|
int |
nfolds
Number of folds for N-fold cross-validation
|
NormModel |
normModel
Use Hierarchical Softmax or Negative Sampling
|
ColSpecifierV3 |
offset_column
Offset column
|
ColSpecifierV3 |
response_column
Response column
|
boolean |
score_each_iteration
Whether to score during each iteration of model training
|
float |
sentSampleRate
Set threshold for occurrence of words.
|
StoppingMetric |
stopping_metric
Metric to use for early stopping (AUTO: logloss for classification, deviance for regression)
|
int |
stopping_rounds
Early stopping based on convergence of stopping_metric.
|
double |
stopping_tolerance
Relative tolerance for metric-based stopping criterion Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
|
java.lang.String |
training_frame
Training frame
|
java.lang.String |
validation_frame
Validation frame
|
int |
vecSize
Set size of word vectors
|
ColSpecifierV3 |
weights_column
Column with observation weights
|
int |
windowSize
Set max skip length between words
|
WordModel |
wordModel
Use the continuous bag of words model or the Skip-Gram model
|
| Constructor and Description |
|---|
Word2VecParametersV3() |
public int vecSize
public int windowSize
public float sentSampleRate
public NormModel normModel
public int negSampleCnt
public int epochs
public int minWordFreq
public float initLearningRate
public WordModel wordModel
public java.lang.String model_id
public java.lang.String training_frame
public java.lang.String validation_frame
public int nfolds
public boolean keep_cross_validation_predictions
public ColSpecifierV3 response_column
public ColSpecifierV3 weights_column
public ColSpecifierV3 offset_column
public ColSpecifierV3 fold_column
public FoldAssignmentScheme fold_assignment
public java.lang.String[] ignored_columns
public boolean ignore_const_cols
public boolean score_each_iteration
public java.lang.String checkpoint
public int stopping_rounds
public StoppingMetric stopping_metric
public double stopping_tolerance