Skip to content

MapperComplex scikit-learn interfaces does not respect BaseEstimator requirements #1320

Description

@VincentRouvreau

Description

For GridSearchCV (cf. https://scikit-learn.org/stable/modules/generated/sklearn.base.BaseEstimator.html ), MapperComplex scikit-learn interfaces should be able to perform get_params.

Behaviour

from gudhi.cover_complex import MapperComplex
MapperComplex().get_params()
# E           AttributeError: 'MapperComplex' object has no attribute 'colors'

Expected results

MapperComplex().get_params() shall work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions