དཔལ་ལྡན་འབྲུག་གཞུང་། ཤེས་རིག་དང་རིག་རྩལ་གོང་འཕེལ་ལྷན་ཁག།
Department of School Education
Ministry of Education & Skills Development
Online Training for ICT Teachers
24 February 2023
Classes XI & XII ICT Curriculum
Data Science SESSION I
Introduction to Data Science
Why to learn Data Science?
Session Overview
Data Science
Competency
Career
Opportunities
What?
NumPy
Prerequisites
Why
Competency
Present a visual representation of a dataset by applying data analysis modules in a programming language to communicate a message.
What is Data Science?
Extracting Insights
Extracting insights & knowledge from data using scientific methods, algorithms, & systems.
Decision Making
Make predictions, identify patterns, & support decision-making based on data.
Preparation of Data
Collection, cleaning & preparation of data
03
01
02
Why Data Science?
Create predictive models
03
Gain valuable insights
02
High demand for professionals
01
Gain a competitive advantage
04
Career Opportunities
Data Scientist
Data Analyst
BI Analyst
ML Engineer
Prerequisite to learn Data Science
Mathematical skills
Calculus and linear algebra
Statistics
Probability, statistical inference, & hypothesis testing
DBMS & SQL
Basic knowledge of
Data & DBMS
Programming skills
Python or R
Communication skills
Neet to present their findings to non-technical stakeholders
Note: The prerequisites is not compulsory but good if you already have
Hands on Practice - Activity 1 Task 1
Write a Python program to add the marks obtained by four students in two-term examinations which are given in the table below.
Student | Midterm (40) | Annual (60) |
1 | 34 | 45 |
2 | 20 | 19 |
3 | 17 | 35 |
4 | 36 | 45 |
Data Science Part I
Objectives
Generate insights using statistical analysis for the given dataset using NumPy
Explain the advantages of using NumPy in Data Analysis
Perform arithmetic operations on Data using NumPy
Access the element for analysis using NumPy
Content Scope
Array Dimension
Accessing array
Intro to NumPy
What and why NumPy
Array
Creating array using array() method
Mathematical Operation
Statistical Analysis
NumPy prerequisites
Windows user
macOS user
What is NumPy?
1
Library that provides support for large, multi-dimensional arrays and matrices of numerical data
2
Library of mathematical functions
3
Used in scientific and data analysis
4
Used as input and output for other libraries
Terms used in NumPy array
Number of rows and columns in an array - data.shape
Gives the number of element in an array - data.size
Technique to access a particular item
Technique to access a range of values
Shape
Size
Indexing
Slicing
Activity 1 - Task 2
Matrix A describes how many hours Deki, Dorji, and Karma spent on their English, Math, and Dzongkha homework one night. Matrix B describes how many hours they spent the next night. Write a Python program using NumPy to
NumPy methods for Data Analysis
Analysis
std()
var()
min()
max()
ptp()
mean()
median()
Q1()
Q2()
Q3()
Demonstration
Activity 2
According to the Population and Housing Census of Bhutan, 2017, the population of twenty Dzongkhags is as follows
Calculate the following:
Thank you for your time