mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-09 15:23:40 -05:00
Silly question: LabelEncoder #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @knosing on GitHub (Nov 23, 2022).
While creating the
LabelEncoderclass, I couldnt understand whyreturn selfin class methodfit(self,y)?My understanding is that when we call this method, the object variables are updated so no need for self?
Please correct me if I'm wrong, just trying to reason myself with each step of the code.
@knosing commented on GitHub (Nov 23, 2022):
I got it, for method chaining this is a standard form.
Anyways, thanks a lot for this course. Learning a lot of new things!
@GokuMohandas commented on GitHub (Nov 25, 2022):
Hey @knosing, I apologize for delay (outside of the country this month). But yup you got it and glad you're enjoying the material! I should have some major additions (and standardizations as the space matures) by March/April next year so look out for those updates!