Data Types used in Machine Learning


It represent some sort of quantitative measurement.

for example: Height of a people, stock prices

Discrete Data

Integer based, often counts of something

for example: How many times did I fillip “Heads”?

Continuous Data

Has an infinite no of possible values

for example : How much rain fall on a given day?

Categorical Data

Qualitative Data

For example: Gender, Yes/No, Race etc

you can assign some number to categorical data but they don’t have any mathematical meaning

Ordinal Data

Mixture of numerical and categorical

categorical data has mathematical meaning

For example: Movie rating on a scale of 1–5

Rating must be 1,2,3,4,5

They have mathematical meaning. Like rating 1 movie is worse than rating 2 movie



Want to work as Freelancer, check this out :

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store