predict.CRF {hana.ml.r} | R Documentation |
Similar to other predict methods, this function predicts fitted values from a fitted CRF object.
## S3 method for class 'CRF' predict(model, data, used.cols = NULL, thread.ratio = NULL)
model |
|
data |
|
used.cols |
In case (2), "xxx", "yyy" and "zzz" must be the column data of document ID, word position
and word respectively. |
thread.ratio |
|
S3
methods
DataFrame
Prediction result, structured as follows:
- 1st column: document ID,
- 2nd column: word position,
- 3rd column: label.