Back to Browse

Decision Tree in Python using Scikit-Learn | Tutorial | Machine Learning

11.5K views
Apr 1, 2021
16:04

How to create a Decision Trees model in Python using Scikit Learn. The tutorial will provide a step-by-step guide for this. Problem Statement from Kaggle: https://www.kaggle.com/c/santander-customer-transaction-prediction/ Code on Github: https://github.com/harsh1kumar/learning/blob/master/machine_learning/santander_trxn_prediction/01_trxn_pred_tree.ipynb Code on Kaggle: https://www.kaggle.com/harsh1kumar/santander-trxn-pred-tree Timestamp: 00:00 - Introduction 01:17 - Read training csv data 02:36 - Split data into train and validation Datasets 03:45 - Create a simple decision tree 06:52 - Find optimal number of leaf nodes 08:24 - k-fold cross-validation 12:55 - Create the final model 14:16 - Find predictions for test data

Download

0 formats

No download links available.

Decision Tree in Python using Scikit-Learn | Tutorial | Machine Learning | NatokHD