Ba Lab Manual

Download as pdf or txt
Download as pdf or txt
You are on page 1of 85

Approved by AICTE, Affiliated to Anna University, Chennai.

ISO 9001:2015 Certified Institution, Accredited by NBA (BME, CSE, ECE, EEE, IT & MECH),
Accredited by NAAC with ‘A’ Grade (3.49 / 4 scale)
#42, Avadi -Vel Tech Road, Avadi, Chennai- 600062, Tamil Nadu, India.

DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND DATA SCIENCE

191ITV13 / BUSINESS ANALYTICS LAB

NAME :

REGISTERNO :

ROLLNO :

BRANCH :B.Tech-Artificial Intelligence and Data Science

YEAR III

SEMESTER V

DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND DATA SCIENCE


Vision
 To promote centre of excellence through effectual Teaching and Learning, imparting the
contemporary knowledge centric education through innovative research in multidisciplinary fields.
Mission
 To impart quality technical skills through practicing, knowledge updating in recent technology and produce
professionals with multidisciplinary and leadership skills.
 To promote innovative thinking for design and development of software products of varying complexity with
intelligence to fulfill the global standards and demands.
 To inculcate professional ethics among the graduates and to adapt the changing technologies through lifelong
learning.
Approved by AICTE, Affiliated to Anna University, Chennai.
ISO 9001:2015 Certified Institution, Accredited by NBA (BME, CSE, ECE, EEE, IT & MECH),
Accredited by NAAC with ‘A’ Grade (3.49 / 4 scale)
#42, Avadi - Vel Tech Road, Avadi, Chennai- 600062, Tamil Nadu, India.

CERTIFICATE

Name…………………….………………………..................Year:……………Semester:…………...
Branch: B.TECH–ARTIFICIAL INTELLIGENCE AND DATA SCIENCE University Register
No………….. ............ College Roll No: Certified that this is the bonafide record of

Work done by the above student in the 191ITV13 – BUSINESS ANALYTICS LABORATORY
during the academic year 2023-2024.

Signature of Course Incharge Signature of Head of the Department

Submitted for the End Semester Practical Examination held on ........................ at VELTECH MULTITECH
Dr.RANGARAJAN Dr.SAKUNTHALA ENGINEERING COLLEGE, No.42, AVADI–VELTECH
ROAD, AVADI, CHENNAI-600062.

Signature of Examiners

Internal Examiner:…………… External Examiner:………………

Date:………………
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND DATA SCIENCE

PROGRAMME EDUCATIONAL OBJECTIVES (PEOs)

PEOs PROGRAMME EDUCATIONAL OBJECTIVES (PEOs)

Train the graduates with the potential of strong knowledge in the respective field
PEO1 and to create innovative multidisciplinary solutions for challenges in the society

Groom the engineers to understand, analyse different nature of data and use
PEO2 Machine Learning techniques to develop software systems with varying
complexity for data intensive applications

To practice professionalism among the graduates and reflect good leadership


PEO3 skills with ethical standards and continued professional development through
lifelong learning.

PROGRAMME SPECIFIC OUTCOMES (PSOs)

PSO’s PROGRAMME SPECIFIC OUTCOMES (PSOs)

To impart theoretical knowledge in the respective field along with recent


PSO1
industrial tools and techniques to solve societal problems

Apply the core competency obtained in the field of Machine Learning for
PSO2 analysis, design and development of computing systems for multi-disciplinary
problems

Acquire knowledge in the field of intelligence, deep learning and develop


PSO3
software solutions for security and analytics of large volume of data.
DEPARTMENT OF ARTIFICIAL INTELLIGENCE AND DATA SCIENCE

POs Programme Outcomes (POs)

Engineering Knowledge: Apply knowledge of mathematics, science, engineering fundamentals and


PO1 an Engineering Specialization to the solution of complex engineering problems.

Problem Analysis: Identify, formulate, review research literature and analyze complex
PO2 engineering problems reaching substantiated conclusions using first principles of mathematics, natural
sciences, and engineering sciences.
Design / Development of solutions: Design solutions for complex engineering problems and design
PO3 system components or processes that meet specified needs with appropriate consideration for public
health and safety, cultural, societal, and environmental considerations.
Conduct Investigations of Complex Problems: Use research-based knowledge and research methods
PO4 including design of experiments, analysis and interpretation of data, and synthesis of the information to
provide valid conclusions.
Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
PO5 engineering and IT tools including prediction and modeling to complex engineering activities with an
understanding of the limitations.
The Engineer and Society: Apply reasoning informed by the contextual knowledge to assess societal,
PO6 health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional
engineering practice.
Environment and sustainability: Understand the impact of the professional engineering solutions in
PO7 societal and environmental contexts, and demonstrate the knowledge of, and need for
sustainable development.
Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the
PO8 engineering practice.

Individual and team work: Function effectively as an individual, and as a member or leader in diverse
PO9 teams, and in multidisciplinary settings.

Communication: Communicate effectively on complex engineering activities with the engineering


PO10 community and with society at large, such as, being able to comprehend and write effective reports and
design documentation, make effective presentations, and give and receive clear instructions.

Project Management and Finance: Demonstrate knowledge and understanding of the engineering and
PO11 management principles and apply these to one’s own work, as a member and leader in a team, to manage
projects and in multidisciplinary environments.

Life-long learning: Recognize the need for, and have the preparation and ability to engage in
PO12
independent and life-long learning in the broadest context of technological change.
LIST OF EXPERIMENTS
COURSE OBJECTIVES

The student should be made to:


 Understand the Analytics Life Cycle.
 Comprehend the process of acquiring Business Intelligence
 Understand various types of analytics for Business Forecasting
 Model the supply chain management for Analytics.
 Apply analytics for different functions of a business

Exercise:

Use MS-Excel and Power-BI to perform the following experiments using a business data set,
and make presentations.
Students may be encouraged to bring their own real-time socially relevant data set.

I Cycle – MS Excel
1. Explore the features of Ms-Excel.
2. (i) Get the input from user and perform numerical operations (MAX, MIN, AVG,
SUM, SQRT, ROUND)
ii) Perform data import/export operations for different file formats.
3. Perform statistical operations - Mean, Median, Mode and Standard deviation,
Variance, Skewness, Kurtosis
4. Perform Z-test, T-test & ANOVA
5. Perform data pre-processing operations i) Handling Missing data ii) Normalization
6. Perform dimensionality reduction operation using PCA, KPCA & SVD
7. Perform bivariate and multivariate analysis on the dataset.
8. Apply and explore various plotting functions on the data set.

II Cycle – Power BI Desktop


9. Explore the features of Power BI Desktop
10. Prepare & Load data
11. Develop the data model
12. Perform DAX calculations
13. Design a report
14. Create a dashboard and perform data analysis
15. Presentation of a case study

COURSEOUTCOMES

At the end of the course, the student should be able to

Course
Outcome CO Statements
CO1 Analyze the real world business problems and model with analytical solutions
CO2 Identify the business processes for extracting Business Intelligence
CO3 Use predictive analytics for business fore-casting
CO4 Apply analytics for supply chain and logistics management
CO5 Make use of analytics for marketing and sales
Mapping CO's with PO's & PSO’s

Course

PSO1
PSO2
PSO3
PO10

PO11

PO12
PO 1

PO 2

PO 3

PO 4

PO 5

PO 6

PO 7

PO 8

PO 9
Outcome

CO1 2 2 1 - - - - - 1 2 1 1 3 2 1

CO2 3 3 3 2 - - - - 1 2 - - 3 1 2

CO3 2 2 2 1 - - - - 3 1 1 3 3 1 2

CO4 2 2 1 1 - 2 2 2 3 3 2 1 1 3 1

CO5 2 2 2 1 - 2 2 2 3 3 1 3 3 1 1

CO 2 2 2 1 - 2 2 2 3 3 2 3 3 2 2

1 –Low 2 – Medium 3 – High


lOM oARcPSD|27848569

Table of Contents

FACULTY
S.NO DATE LIST OF EXPERIMENTS CO PAGE NO SIGN

I Cycle – MS Excel

01-09-23 Explore the features of Ms-Excel. CO1, CO2


1
(i) Get the input from user and perform
2 numerical operations (MAX, MIN, CO2
01-09-23 AVG, SUM, SQRT, ROUND)
ii) Perform data import/export operations
for different file formats.
3 Perform statistical operations - Mean, CO3
01-09-23
Median, Mode and Standard deviation,
Variance, Skewness, Kurtosis
4 01-09-23 Perform Z-test, T-test & ANOVA CO3

Perform data pre-processing operations


5 i)Handling Missing data CO3, CO4
01-09-23
ii) Normalization
Perform dimensionality reduction
6 operationusing PCA, KPCA & SVD CO4
23-12-23

Perform bivariate and multivariate analysis


7 23-12-23 onthe dataset. CO1, CO4

Apply and explore various plotting functions


8 23-12-23 CO4
onthe data set.
II Cycle – Power BI Desktop

Explore the features of Power BI Desktop CO1, CO2


9 26-12-23
10 26-12-23 Prepare & Load data CO2

11 26-12-23 Develop the data model CO2, CO3


12 26-12-23 Perform DAX calculations CO2, CO3
13 26-12-23 Design a report CO2, CO3
14 Create a dashboard and perform data analysis CO2, CO3
26-12-23
15 Presentation of a case study CO2, CO3
26-12-23
lOM oARcPSD|27848569

2
EX NO: 1
Explore the Features of MS-EXCEL
DATE :

AIM:

To explore the features of MS-EXCEL

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office


Step 2 : Enter text or a number in a cell
Step 3 : Change the width of a column
Step 4 : Enter And Edit Formula in Excel
Step 5: Wrap text in a cell
Step 6 : Enter And Edit Formula in Excel
Step 7 : Perform Auto fill and custom fill In Excel
Step 8 : Save the file in desired location
Step 9 : Close the Ms Excel application

Features of MS-EXCEL:

Parts of MS-Excel window:


lOM oARcPSD|27848569

3
The following are the features of MS Excel:

1. Graphical Features of Excel

Excel offers a lot of graphical features for presenting data in graphs and pictures:

o Charts: Charts can be used to represent the data in richly detailed graphical format..

o Shapes: We can use a variety of shapes to depict data in info graphics


and shapes. With the help of the free form features we can draw any
shape.

o Pictures: Any image can be inserted to enhance the objects. For


example, backgroundsof Worksheets, shapes, and charts.

2. Functional Features of Excel

Excel Tools and Features assist us in performing complex calculations and


enhancing the Excelapplication's features.

o Functions: - In Excel Cells, more than 300 built-in formulas are


available (Text, Date, Maths, String, etc.), which may be used to
execute multiple computations.

o Hyperlinks: - We use hyperlinks in Excel to navigate the different parts


of the workbookfast..

o Add-ins: - We may develop Excel Add-ins using VBA or.NET to


progress thefunctionality of the spreadsheet.
3. Database Feature of Excel

Excel may be used to create databases and carry out a variety of data processing operations.
.
o Tables: We can group the rows and columns using parent and child
records. This willmake it easier to conduct additional research rapidly.
o Grouping: With parent and child records, we can group the rows and columns.

o Sorting: In Excel, we can sort the data. We can sort the data in
Ascending or Descending order with one or more than one column.
o Filtering: The data can be filtered in Excel. In order to filter with
essential options, we can set a verity of the option. In Excel, there is an
option of Advanced Filtering, which allows us to perform more complex
filters.
o Data Validations: We can use the Data validation functionality to
restrict the types of data that can be entered into a cell. We can also
lOM oARcPSD|27848569

4
provide a drop-down menu where we can choose from a pre-defined list
of options.

Features of Excel 2007

The following are the features of Excel 2007:

o Ribbon Menu: Excel 2007 added the ribbon menu, giving it a more
modern look and feel.
o More Rows and Columns: This feature expands the number of records
and fields stored in each spreadsheet.

o Themes and Styles: With the help of this feature, we can easily switch
from one colour scheme to another.
o Open XML: Excel 2007 introduced the feature of Open XML file structure.
o Formulas, Charts, and PivotTables have been improved, and new
features have beenadded.

Features of Excel 2010

Slicers and Sparklines are two of Excel 2010's most essential new features:

o Slicers: PivotTable Slicers in Excel allow us to filter several


PivotTables with a singleclick.
o Sparklines: With the Sparkline feature, we can now make
dashboards with graphs inCells.
o Excel 2010 comes with Mobile Excel for Windows 7 and a plethora of
new performanceenhancements.

Features of Excel 2013

Excel was known as MDI (Multiple Document Interface) until 2010, but it
is now known as SDA (Single Document Application). Excel 2013 boasts a
more polished and modern appearance along with many more performance
features.

o In Excel 2013, there are various quick tools for charts.


o Quick Data Analysis Tools were added to Excel 2013.
o Excel 2013 adds a new start screen feature.
o The ribbon menu has been enhanced and is now equivalent to the
application menu in Windows 8/10.
o Excel 2013 has improved Graphics and Picture Quality.
o In Excel 2013, many additional colour schema xml files have been added.
lOM oARcPSD|27848569

5
Features of Excel 2016

The appearance of Excel 2016 is identical to that of Excel 2013.

o In Excel 2016, Pen is added so that we can draw the shapes.


o New Charts: Sunburst, Histograms, Waterfall, and Pareto Charts.
o Icons: New command that permits us to browse among the office icons
and insert ready-to-use vector icons.
o Scalable Vector Graphics: In Excel 2016, we can insert SVGs in Excel.

Result:
The features of MS-EXCEL explored successfully and displayed desired output in neat
format.
lOM oARcPSD|27848569

EX NO: 2a Numerical Operations


(MAX, MIN, AVG, SUM, SQRT, ROUND)
DATE :

AIM:
To implement Numerical Operations using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.

Step 3 : Calculate the Maximum of the given marks using max function.

Step 4 : Calculate the Minimum of the given marks using MIN function.
Step 5: Calculate the average of the given marks using average function.
Step 6 : Calculate the sum of the given marks using sum function.
Step 7 : Calculate the square root of the given mark using SQRT function.
Step 8 : Calculate the Round of the given mark using Roundup function.
Step 9 : Display the desired output of all numerical operation in neat format.
Step 10 : Save the excel file and Close the Ms Excel application.

Input Data set:


Finding Maximum of the given marks
lOM oARcPSD|27848569

7
Finding Minimum of the given marks

Finding average of the given marks


lOM oARcPSD|27848569

8
Finding sum of the given marks

Finding SQRT of the given marks


lOM oARcPSD|27848569

9
Finding Round of the given marks

OUTPUT:

Result:
The numerical operations were implemented using MS-EXCEL successfully and the
desired output was displayed.
lOM oARcPSD|27848569

10

EX NO: 2b
Perform data import/export operations for different file
DATE :
formats

AIM:
To perform data import/export operations for different file formats using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.
Step 3 : Save the excel file.

Step 4 : Export the file into CSV file using file menu and export option.
Step 5: Next , import CSV file using data menu and get data option.
Step 6 : Display the desired output in neat format.
Step 7 : Save the excel file and Close the Ms Excel application.

Process:
Data Import/Export Operations for Different File Formats

Excel can import and export many different file types aside from the standard .xslx format. If
your data is shared between other programs, like a database, you may need to save data as a
different file type or bring in files of a different file type.

EXPORT DATA

When you have data that needs to be transferred to another system, export it from Excel in a
format that can be interpreted by other programs, such as a text or CSV file.

1. Click the File tab.

2. At the left, click Export.


3. Click the Change File Type.
4. Under Other File Types, select a file type.
o Text (Tab delimited): The cell data will be separated by a tab.
o CSV (Comma delimited): The cell data will be separated by a comma.
o Formatted Text (space delimited): The cell data will be separated by a space.
o Save as Another File Type: Select a different file type when the Save As
dialog box appears.
lOM oARcPSD|27848569

11

The file type you select will depend on what type of file is required by the program that
will consume the exported data.

5. Click Save As.

6. Specify where you want to save the file.


7. Click Save.

A dialog box appears stating that some of the workbook features may be lost.

8. Click Yes.

OUTPUT FOR EXPORTING THE FILE


