Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(5+7) (0.01*4) (5+123) (0+5) 2. [10 pts] Spark Decision Tree Classification and Evaluation - Input Data: daily_weather.esv with missing value removed - Binarize the 'max_wind_speed_9am'

(5+7)
(0.01*4)
(5+123)
(0+5) image text in transcribed
2. [10 pts] Spark Decision Tree Classification and Evaluation - Input Data: daily_weather.esv with missing value removed - Binarize the 'max_wind_speed_9am' column such that days with 9-am max wind speed greater than (x6+7 ) are Windy days (Class 1 ), and otherwise Non-windy days (Class 0) - Predict the Windy/Non-windy days by using a decision tree classifier with the following parameters - 4 Input Features: ['air_pressure_9am', 'ar_temp_9am', 'relative_humidity_9am, 'rain_accumulation_9am'] - Train-test split: 0.8+(0.01x7) for training with a random seed of (x6+123) - Maximum depth of the tree: (x5+5) - For other parameters not specified above, feel free to set your own values - Question: What is the True Positive Rate of the test data? - CANVAS Submission: Upload the file below to Assignment Section "Final Section 2: Q2". - Python notebook (.ipynb) file with answer to the question in a Text cell of the .ipynb file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 Tsukuba Japan April 2010 Proceedings Part 1 Lncs 5981

Authors: Hiroyuki Kitagawa ,Yoshiharu Ishikawa ,Wenjie Li ,Chiemi Watanabe

2010th Edition

3642120253, 978-3642120251

More Books

Students also viewed these Databases questions

Question

Develop clear policy statements.

Answered: 1 week ago

Question

Draft a business plan.

Answered: 1 week ago

Question

Describe the guidelines for appropriate use of the direct plan.

Answered: 1 week ago