Question: Build a Random forest classifier for the dataset provided in the link below. Random forest uses two parameters: the tree-depth for each decision tree and

Build a Random forest classifier for the dataset provided in the link below.

Random forest uses two parameters: the tree-depth for each decision tree and the number of trees. Use the following values for the tree-depth: 300,500,600. Use the following values for the number of trees: 200,500,700. Choose the best values of tree-depth and number of trees using 10-fold cross-validation, based on model F1-score.

Link for dataset : http://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones

Use python library for implementation and please put comments for my understanding.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!