lOM oARcPSD|27848569

12

Import Data

Excel can import data from external data sources including other files, databases, or web pages.

1. Click the Data tab on the Ribbon..


2. Click the Get Data button.

Some data sources may require special security access, and the connection process can
often be very complex. Enlist the help of your organization’s technical support staff for
assistance.

3. Select From File.


4. Select From Text/CSV.

If you have data to import from Access, the web, or another source, select one of those
options in the Get External Data group instead.

5. Select the file you want to import.


6. Click Import.

If, while importing external data, a security notice appears saying that it is connecting
to an external source that may not be safe, click OK.
lOM oARcPSD|27848569

13

7. Verify the preview looks correct.

Because we've specified the data is separated by commas, the delimiter is already set. If
you need to change it, it can be done from this menu.

8. Click Load.
lOM oARcPSD|27848569

14

OUTPUT FOR IMPORT THE FILE:

Result:
The data import/export operations for different file formats were preformed successfully
using MS-EXCEL.
lOM oARcPSD|27848569

15

EX NO: 3 PERFORM STATISTICAL OPERATIONS


[Mean, Median, Mode and Standard Deviation,
DATE : Variance, Skewness, Kurtosis]

AIM:
To Perform statistical operations using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.
Step 3 : If you haven't already installed the Analysis ToolPak , Click the Microsoft
Office button, then click on the Excel Options , and then select Add-Ins ,
Click Go, check the Analysis ToolPak box, and click Ok
Step 4 : Select Data tab, then click on the Data Analysis option, then selects
Descriptive Statistics from the list and Click Ok. [Data tab >> Data
Analysis >> Descriptive Statistics]
Step 5: In the Input Range we select the data, and then select Output Range where
you want the output to be stored. If you don’t specify the output range it
will throw output in the new worksheet.
Step 6 : Check Summary Statistics and Confidence Level for Mean options. By
default the confidence level is 95%. You can change the level as per the
hypothesis standard of study.

Step 7 : When you click Ok, you will see the result in the selected output range.
Step 8: Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

16

EX NO: 3 PERFORM STATISTICAL OPERATIONS

Click this and


press ok
button

Now Data analysis


tab added, now
click on
lOM oARcPSD|27848569

17

Now select this


option and press ok

Now select this


data range

Now select this data


lOM oARcPSD|27848569

18

Now select the any cell for


output range to be
displayed

Now select this option and


press ok
lOM oARcPSD|27848569

19

OUTPUT:

Result:
The statistical operations were performed successfully using MS-EXCEL and the desired output was
displayed in neat format.
lOM oARcPSD|27848569

20

EX NO: 4A
Perform Z-test
DATE :

AIM:
To Perform Z-test operations using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.
Step 3 : If you haven't already installed the Analysis ToolPak , Click the Microsoft
Office button, then click on the Excel Options , and then select Add-Ins ,
Click Go, check the Analysis ToolPak box, and click Ok
Step 4 : Select Data tab, then click on the Data Analysis option, then selects
Descriptive Statistics from the list and Click Ok. [Data tab >> Data
Analysis >>z-test two sample means]
Step 5: In the Input Range we select range of the data for variable 1 and variable 2
and Give variable 1 and variable 2 value as 0.5. then select Output Range
where you want the output to be stored. If you don’t specify the output range
it will throw output in the new worksheet.
Step 6 : Then select Output Range where you want the output to be stored. If you
don’t specify the output range it will throw output in the new worksheet.
Step 7 : When you click Ok, you will see the result in the selected output range.
Step 8: Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

21

EX NO: 4A - Perform Z-test

(1)Now
select
this
data
range

(3)Now select the any


cell
for output range to be
displayed

(3) Now give


values above
1
lOM oARcPSD|27848569

22

OUTPUT:

Result:
The Z-test operation was performed successfully using MS-EXCEL and the desired
output was displayed in neat format.
lOM oARcPSD|27848569

23

EX NO: 4B
Perform T-test
DATE :

AIM:
To Perform T-test operations using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.

Step 3 : If you haven't already installed the Analysis ToolPak , Click the Microsoft
Office button, then click on the Excel Options , and then select Add-Ins ,
Click Go, check the Analysis ToolPak box, and click Ok
Step 4 : Select Data tab, then click on the Data Analysis option, then selects
Descriptive Statistics from the list and Click Ok. [Data tab >> Data
Analysis >> T-test Paired two sample for means]
Step 5: In the Input Range we select range of the data for variable 1 and variable
2 and Give alpha value as 0.05. then select Output Range where you want
the output to be stored. If you don’t specify the output range it will throw
output in the new worksheet.
Step 6 : Then select Output Range where you want the output to be stored. If you
don’t specify the output range it will throw output in the new worksheet.
Step 7 : When you click Ok, you will see the result in the selected output range.
Step 8: Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

24

EX NO: 4 B Perform T-test

(1)Now select
this data
range

(2)Now select the any cell


for output range to be
displayed
lOM oARcPSD|27848569

25

OUTPUT:

Result:
The T-test operation was performed successfully using MS-EXCEL and the desired
output was displayed in neat format.
lOM oARcPSD|27848569

26

EX NO: 4C
Perform ANOVA operations
DATE :

