ExtraTreesClassifier using Scikit-Learn
HTML-код
- Опубликовано: 30 сен 2024
- 𝐄𝐱𝐭𝐫𝐚𝐓𝐫𝐞𝐞𝐬𝐂𝐥𝐚𝐬𝐬𝐢𝐟𝐢𝐞𝐫 is a supervised machine learning algorithm. It is a type of ensemble learning technique which fits a number of randomized decision trees (i.e., extra trees) on various sub-samples of the dataset. It contributes to reducing the variance of the model and results in less overfitting.
𝗚𝗶𝘁𝗛𝘂𝗯 𝗮𝗱𝗱𝗿𝗲𝘀𝘀: github.com/ran...
𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁 𝘁𝗶𝗺𝗲𝘀𝘁𝗮𝗺𝗽𝘀:
01:04 - Import required libraries
02:23 - Load 𝐈𝐨𝐧𝐨𝐬𝐩𝐡𝐞𝐫𝐞 dataset
04:51 - Perform preprocessing
06:27 - Separate features and classes
07:12 - Split the dataset
08:16 - Apply 𝐄𝐱𝐭𝐫𝐚𝐓𝐫𝐞𝐞𝐬𝐂𝐥𝐚𝐬𝐬𝐢𝐟𝐢𝐞𝐫
10:16 - Plot 𝐜𝐨𝐧𝐟𝐮𝐬𝐢𝐨𝐧_𝐦𝐚𝐭𝐫𝐢𝐱
15:12 - Print 𝐜𝐥𝐚𝐬𝐬𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧_𝐫𝐞𝐩𝐨𝐫𝐭
18:11 - Plot a tree
18:24 - Feature importance
#sklearn #extratreesclassifier #machinelearning #datascience #pythonprogramming #jupyternotebook #ionospheredataset #supervisedclassification #supervisedlearning