EDUCBA

EDUCBA

MENUMENU
  • Explore
    • Lifetime Membership
    • All in One Bundles
    • Fresh Entries
    • Finance
    • Data Science
    • Programming and Dev
    • Excel
    • Marketing
    • HR
    • PDP
    • VFX and Design
    • Project Management
    • Exam Prep
    • All Courses
  • Blog
  • Enterprise
  • Free Courses
  • Login
Home Data Science Data Science Tutorials Machine Learning Tutorial DataSet Example

DataSet Example

Updated March 10, 2023

DataSet Example

Introduction to DataSet Example

The following article provides an outline for DataSet Example. DataSet preferably defined as a collection of data has the data, which is basically over a tabular pattern. Being a part of data management model we can organize the data based on various types and classifications. Datum’s are the value that a dataset over wider and the type of data can be classified on, based on the type we have different DataSet types that can be used to classify and deal with the data then.

Start Your Free Data Science Course

Hadoop, Data Science, Statistics & others

Examples of DataSet

Given below are the examples mentioned:

Example #1

Categorical DataSet

This data sets have categories of the data.

The example shows the category of data that can be divided into Male and Female. This data set can be used for further implementation over the Gender.

Code:

Name,Gender
John,Male
Shyam,Male
Tina,Female
Rhoina,Female
Robert,Male
Marco,Male

Output:

DataSet Example 1

The same dataset example that gives the data as a type of food a person opts it can be either Veg/NonVeg.

Code:

Name,FoodOpt.
John,Veg
Shyam,NVeg
Tina,Veg
Rhoina,NVeg
Robert,Veg
Marco,Veg

Output:

DataSet Example 2

Example #2

Multivariate DataSet

They have multiple variables with them and may have three or more than three types of variables.

Let’s check this by taking the multiple variables like length, breadth and height and calculation the area of it.

Code:

L,B,H,Area
2,2,2,8
3.2,3,5,45
2,6,4,48

The area calculation can be corresponding to l,b,h that are the derived parameters though.

Output:

Multivariate

Example #3

Correlation DataSet

These datasets have some relation with each other, that basically keeps a dependency of the values of that data set over each other. The data can be dependent on them and can be used for analysis.

Here we will try to analyze one data set that is a correlation data set, the one shows the year of birth and the current age of the named person though they are all correlated with each other.

Code:

Name,YOB,CurrentAge
John,1995,26
Shyam,2005,16
Tina,1996,25
Rhoina,2020,1
Robert,1997,24
Marco,2010,11

These are the correlation DataSet.

Output:

Correlation

Example #4

Numerical DataSet

These are the numbered DataSet.

Code:

Name,YOB,CurrentAge
John,1995,26
Shyam,2005,16
Tina,1996,25
Rhoina,2020,1
Robert,1997,24
Marco,2010,11

Output:

Numerical

Example #5

Bivariate DataSet

A data set having the two Variables having a relationship between them can be termed as Bivariate DataSet.

Let’s check the data which determines the percentage, rank and then the status of the data which comes under Bivariate DataSet.

Code:

Name,Percentage,Rank,Status
John,75,3,Pass
Shyam,65,4,Pass
Tina,45,6,Fail
Rhoina,94,1,Pass
Robert,92,2,Pass
Marco,46,5,Fail

Output:

DataSet Example 6

Example #6

File based DataSet

A DataSet is completely stored in a file format in a machine that is categorized under this type.

This format can be of any format starting from ORC, Parquet, Normal Text File.

Output:

File Based

Example #7

DataBase DataSet

This type of dataset is stored within a database. The data is organized into tables and the dataset is stored there.

We will try to see the data that is stored in a table with columns named AlbumID, Title, Artist, Column.

Code:

"AlbumId","Title","ArtistId","Column1"
1,For Those About To Rock We Salute You,1,
2,Balls to the Wall,2,
3,Restless and Wild,2,
4,Let There Be Rock,1,
5,Big Ones,3,
6,Jagged Little Pill,4,
7,Facelift,5,
8,Warner 25 Anos,6,
9,Plays Metallica By Four Cellos,7,
10,Audioslave,8,
11,Out Of Exile,8

Output:

DataSet Example 9

Example #8

Web DataSet

This type of dataset is a collection of data stored from the internet site, it contains web data that is stored.

Code:

WFS dataset .

Example #9

GRAPH DataSet

This type of data set is a Graph Data set where points are plotted to a given point in a graph and the data can be plotted against it.

Output:

DataSet Example 10

Example #10

Spatial DataSet

The DataSet is used to plot the spatial point over the dataset about the shape, location and relationship.

Output:

DataSet Example 11

 

More examples and operations over DataSet:

Finding the Mean, Median, Mode.

{4,5,6,11,6,8}

Mean: Sum of all / total number of elements
42/6 = 7

Median:
4,5,6,6,8,11

Median: 6

Mode: 6

In this way, we can work over a given data set to calculate the Mean, Median, Mode.

Conclusion – DataSet Example

In this article, we saw examples of data set. We tried to understand how basically a data set can be of and the examples mentioned helped us to understand this more precisely. Data Sets can be of various types that categorize the type of data to be used and over this article, we tried to analyze how this data set can be of. This data set is widely used in the industry for the purpose of research and data modelling and categorization of them with the example will help us a lot while working with these data sets.

Recommended Articles

This is a guide to DataSet Example. Here we discuss the introduction and examples of the DataSet for better understanding. You may also have a look at the following articles to learn more –

  1. Machine Learning Datasets
  2. Spark Dataset
  3. Database Security
  4. Teradata Qualify
ADVERTISEMENT
All in One Excel VBA Bundle
500+ Hours of HD Videos
15 Learning Paths
120+ Courses
Verifiable Certificate of Completion
Lifetime Access
ADVERTISEMENT
Financial Analyst Masters Training Program
2000+ Hours of HD Videos
43 Learning Paths
550+ Courses
Verifiable Certificate of Completion
Lifetime Access
ADVERTISEMENT
All in One Data Science Bundle
2000+ Hour of HD Videos
80 Learning Paths
400+ Courses
Verifiable Certificate of Completion
Lifetime Access
ADVERTISEMENT
All in One Software Development Bundle
5000+ Hours of HD Videos
149 Learning Paths
1050+ Courses
Verifiable Certificate of Completion
Lifetime Access
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Database Management
  • Machine Learning
  • All Tutorials
Certification Courses
  • All Courses
  • Data Science Course - All in One Bundle
  • Machine Learning Course
  • Hadoop Certification Training
  • Cloud Computing Training Course
  • R Programming Course
  • AWS Training Course
  • SAS Training Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2023 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Data Science Course

Hadoop, Data Science, Statistics & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

🚀 Extended Cyber Monday Price Drop! All in One Universal Bundle (3700+ Courses) @ 🎁 90% OFF - Ends in ENROLL NOW