AIM:
To Perform ANOVA operations using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.
Step 3 : If you haven't already installed the Analysis ToolPak , Click the Microsoft
Office button, then click on the Excel Options , and then select Add-Ins ,
Click Go, check the Analysis ToolPak box, and click Ok
Step 4 : Select Data tab, then click on the Data Analysis option, then selects
Descriptive Statistics from the list and Click Ok. [Data tab >> Data
Analysis >> Anova : Single factor ]
Step 5: In the Input Range we select range of the data and Give alpha value as 0.05.
then select Output Range where you want the output to be stored. If you
don’t specify the output range it will throw output in the new worksheet.
Step 6 : Then select Output Range where you want the output to be stored. If you
don’t specify the output range it will throw output in the new worksheet.
Step 7 : When you click Ok, you will see the result in the selected output range.
Step 8: Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

27

EX NO: 4C - Perform ANOVA

(1)Now select
this data
range

(2)Now select the NEW


WORKSHEET for output to
be displayed
lOM oARcPSD|27848569

28

OUTPUT:

Result:
The ANOVA operations was performed successfully using MS-EXCEL and the desired
output was displayed in neat format.
lOM oARcPSD|27848569

29

EX NO: 5A
Perform data pre-processing operations –
DATE : HandlingMissing data

AIM:
To handle the missing data in data pre-processing operations on the dataset using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.

Step 3 : If you haven't already installed the PrimaXL Addin, install it. Click the
PrimaXL tab , choose missing
Step 4 : In the Input Range we select marks of all subjects with missing values and
select the Choice as “filling of the missing data by taking average” or ”
filling of the missing data by random pick”.
Step 5: Then select Output Range where you want the output to be stored. If you don’t
specify the output range it will throw output in the new worksheet.
Step 6 : Then select Output Range where you want the output to be stored. If you
don’t specify the output range it will throw output in the new worksheet.
Step 7 : When you click Ok, you will see the result in the selected output range.
Step 8: Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

30

EX NO: 5A Perform data pre-processing operations - Handling Missing data

Choose
primalXL

Choose
missing
values
lOM oARcPSD|27848569

31
lOM oARcPSD|27848569

32

OUTPUT:

Result:
The missing data on dataset was handled successfully using MS-EXCEL and the desired output was
displayed in neat format.
lOM oARcPSD|27848569

33

EX NO: 5A
Perform data pre-processing
DATE : operations -Normalization

AIM:
To normalize in the given dataset using MS-EXCEL.
Normalization (Or Min-Max scaling) data in excel

It is the process of scaling data in such a way that all data points lie in a range of 0 to 1.
Thus, this technique, makes it possible to bring all data points to a common scale. The
mathematical formula for normalization is given as:

where X is the data point, Xmax and Xmin are the maximum and minimum value in the group of
records respectively. The process of normalization is generally used when the distribution of
data does not follow the Gaussian distribution.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for sales data in Ms Excel application.
Step 3 : Find maximum and minimum values of given data set.
Step 4 : Calculate the difference between maximum and minimum values
Step 5: Apply the normalization formula using maximum value, minimum value and
difference value.
Step 6 : Find the best value of the normalized data.
Step 7 : Display the normalized data in desired format .
Step 8: Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

34

EX NO: 5A Perform data pre-processing operations - Normalization

OUTPUT:

RESULT:
The given dataset was normalized using MS-EXCEL and the desired output was
displayed in neat format.
lOM oARcPSD|27848569

35

EX NO: 6 Perform dimensionality reduction


DATE : operationusing PCA, KPCA & SVD

AIM:
To Perform dimensionality reduction operation using PCA, KPCA & SVD

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Open XLSTAT . Select the XLSTAT / Analyzing data / Principal
components analysis command. The Principal Component Analysis dialog
box will appear.
Step 3 : Select the data on the Excel sheet.
Step 4 : Select Observations/variables in the Data format field because of the
format of the input data and Select Correlation in the PCA type field.
Step 5: In the Outputs tab, activate the option to display significant correlations in
bold characters (Test significancy).
Step 6 : In the Charts tab, in order to display the labels on all charts, and to display all
the observations (observations charts and biplots), uncheck the filtering
option.
Step 7 : If there is a lot of data, displaying the labels might slow down the global
display of the results. Displaying all the observations might make the results
unreadable. In these cases, filtering the observations to display is
recommended
Step 8: Click OK to launch the computations.
Step 7 : Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

36

EX NO: 6 Perform dimensionality reduction operation


using PCA, KPCA & SVD

OUTPUT :

RESULT:
The given dataset was performed dimensionality reduction operation using PCA,
KPCA & SVD and the desired output was displayed in neat format.
lOM oARcPSD|27848569

37

EX NO: 7a
PERFORM BIVARIATE ANALYSIS ON THE DATASET
DATE :

AIM:
To Perform bivariate analysis on the dataset using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.
Step 3 : If you haven't already installed the Analysis ToolPak , Click the Microsoft
Office button, then click on the Excel Options , and then select Add-Ins ,
Click Go, check the Analysis ToolPak box, and click Ok
Step 4 : Select Data tab, then click on the Data Analysis option, then selects
Descriptive Statistics from the list and Click Ok. [Data tab >> Data
Analysis >>]
Step 5: In the Input Range we select quantity as x range and discount as y range
then select Output Range where you want the output to be stored. If you don’t
specify the output range it will throw output in the new worksheet.
Step 6 : Then select Output Range where you want the output to be stored. If you
don’t specify the output range it will throw output in the new worksheet.
Step 7 : When you click Ok, you will see the result in the selected output range.
Step 8: Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

38

EX NO: 7A - PERFORM BIVARIATE ANALYSIS

Select quantity as x range


and discount as y range
lOM oARcPSD|27848569

39

Select any cell for output


