Beruflich Dokumente
Kultur Dokumente
(a)Consider the Sales.csv file and summarize the total number of customers in each country.
(b) Calculate the cumulative sales of all products after each month.
1|Page
(c) Calculate the monthly % increase or % decrease of sales of all products in each country.
(d) Summarize the date to show which product has maximum sales over all the products in all
the countries
2|Page
(b) Summarize the sales of all products over all years broken down by each quarter then by each
month.(subtotals).
3|Page
(c) Compare the Product which has maximum sales with each other product as a percentage
Row Labels
Classic Cars
Motorcycles
Planes
Ships
Trains
Trucks and
Buses
Vintage Cars
Grand Total
Max of
SALES
100.00
%
99.05%
83.88%
58.00%
74.80%
73.69%
117.35
%
(c) Given the cost and selling price of each product, find out the maximum profit gained by all
products over each region by each month.
4|Page
Q6. Convert a .cvs file it into Relational database table after filtering records
Step 1: Open Pentaho Data Integration tool.
Step 2: Go to Tranformation on left side under view tab.
Step 3: Select input option.
Step 4: Select Text file Input, drag and drop it to the right blank side.
Step 5: Click on text input file.
Step 6: Go to browse on far right.
Step 7: Select data intrgration>>samples>>transformations>>files>>sales_data.
5|Page
6|Page
7|Page
8|Page
Step 31: Give Data Source Name: VIBHOR-PC, TNS Service Name: MS Sql Server, User ID:
sa
Step 32: Click on test connection.
9|Page
Give Service name: MS Sql Server, User name: vm, Password: vibhor
Step 33: click ok.
Step 34: Go to table output in pentaho and click new.
Step 35: Select oracle in connection type, ODBC in access.
Give DSN name: bciit, User name: vm, password: vibhor
Step 36: click test.
Step 37: Give any Target table and select Truncate table.
Step 38: Click on SQL.
Step 39: Click on execute.
Q9. Perform classification of weather data using Weka explorer and show the result in
graph. Show in what weather conditions match should be played
Step1: Go to weka tool and execute .jar file
A GUI chooser will open
10 | P a g e
11 | P a g e
Step 7: Right click on tree J48 (part highlighted in blue) and select visualize classifier errors.
Move jitter towards right for better view
12 | P a g e
The above are the result for 4 scenerios. Telling that match will be played or not.
Q10Perform Associations Rule mining on the given data in Weka Explorer.
13 | P a g e
Q11. Perform k-means clustering on the given data to show different clusters.
Step1: Go to weka tool and execute .jar file
A GUI chooser will open
16 | P a g e
17 | P a g e