Skip to content

Fitting refactor : supplementary and categorical input#223

Open
ouakouak wants to merge 1 commit into
MaxHalford:masterfrom
ouakouak:fit-coords-and-supp
Open

Fitting refactor : supplementary and categorical input#223
ouakouak wants to merge 1 commit into
MaxHalford:masterfrom
ouakouak:fit-coords-and-supp

Conversation

@ouakouak
Copy link
Copy Markdown

This first PR enables users to pass categorical features as attributes of the class, and also introduces support for supplementary variables in the fit method.

At the moment, users are essentially required to explicitly specify categorical features, as no automatic type detection has been implemented yet. We could consider adding such a feature later if needed.

Regarding supplementary variables, I have only added the necessary preprocessing step and passed them as arguments to super().fit.

Apart from that, the rest of the implementation remains unchanged, aside from some renaming of attributes. All previously implemented parts (except for the initial preprocessing before the call to super().fit) have simply been adapted to the new distinction between active attributes.
For now, supplementary variables are fitted but not fully integrated into the downstream computations.

Also added a small description to the class but can be modified or improved if needed.

…tive and supplementary. Force to input categorical columns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant