Skip to content

Automatically search for categorical variables #137

Closed

Description

@ZlaTanskY

This can be done automatically instead of having to calculate them again and again to send them as keywords.

Activity

  1. patrickleonardy commented on Dec 6, 2022

    @patrickleonardy
    Contributor

    @ZlaTanskY How exactly do you want to calculate that automatically?

    I thought about automatically assigning String variables and each variable that has less unique values than a certain threshold, but by doing this the user would afterwards always have to verify if those assumptions are correct considering the data at hand.
    Do you have an other idea in mind how this could be implemented ?

    Or did you mean to put the data in a data object that defines continuous_vars, discrete_vars and target_column_name once as attributes and functions that use this object can just go and automatically look it up ?

  2. sandervh14 commented on Dec 23, 2022

    @sandervh14
    Contributor

    Hey @patrickleonardy, I seem to remember discussing this earlier with Jano and think it was the first thing.

    The approach is really the one you wrote, and actually we thought of just taking the code that we now often write in our tutorials, we just thought it to be stupid that each and everyone of us needs to repeat that code on every case when most of the time these data type assumptions end up correctly and no corrections are needed.

    To be sure, you could make Cobra throw a warning like "Assumed continuous variable type for the variables [...]. Assumed categorical variable type for the variables [...]."

    Regards and see you later!

  3. added this to the 2023-03 milestone on Mar 9, 2023
  4. modified the milestones: 2023-03, on Apr 7, 2023
  5. modified the milestones: , 2023-05 on May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions