Model.to_draft
Model.to_draft()
Create a model draft from the current model. From this draft you can edit the
config and dataset properties to set up for a new iteration of training.
Parameters:
None
Returns:
Examples:
Get an already created model by name and get a new draft for iteration, then set new config on draft.
import yaml
with open("~/{path to file}/improved_model_config.yaml", 'r') as f:
config=yaml.safe_load(f)
model = pc.get_model('Titanic Model')
draft = model.to_draft()
draft.config = config