Skip to content

LogisticGAM not usable with GridSearchCV #482

@Mudassiruddin7

Description

@Mudassiruddin7

Two things were missing: classes_ attribute (set on fit) and decision_function() (returns log-odds, i.e. the linear predictor). Many sklearn meta-estimators check for these before deciding how to handle a classifier. Also fixed predict() to return int instead of bool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions