Cluster Analysis and Data Mining: An Introduction by R.S. King

Cluster Analysis and Data Mining: An Introduction by R.S. King

Author:R.S. King
Language: eng
Format: epub
Tags: Cluster Analysis and Data Mining: An Introduction
ISBN: 9781938549380
Publisher: Mercury Learning and Information
Published: 2014-10-12T16:00:00+00:00


Then P(x|buy_computer = No) = (3/7)(1/5)(4/5)(2/5) = 0.0274

P(x|buy_computer = Yes) = P(Age is x = 30|buy_computer = Yes) *

P(Income = Medium|buy_computer = Yes) *

P(Student = No|buy_computer = Yes) *

P(Credit_rating = Fair|buy_computer = Yes)

P(x|buy_computer = Yes) = (1/8)(3/8)(1/8)(4/8) = 0.0293

P(x|buy_computer = No) P(buy_computer = No) = (0.0274)(5/13) = 0.0105

P(x|buy_computer = Yes) P(buy_computer = Yes) = (0.0293)(8/13) = 0.018

Then P(buy_computer = No|x) ≤ P(buy_computer = Yes|x) implies that x is assigned to the class buy_computer = Yes.

Note that in this problem instance all the attributes were categorical. For each continuous attribute A in a data set for an NBC, simply implement a set of labels for the continuous values. Place one ordinal value per label. By assuming the data is normally distributed, which allows the use of the sample mean and standard deviation as estimates for the population mean and standard deviation, the P(the jth attribute value |C) can be found.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.