Data Science
Data Science
Course
Lecture No. 1
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.
Example
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.