About Lesson
✅ Link to GitHub Repository of this course: https://github.com/AammarTufail/six-months_python_for_data_science-mentorship-program
Join the conversation
![](https://codanics.com/wp-content/uploads/2024/04/IMG_16954467347071342.jpg)
https://www.kaggle.com/muhammadrameez242 , ye meri kaggle ki I'd hai yha par Ap mukamal assignments simple roman urdu mein mill jai gi codes mein
Reply
![](https://codanics.com/wp-content/uploads/2023/11/IMG_20231108_165512-removebg-preview.jpg)
https://dreampuf.github.io/GraphvizOnline/ . this is the online previewer for dot files
Reply
![](https://codanics.com/wp-content/uploads/2023/10/e24e3cc0-f9cd-49cc-9e5e-e7fea619bd42.jpg)
I have done this video with 100% practice.
Reply
![](https://codanics.com/wp-content/uploads/2024/05/My_profile_pic.jpg)
I have done this lecture with 100% practice.
Reply
![](https://codanics.com/wp-content/uploads/2024/02/2.jpg)
The main point is that when we remove the alive column the model performs well and graph representation becomes better.
Reply
![](https://codanics.com/wp-content/uploads/2023/10/9dd24f5a-b137-440a-baba-1855925152a0.jpg)
I also learned in this lecture how to code a decision tree algorithm for classification in PythonSteps of DECISION TREE in Python1-Import libraries
2-Load the data set of TITANIC
3-Drop the deck column
4-Impute missing values of age, and fare using median
5-Impute missing values of embark and embarked_town using the mode
6- Encode the categorical and object variables using for loop and label encoder
7-Split the data into X and y
8-Split the data into train and tests.
9-Create and train the model with prediction
10-Predict the model
11-Evaluate the model
12-Save the decision tree classifierALLAH PAK aap ko sahat o aafiat wali lambi umar ata kray aor ap ko dono jahan ki bhalian naseeb farmaey,Ameen.
Reply