Update the state of first argument to have learned or fit from second argument.
fit(vps, dframe, ..., weights = NULL, parallelCluster = NULL)
| vps | vtreat pipe step, object specifying fit |
|---|---|
| dframe | data.frame, data to fit from. |
| ... | not used, forces later arguments to bind by name. |
| weights | optional, per-dframe data weights. |
| parallelCluster | optional, parallel cluster to run on. |
new fit object
Note: input vps is not altered, fit is in returned value.