Skip to content

[REFACTOR] Too many variables in search and fit_pipeline.  #353

Closed
@ravinkohli

Description

@ravinkohli

Why do we need that many variables now?
Most information is in the BaseDataset, isn't it?
Let's try reducing variable numbers as much as possible,
because it will be painful when you create tests and it will increase line numbers and doc-string in many places.

Clean code also says methods with 5 variables should be considered to be re-designed.
Basically, we use an object to wrap those variables in such cases.

Originally posted by @nabenabe0928 in #348 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    fix-laterIssues that have been close for a review later

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions