×

### Let's log you in.

or

Don't have a StudySoup account? Create one here!

×

or

## Machine Learning

by: Lindsey Lakin Jr.

96

0

2

# Machine Learning CS 678

Lindsey Lakin Jr.
GVSU
GPA 3.89

Gregory Wolffe

These notes were just uploaded, and will be ready to view shortly.

Either way, we'll remind you when they're ready :)

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

COURSE
PROF.
Gregory Wolffe
TYPE
Class Notes
PAGES
2
WORDS
KARMA
25 ?

## Popular in ComputerScienence

This 2 page Class Notes was uploaded by Lindsey Lakin Jr. on Saturday September 26, 2015. The Class Notes belongs to CS 678 at Grand Valley State University taught by Gregory Wolffe in Fall. Since its upload, it has received 96 views. For similar materials see /class/214370/cs-678-grand-valley-state-university in ComputerScienence at Grand Valley State University.

×

## Reviews for Machine Learning

×

×

### What is Karma?

#### You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 09/26/15
Developing a Decision Tree Problem Suppose you wish to develop a decision tree that can be used to answer the question Is today a good day to wind surf Observations training data The ID3 algorithm 1 Determine the root node of the decision tree by choosing the attribute of the training data that maximizes the information gain 0 Use the formula for Entropy k EntropyS E Z p logz P 11 where S is the collection of examples k is the number of categories and p is the ratio of the x N cardinality of category 139 to the cardinality of S as in p 0 Then use the formula for Information Gain SV Sl GainS a EntropyS Z vvalu2a EntropySV where valuesa is the set of all possible values for attribute a and SV is the subset of set S for which attribute a has value v 1 Begin with the entire set of training examples S D1 D14 Set er 9 Entropy S 8 6 985 a V Wind Weak Strong Set er 9 Entropy SWeak 2 4 8 Sgtmng 6 2 81 1 Gain s Wind 985 614916 814811 128 b V Water Cold Moderate Warm Set er 9 Entropy Seold 1 3 81 1 SModerate 4 2 91 8 SWarm 3 1 81 l Gain s Water 985 414811 614918 414811 128 c V Air Cool Warm Set er 9 Entropy SCool 3 4 SWarm 5 2 Gain s Air 985 714952 714863 078 d V Forecast Rainy Cloudy Sunny Set er 9 Entropy SRainy 1 4 SCloudy 1 O O ssunny 6 2 81 1 Gain S Forecast 985 514722 114O 814811 264 The Forecast attribute maximizes Information Gain and is chosen as the root node leading to the following initial Decision Tree Examples are then sorted down the tree accordingly Rainy Clo dy 12789111213 3 45631014 Yes

×

×

### BOOM! Enjoy Your Free Notes!

×

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

## Why people love StudySoup

Steve Martinelli UC Los Angeles

#### "There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."

Jennifer McGill UCSF Med School

#### "Selling my MCAT study guides and notes has been a great source of side revenue while I'm in school. Some months I'm making over \$500! Plus, it makes me happy knowing that I'm helping future med students with their MCAT."

Bentley McCaw University of Florida

#### "I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Parker Thompson 500 Startups

#### "It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION POLICY

All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email support@studysoup.com

#### STUDYSOUP REFUND POLICY

StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here: support@studysoup.com

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to support@studysoup.com