Love_AI_World

Love_AI_World

Share

Photos from Love_AI_World's post 04/09/2022

Magic Methods in Python Operator overloading - The method automatically gets called when an operator is used in an expression called operator overloading and those methods are magic methods.

Magic methods are a set of functions in the Python programming language, which can be used to solve problems that cannot be solved with other Python constructs.

The following is a list of magic methods:

· __init__(self) - this method is called when an instance of the class is created.

· __str__(self) - this method returns a string representation of an object.

· __repr__(self) - this method returns the representation of an object in its canonical form.

Other points are coming soon....
👉 𝐅ollow & 𝐒upport...💙🤍
for more initiative contents...

                                                       

Photos from Love_AI_World's post 23/08/2022

One of the important points while selecting features for training the ML model -

Pick any variable as the feature for model training which shows high discrimination. Suppose we have a target variable then we will see the features whose categories will show the discrimination for the target variable. If any category in the feature shows very high discrimination while others are not showing and the count of that category is very less then we will ignore that feature because in that case model can be biased towards that category
Other points are coming soon....
👉 𝐅ollow & 𝐒upport...💙🤍
for more initiative contents...

                                                       

Want your business to be the top-listed Computer & Electronics Service in Dabra?
Click here to claim your Sponsored Listing.

Address


Dabra