3. Why Orange?
Open Source
Component based
No programming
Data visualization
Platform independent software
Allows clustering and classification
Data mining through visual programming
and python scripting
Introduction
Orange is component based visual
programing software for data mining.
machine learning and data analysis
Supports communication between data
scientists and domain experts.
You can get orange software from this link:
https://orange.biolab.si/getting-started/
3
7. Dataset: Heart Disease
ATTRIBUTES
● Narrowing diameter
● Cholesterol
● Chest pain
● Rest ECG
● Fasting blood sugar
● Max HR
● Age,gender and more
. 7
● Has 303 instances
● 13 attributes
● Categorical class with 2
values (0,1)
● In .csv format
● Source: pre loaded
datasets of Orange.
.
8. ● Age: heart disease increases with age greater than 65
● Fatty deposits called plaques also collect along your artery walls
● Slow the blood flow from the heart
● Causing coronary heart diseases.
● Gender: Heart disease is leading cause of death for both men and women.
8
Dataset: How following factors cause
Heart Disease?
9. ● Aangina: is chest pain or discomfort caused when your heart muscle doesn't
get enough oxygen-rich blood.
● Cholesterol: When there is too much cholesterol in your blood.
● it builds up in the walls of your arteries
● causing a process called atherosclerosis(heart disease),
● Diameter Narrowing:
● Heart disease is caused by the narrowing or blockage of the coronary arteries.
● Target attribute (0,1)
9
18. KNN(k nearest neighbor)
18
KNN is non-parametric method used for classification and regression.
Requires three things
The set of stored records.
Distance Metric to compute distance between records.
The value of k, the number of nearest neighbors to retrieve Unknown record
Math equation: d(p,q) = √Σ(pi – 𝒒𝒊)𝟐
23. Decision tree
23
Used to visually and explicitly represent decisions and decision making.
predictive modelling approaches used in:
statistics, data mining and machine learning
)(log)( 2
1
i
m
i
i ppDEntropy
31. Naïve Baye's
31
Also known as Naive Bayes Classifiers.
Attributes are statistically independent on one another.
Unlike other classifiers for a given class
There will be some correlation between features.
Explicitly models the features as conditionally independent given the class.
P(H|X) =
P(X|H)(P H
)𝑃(𝑋
36. Random Forest
36
It is a flexible and simple
Random Forest algorithm avoid the over fitting problem.
Used for identifying the most important features from the training dataset.
It can be used for both classification and regression tasks.
41. Logistic Regression
41
Used to assign observations to a discrete set of classes.
Logistic regression can be binomial, ordinal or multinomial.
Binary (Pass/Fail)
Multi (Cats, Dogs, Sheep)
Ordinal (Low, Medium, High)
Can view probability scores underlying the model’s classifications.
45. Neural Network
45
Neural networks is learning algorithms.
Interpret sensory data
Through a kind of machine perception, labeling or clustering raw input.
Consist of different layers for analyzing and learning data.
Math equation :
f(X)=b+∑iwixi