range to display output and
press OK
lOM oARcPSD|27848569

40

OUTPUT:

Result:
The bivariate analysis on dataset was performed successfully using MS-EXCEL and
the desired output was displayed in neat format.
lOM oARcPSD|27848569

41

EX NO: 7b
PERFORM MULTIVARIATE ANALYSIS ON THE DATASET
DATE :

AIM:
To Perform multivariate analysis on the dataset using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.
Step 3 : If you haven't already installed the Analysis ToolPak , Click the Microsoft
Office button, then click on the Excel Options , and then select Add-Ins ,
Click Go, check the Analysis ToolPak box, and click Ok
Step 4 : Select Data tab, then click on the Data Analysis option, then selects
Descriptive Statistics from the list and Click Ok. [Data tab >> Data
Analysis >>]
Step 5: In the Input Range we Select quantity as x range and discount and profit as y
range , then select Output Range where you want the output to be stored. If you
don’t specify the output range it will throw output in the new worksheet.
Step 6 : Then select Output Range where you want the output to be stored. If you
don’t specify the output range it will throw output in the new worksheet.
Step 7 : When you click Ok, you will see the result in the selected output range.
Step 8: Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

42

EX NO: 7b - PERFORM MULTIVARIATE ANALYSIS

Select quantity as x range and


discount and profit as y range
lOM oARcPSD|27848569

43

Select any cell for output


range to display output and
press OK

OUTPUT:

Result:
The multivariate analysis on the dataset was performed successfully using MS-EXCEL
and the desired output was displayed in neat format.
lOM oARcPSD|27848569

44

EX NO: 8
PLOTTING FUNCTIONS ON THE DATA SET
DATE :

AIM:
To apply and explore various plotting functions on the data set using MS-EXCEL.

PROCEDURE:

Step 1 : Start Ms Excel application in Ms- office.


Step 2 : Create datasheet for student marks in Ms Excel application.
Step 3 : select the data for which a chart is to be created.
Step 4 : In the INSERT menu, select Recommended Charts.
Step 5 : Choose any chart from the list of charts Excel recommends for your data on the
Recommended Charts tab, and click it to preview how it will look with your data.
Step 6 : lick on All Charts if you are unable to locate a chart you like.
Step 7 : Click on the chart that you prefer and then click OK.
Step 8 : Add chart elements such as axis titles or data labels, customize the appearance of
the chart, or change the data displayed in the chart by clicking on Chart Elements,
Chart Styles, and Chart Filters in the upper−right corner of the chart.
Step 9 : Click on the chart TOOLS tab on the ribbon to add additional design and formatting
capabilities and then click the options you desire under the DESIGN and FORMAT
tabs.
Step 10: When you click Ok, you will see the result in the selected output range.
Step 11 : Save the excel file and Close the Ms Excel application.
lOM oARcPSD|27848569

45

OUTPUT:

RESULT:
The plotting functions was applied and explored on the data set successfully using
MS-EXCEL and the desired output was displayed in neat format.
lOM oARcPSD|27848569

46
lOM oARcPSD|27848569

47

EX NO: 9 Explore the features of Power BI Desktop


DATE :

AIM:

To explore the features of Power BI Desktop

PROCEDURE:

Step 1 : Start Power BI Desktop


Step 2 : Connect to data.
Step 3 : Transform and clean data to create a data model.

Step 4 : Create visuals, such as charts or graphs that provide visual representations of
the data.
Step 5: Create reports that are collections of visuals on one or more report pages.

Step 6 : Share reports with others by using the Power BI service.


Step 7 : Save the file in desired location
Step 8 : Close the Power BI Desktop application

Explore the features of Power BI Desktop

What is Power BI Desktop?

Power BI Desktop is a free application you install on your local computer that lets you connect
to, transform, and visualize your data. With Power BI Desktop, you can connect to multiple
different sources of data, and combine them (often called modeling) into a data model. This
data model lets you build visuals, and collections of visuals you can share as reports, with other
people inside your organization. Most users who work on business intelligence projects use
Power BI Desktop to create reports, and then use the Power BI service to share their reports
with others.
lOM oARcPSD|27848569

48
The most common uses for Power BI Desktop are as follows:

 Connect to data.
 Transform and clean data to create a data model.
 Create visuals, such as charts or graphs that provide visual representations of the
data.
 Create reports that are collections of visuals on one or more report pages.
 Share reports with others by using the Power BI service.

People who are responsible for such tasks are often considered data analysts (sometimes
referred to as analysts) or business intelligence professionals (often referred to as report
creators). Many people who don't consider themselves an analyst or a report creator use Power
BI Desktop to create compelling reports, or to pull data from various sources. They can build
data models, and then share the reports with their coworkers and organizations.

Important

Power BI Desktop is updated and released on a monthly basis, incorporating customer


feedback and new features. Only the most recent version of Power BI Desktop is supported;
customers who contact support for Power BI Desktop will be asked to upgrade to the most
recent version. You can get the most recent version of Power BI Desktop from the Windows
Store, or as a single executable containing all supported languages that you download and
install on your computer.

There are three views available in Power BI Desktop, which you select on the left side of the
canvas. The views, shown in the order they appear, are as follows:

 Report: You create reports and visuals, where most of your creation time is spent.
 Data: You see the tables, measures, and other data used in the data model
associated with your report, and transform the data for best use in the report's
model.
 Model: You see and manage the relationships among tables in your data model.

The following image shows the three views, as displayed along the left side of the canvas:
lOM oARcPSD|27848569

49
Connect to data

To get started with Power BI Desktop, the first step is to connect to data. There are many
different data sources you can connect to from Power BI Desktop.

To connect to data:

1. From the Home ribbon, select Get Data > More.

The Get Data window appears, showing the many categories to which Power BI
Desktop can connect.

2. When you select a data type, you're prompted for information, such as the URL and
credentials, necessary for Power BI Desktop to connect to the data source on your behalf.
lOM oARcPSD|27848569

50
3. After you connect to one or more data sources, you may want to transform the
data so it's useful for you.

Transform and clean data, create a model

In Power BI Desktop, you can clean and transform data using the built-in Power Query Editor.
With Power Query Editor, you make changes to your data, such as changing a data type,
removing columns, or combining data from multiple sources. It's like sculpting: you start with a
large block of clay (or data), then shave off pieces or add others as needed, until the shape of the
data is how you want it.

To start Power Query Editor:

 On the Home ribbon, in the Queries section, select Transform data.

The Power Query Editor window appears.

Each step you take in transforming data (such as renaming a table, transforming a data type, or
deleting a column) is recorded by Power Query Editor. Every time this query connects to the
data source, those steps are carried out so that the data is always shaped the way you specify.

The following image shows the Power Query Editor window for a query that was shaped, and
turned into a model.
lOM oARcPSD|27848569

51

Once your data is how you want it, you can create visuals.

Create visuals

After you have a data model, you can drag fields onto the report canvas to create visuals. A
visual is a graphic representation of the data in your model. There are many different types of

visuals to choose from in Power BI Desktop. The following visual shows a simple column
chart.

To create or change a visual:

 From the Visualizations pane, select the Build visual icon.


lOM oARcPSD|27848569

52

If you already have a visual selected on the report canvas, the selected visual changes to the type
you selected.

If no visual is selected on the canvas, a new visual is created based on your selection.

Create reports

More often, you'll want to create a collection of visuals that show various aspects of the data
you've used to create your model in Power BI Desktop. A collection of visuals, in one Power
BI Desktop file, is called a report. A report can have one or more pages, just like an Excel file
can have one or more worksheets.

With Power BI Desktop you can create complex and visually rich reports, using data from
multiple sources, all in one report that you can share with others in your organization.

In the following image, you see the first page of a Power BI Desktop report, named Overview,
as seen on the tab near the bottom of the image.

Share reports

After a report is ready to share with others, you can publish the report to the Power BI service,
and make it available to anyone in your organization who has a Power BI license.
lOM oARcPSD|27848569

53
To publish a Power BI Desktop report:

1. Select Publish from the Home ribbon.

Power BI Desktop connects you to the Power BI service with your Power BI
account.

2. You're prompted to select where in the Power BI service you'd like to share the
report. For example, your workspace, a team workspace, or some other location
in the Power BI service.

Following are some of the features of Power BI -


1. Power BI Desktop
Power BI Desktop is free software that you can download and install, and it allows
you to build reports by accessing data easily. For using Power BI desktop, you do
not need advanced report designing, or query skills to build a report.
2. Stream Analytics
Power BI's primary advantage is its support stream analytics. From factory sensors
to social media sources, Power BI assists in real-time analytics to make timely
decisions.
3. Multiple Data Sources
Support for various data sources is one of the vital features of Power BI. You can
access various sources of data such as Excel, CSV, SQL Server, Web files, etc. to
create interactive visualizations.
4. Custom Visualization
While dealing with complex data, Power BI's default standard might not be enough
in some cases. In that case, you can access the custom library of visualization that
meets your needs.

RESULT:

The features of Power BI explored successfully and displayed desired output in neat
format.
lOM oARcPSD|27848569

54

EX NO:10 PREPARE & LOAD DATA in Power BI Desktop


DATE :

AIM:

To Prepare & Load data in Power BI Desktop

PROCEDURE:

Step 1 : Start Power BI Desktop

Step 2 : Goto to home menu , select get data and then choose excel worksheet
Step 3 : Select your file to load into Power Bi application and press load button
Step 4 : Now the file is loaded and now click data view in the left panel
Step 5: Now the file is loaded in the form of table format
Step 6 : Save the file in desired location

Step 7 : Close the Power BI Desktop application


lOM oARcPSD|27848569

55

EX NO:10 PREPARE & LOAD DATA in Power BI Desktop


lOM oARcPSD|27848569

56

Press load
button

Select
sheet1
lOM oARcPSD|27848569

57

Choose data
view

OUTPUT:

RESULT:
The Excel data sheet was prepared and loaded successfully into Power BI Desktop and
displayed desired output in neat format.
lOM oARcPSD|27848569

58

EX NO:11
DEVELOPING DATA MODEL
DATE :

AIM:

To Develop the data model using Power BI Desktop

PROCEDURE:

Step 1 : Start Power BI Desktop

Step 2 : Go to home menu , select get data and then choose excel worksheet
Step 3 : Select your file to load into Power Bi application and press load button
Step 4 : Now the file is loaded and now click model view in the left panel
Step 5: Now data modeling of the given tables are displayed in output screen
Step 6 : Save the file in desired location

Step 7 : Close the Power BI Desktop application

OUTPUT:

RESULT:

The data model was developed and loaded successfully using Power BI Desktop and
displayed desired output in neat format.
lOM oARcPSD|27848569

59

EX NO:12
Perform DAX calculations
DATE :

AIM:

To perform DAX calculations using Power BI Desktop

PROCEDURE:

Step 1 : Start Power BI Desktop

