Skip to content

Can't use the verbose=2 argument #93

Closed
@Draichi

Description

@Draichi

Hello,

Following the documentation, it shows that we can use the verbose argument when training:

Training logs can be shown during training with the verbose=2 argument, or after training with model.describe(). This is useful for debugging and understanding the training process.

But when I follow the example I get this error:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[4], [line 1](vscode-notebook-cell:?execution_count=4&line=1)
----> [1](vscode-notebook-cell:?execution_count=4&line=1) model = ydf.GradientBoostedTreesLearner(label="income").train(train_ds, verbose=2)

TypeError: train() got an unexpected keyword argument 'verbose'

Am I doing something wrong or is there a problem in the documentation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions