0% found this document useful (0 votes)
17 views2 pages

Data Science

Uploaded by

rnmuddassar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Data Science

Uploaded by

rnmuddassar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Data Science& Machine Learning

Course

Lecture No. 1

What is data Science


Data science is an interdisciplinary field that focuses on extracting insights and knowledge from data
through a combination of statistical analysis, machine learning, data processing, and data visualization.

Real-World Example:

Let's consider a simple example of a company that sells products online. The company wants to know
which products are most popular among its customers and which products are likely to be purchased
together

To answer this question, the company can use data science techniques to analyze its sales data. Here's a
step-by-step example of how data science can be applied in this scenario:

1. Data Collection: The company collects data on its sales, including the products sold, the quantity
sold, and the price of each product.

2. Data Cleaning: The company cleans the data to remove any errors or inconsistencies.

3. Data Analysis: The company uses data analysis techniques, such as clustering and association
rule mining, to identify patterns in the data.

4. Insight Generation: The company generates insights from the data, such as which products are
most popular and which products are likely to be purchased together.

5. Decision Making: The company uses the insights generated from the data to make informed
decisions, such as which products to stock more of and which products to promote together.

Supervised Learning
supervised learning is like teaching a computer how to do something by showing it examples.

In supervised learning, model learns from labeled training data.

Example

E-mail spam detection.


Step 1 data collection: labeled data provides to a system

Step 2 training: 80% train trains as that email is spam that is not certain keywords like free, congrats,
limited time offer, hurry up etc.
Step 3 testing: 20% testing classifies kr paa rha hai ke nahi yeh email spam or yeh not spam hai.
Algorithms:

Classification
goal is to assign input data to predefined categories or classes. Algorithms like K- Nearest Neighbors,
Logistics Regression, Decision trees, Support vector machines, Neural networks are commonly used for
classification tasks.

Regression

goal is to predict a numerical value based on inputs features. Algorithms like linear regression,
polynomial regression, and various type of regression trees are used to regression tasks.
if size of house is increase than price is also increases.

You might also like