Step 2 : Go to home menu , select get data and then choose excel worksheet
Step 3 : Select your file to load into Power Bi application and press load button
Step 4 : Now the file is loaded and now click report view in the left panel
Step 5: Go to data panel and right click on data file and choose new measure
Step 6 : Type the formula for new measure and click the new measure “ was added
Step 7 : Drag the corresponding various types of visualization in workspace.
Step 8 : Save the file in desired location
Step 9 : Close the Power BI Desktop application
lOM oARcPSD|27848569

60

EX NO:12
Perform DAX calculations
DATE :

1. Select on
this new
measure
lOM oARcPSD|27848569

61

2. Data
displayed in
visualization

1. Select on
this new
measure

3. Copy and Paste the


Same Visual and
Change to New Visual
lOM oARcPSD|27848569

62
lOM oARcPSD|27848569

63

OUTPUT:

RESULT:

The perform DAX calculations were performed successfully using Power BI Desktop and
displayed desired output in neat format.
lOM oARcPSD|27848569

64

EX NO:13
DESIGN A REPORT
DATE :

AIM:

To design a report using Power BI Desktop.

PROCEDURE:

Step 1 : Start Power BI Desktop

Step 2 : Go to home menu , select get data and then choose excel worksheet
Step 3 : Select your file to load into Power Bi application and press load button
Step 4 : Now the file is loaded and now click report view in the left panel
Step 5: Go to data panel and right click on data file and choose new measure
Step 6 : Type the formula for new measure and click the new measure “ was added
Step 7 : Select clustered column chat and copy the visualization in workspace.
Step 8 : Change to decomposition tree visualization in workspace.
Step 9 : Explore the data in various forms for select filed and
Save the file in desired location
Step 10 : Close the Power BI Desktop application
lOM oARcPSD|27848569

65

Choose this
visualization

Choose two
measures
visualization
lOM oARcPSD|27848569

66

2 . Now 1.Now Choose


explore
product name
lOM oARcPSD|27848569

67

OUTPUT:

RESULT:
The report was created successfully using Power BI Desktop and displayed desired output
in neat format.
lOM oARcPSD|27848569

68

EX NO:14
CREATION OF A DASHBOARD AND PERFORM
DATA ANALYSIS
DATE :

AIM:

To create of a dashboard and perform data analysis using Power BI Desktop

PROCEDURE:

Step 1 : Start Power BI Desktop

Step 2 : Go to home menu , select get data and then choose excel worksheet
Step 3 : Select your file to load into Power Bi application and press load button
Step 4 : Now the file is loaded and now click report view in the left panel
Step 5: Go to data panel and right click on data file and choose team filed and
slicer visualization
Step 6 : Now team wise slicer was displayed. Next copy the visualization and
changeto card visualization
Step 7 : Now copy the visualization and change to gauge visualization
Step 8 : Next copy the visualization and change to donut visualization and drag
gender field and change value filed as count of gender
Step 9 : Now change and display the visualization as per team wise
Step 10 : Save the file in desired location
Step 11 : Close the Power BI Desktop application
lOM oARcPSD|27848569

69

EX NO:14 CREATION OF A DASHBOARD AND PERFORM DATA


ANALYSIS

2.Team
visualization 1.Choose Team
lOM oARcPSD|27848569

70

Choose
the count
lOM oARcPSD|27848569

71

1 .Drag
attendance and
the count
lOM oARcPSD|27848569

72
lOM oARcPSD|27848569

73
lOM oARcPSD|27848569

74
lOM oARcPSD|27848569

75

1 .Drag gender
and the count
lOM oARcPSD|27848569

76

OUTPUT:

RESULT:
The dashboard was created and data analysis was performed successfully using Power BI
Desktop and displayed desired output in neat format.
lOM oARcPSD|27848569

77

EX NO:15
Presentation of a case study - Campus Recruitment Analysis
DATE :

AIM:
To Presentation of a case study for Campus Recruitment Analysis using Power BI
Desktop

The Challenge
Campus Placements/ Campus Recruitment drives are conducted in various educational
institutes for providing job opportunities to the students who are pursuing their particular
academic courses.
As much as it is important to the students, it is also important to the institute as it gives
a chance to contemplate about the process. This data includes students from various
colleges.

The Solution
What every management team wants to know:

● How many companies appeared?


● How many students appeared?
● Which companies have hired the most of the students and from which college?
● How many students accepted the offer?
● Were the companies beneficial in accordance to their vacancies?
● How many students were selected by the companies?
● What was the ratio between students applied and the vacancies available?
● Which college were the most preferred by the students?
● Which technologies were the most preferred by the students?
● Which colleges were benefitted by this recruitment in terms of the selection?
● Which colleges did not perform up to the mark?
● Which colleges were involved the most in terms of the students registered?
● Which companies were beneficial in accordance to their vacancies?

The Extra Mile


● We gave users a menu driven page where they can navigate to the page of
their interest.
● Overview of companies with respect to the technologies.
● Overview of students with respect to the technologies, companies and colleges.
● Overview of selected students with respect to the technologies, companies
and colleges.
● Insights on basis of the students' priority and the offers given to them.
● We have given extra information apart from what is need about every area
of interest.
lOM oARcPSD|27848569

78

EX NO:15 Presentation of a case study - Campus Recruitment Analysis

OUTPUT:
lOM oARcPSD|27848569

79

RESULT:
The Presentation of a case study for Campus Recruitment Analysis was performed
successfully using Power BI Desktop and displayed desired output in neat format.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy