Docsity

data science - notes, Study notes of Data Mining

Toggle sidebar
bg1
Q1. Differences between structured and unstructured
data
Ans. 1 Structured Data
Unstructured Data
Organized in rows and columns
No predefined format
Stored in databases
Stored as text, images, videos, etc.
Easy to search and analyze
Difficult to process directly
Example: Customer records
Example: Emails, social media
posts
Q2. What are APIs and how are they used in data collection?
Ans.2 API (Application Programming Interface) allows different software systems to
communicate.
Uses in data collection:
Retrieve data from websites and applications.
Access real-time data.
Automate data gathering.
Integrate multiple data sources.
Example: Collecting tweets from X/Twitter API or weather data from a weather API.
Q3. Challenges associated with data storage and management
1. Large volume of data.
2. Data security and privacy.
3. Data quality issues.
4. Scalability requirements.
5. Backup and disaster recovery.
6. Integration of heterogeneous data sources.
Q4. How does the Central Limit Theorem (CLT) relate to data analysis?
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download data science - notes and more Study notes Data Mining in PDF only on Docsity!

Q1. Differences between structured and unstructured data Ans. 1 Structured Data (^) Unstructured Data Organized in rows and columns No predefined format Stored in databases Stored as text, images, videos, etc. Easy to search and analyze Difficult to process directly Example: Customer records Example: Emails, social media posts Q2. What are APIs and how are they used in data collection? Ans.2 API (Application Programming Interface) allows different software systems to communicate. Uses in data collection:  Retrieve data from websites and applications.  Access real-time data.  Automate data gathering.  Integrate multiple data sources. Example: Collecting tweets from X/Twitter API or weather data from a weather API. Q3. Challenges associated with data storage and management

  1. Large volume of data.
  2. Data security and privacy.
  3. Data quality issues.
  4. Scalability requirements.
  5. Backup and disaster recovery.
  6. Integration of heterogeneous data sources. Q4. How does the Central Limit Theorem (CLT) relate to data analysis?

Ans 4 - The CLT states that the sampling distribution of the sample mean approaches a normal distribution as the sample size increases, regardless of the population distribution. Importance:  Enables statistical inference.  Supports hypothesis testing.  Helps estimate population parameters. Q5. What is the data science process? Ans. 5 - The Data Science Process is a systematic approach to extracting insights and knowledge from data. Stages:

  1. Business Understanding
  2. Data Collection
  3. Data Cleaning
  4. Exploratory Data Analysis (EDA)
  5. Feature Engineering
  6. Model Building
  7. Model Evaluation
  8. Deployment
  9. Monitoring and Maintenance Q6. Briefly describe all the stages Ans6 Briefly describe all the stages
  10. Business Understanding Identify the problem and objectives.
  11. Data Collection Gather data from databases, APIs, surveys, sensors, etc.
  12. Data Cleaning

Challenges in Data Collection

  1. Missing Data Some records contain null values. Solution: Mean/Median Imputation Delete missing records
  2. Duplicate Data Same record appears multiple times. Solution: Remove duplicates.
  3. Data Inconsistency Example: "Male", "male", "M" Solution: Standardization Data Privacy Sensitive information may be exposed. Solution: Encryption Access Control Sampling Bias Data does not represent the population. Solution: Random Sampling Q8. How does Bokeh compare to other visualization tools?  Creates interactive visualizations.  Supports zooming, panning, and hover tools.  Integrates well with Python.  Suitable for web-based dashboards. Q9. Different sources of data in data science

Sources

  1. Databases
  2. Data warehouses
  3. APIs
  4. Social media platforms
  5. Sensors and IoT devices
  6. Surveys and questionnaires
  7. Web scraping
  8. Government and public datasets Effective Utilization  Validate data quality.  Integrate multiple sources.  Maintain proper documentation.  Use data governance practices.  More interactive than Matplotlib but less extensive than Plotly in some advanced features. Ethical and legal considerations in data science Ethical Considerations  Privacy protection  Fairness and bias reduction  Transparency  Accountability  Responsible AI usage Legal Considerations  Data protection laws

Solutions:  Data cleaning  Validation checks  Standardization  Deduplication  Automated quality monitoring 10(c) How can data be explored and analyzed to identify issues? Methods:

  1. Summary statistics.
  2. Data visualization.
  3. Correlation analysis.
  4. Outlier detection.
  5. Missing-value analysis. Best Practices:  Validate data regularly.  Use automated cleaning tools.  Maintain documentation.  Apply consistency checks.  Monitor quality continuously. 11(a) How can cloud computing and big data platforms facilitate data collection and management? Cloud Computing:  Scalable storage.  On-demand resources.

 Global accessibility.  Cost efficiency.  Backup and recovery. Big Data Platforms:  Process massive datasets.  Real-time analytics.  Distributed computing.  Faster data processing. Examples:  Amazon Web Services (AWS)  Microsoft Azure  Google Cloud  Apache Hadoop  Apache Spark 11(b) Benefits and Challenges of These Technologies Benefits:

  1. Scalability.
  2. Flexibility.
  3. Cost savings.
  4. Faster processing.
  5. Better collaboration.
  6. Real-time analytics.
  7. Improved reliability.
  8. Enhanced disaster recovery. Challenges: