Closed Draichi closed 1 month ago
From this documentation, it seems you set verbose
globally:
save_verbose = ydf.verbose(0) # Hide all logs
learner = ydf.RandomForestLearner(label="label")
model = learner.train(pd.DataFrame({"feature": [0, 1], "label": [0, 1]}))
ydf.verbose(save_verbose) # Restore verbose level
The verbose
train arguments has been introduced in https://github.com/google/yggdrasil-decision-forests/commit/2b3e21cbdf2892d3c3aa531ee3caa6376f0e00b1
It will be available in the next YDF release.
Hello,
Following the documentation, it shows that we can use the
verbose
argument when training:But when I follow the example I get this error:
Am I doing something wrong or is there a problem in the documentation?