Quantcast
Channel: Codemiles.com Programming Forums - All Topics
Viewing all articles
Browse latest Browse all 36

Get the important variables of random forest classifier

$
0
0
This example illustrates the extra analysis that random forest can provide for data scientists. In a random forest, we can rank the important features based on the error caused by dropping any of them.

[code2=python] #https://jupyter.org/try
#Demo7 - part2
#M. S. Rakha, Ph.D.
# Post-Doctoral - Queen's University
# Supervised Learning - Random Forest
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt

from mpl_toolkits.mplot3d import Axes3D
import pandas as pd
from
...

Attachments RandomForestImportant.png
RandomForestImportant.png [ 4.4 KiB | Viewed 620 times ]


Statistics : Posted by DrRakha • on Tue Oct 29, 2019 3:22 pm • Replies 0 • Views 620

Viewing all articles
Browse latest Browse all 36

Trending Articles