[go: up one dir, main page]

100% found this document useful (1 vote)
5K views10 pages

Data Visualization and Classification in Orange

The document outlines a practical activity for Grade XII Artificial Intelligence using the Orange Data Mining Tool, detailing step-by-step procedures for data visualization, classification, evaluation, image analytics, and word frequency analysis. It includes specific aims and procedures for visualizing the Iris flower dataset, implementing classification algorithms, evaluating classification results with confusion matrices, and performing image analytics on animal categories. Additionally, it describes how to visualize word frequencies with a Word Cloud after preprocessing textual data.

Uploaded by

proplayersakina
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
5K views10 pages

Data Visualization and Classification in Orange

The document outlines a practical activity for Grade XII Artificial Intelligence using the Orange Data Mining Tool, detailing step-by-step procedures for data visualization, classification, evaluation, image analytics, and word frequency analysis. It includes specific aims and procedures for visualizing the Iris flower dataset, implementing classification algorithms, evaluating classification results with confusion matrices, and performing image analytics on animal categories. Additionally, it describes how to visualize word frequencies with a Word Cloud after preprocessing textual data.

Uploaded by

proplayersakina
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Grade XII Artificial Intelligence – Practical activity for Journal entry.

Orange Data Mining

7. Perform step wise procedure of Data Visualization using the Orange Data Mining Tool.
Aim:
Visualize Iris flower data set ‘[Link]’ using Bar Plot, Scatter Plot and Distributions chart. The
[Link] data set has four features (sepalLength, sepalWidth, petalLength, petalWidth) and one
target value called iris (category of species of iris flower).
Procedure:
Step 1: Insert File Widget from Data Tab
Data  File Widget
Step 2: Load ‘[Link]’ to File Widget
Double click on File Widget and select ‘[Link]’
Step 3: Insert Data Table Widget from Data Tab
Data  Data TableWidget
Step 4: Connect File Widget to Data Table
Double Click to Data Table to see Records

Step 5: Insert Bar Plot Widget, Scatter Plot Widget and Distributions Widget from Visualize Tab.
Visualize Bar Plot Widget
Visualize Scatter Plot Widget
Visualize Distributions Widget

Step 6: Connect Data Table to Bar Plot, Scatter Plot and Distributions
Step 7: Double click to Bar Plot Widget, Scatter Plot Widget and Distributions Widget to see data
in Visual Form
Output

8. Perform Classification with Orange Data Mining Tool.


Aim:
To implement Classification algorithm for prediction using [Link] file and Iris Prediction [Link]
files.
Procedure:
Step 1: Insert File Widget from Data Tab
Data  File Widget
Step 2: Load ‘[Link]’ to File Widget
Double click on File Widget and browse ‘[Link]’ from System Drive
Step 3: Insert Tree Widget from Model Widget
Model  Tree Widget
Step 4: Connect File Widget to Tree Widget
Step 5 Insert File Widget(1) again from Data Tab
Data  File Widget(1)
Step 6: Load ‘Iris_Prediction [Link]’ to File Widget
Double click on File Widget(1) and browse ‘Iris_Prediction [Link]’ from System Drive
Step 7: Insert Prediction Widget from Evaluate Tab
Evaluate  Prediction
Step 8: Connect File Widget(1) and Tree Widget to Prediction Widget
Step 9: Double Click on Prediction Widget to see Prediction result

Output

9. Evaluate the Classification and show Confusion Matrix with Orange Data Mining Tool.
Aim: To Implement classification test and evaluation using [Link] file. It gives confusion matrix
and classification evaluation parameters like Accuracy, Precision, Recall, F1 Score.
Procedure:

Step 1: Insert File Widget from Data Tab


Data  File Widget
Step 2: Load ‘[Link]’ to File Widget
Double click on File Widget and browse ‘[Link]’ from System Drive
Step 3: Insert Tree Widget from Model Tab
Model  Tree Widget
Step 4: Connect File Widget to Tree Widget
Step 5: Insert Test and Score Widget from Evaluate Tab
Evaluate  Test and Score Widget
Step 6: Connect File Widget and Tree Widget to Test Score Widget
Step 7: Insert Confusion Matrix from Evaluate Tab
Evaluate  Confusion Matrix Widget
Step 6: Connect Test and Score Widget to Confusion Matrix Widget
Step 7: Double Click to Test Score to see test result

Step 8: Double click to Confusion Matrix to see Confusion Matrix


Output

10. Perform image analytics using Orange Data Mining Tool.


Aim:
To Implement Classification using different categories of animals like cats, dogs and tigers. The
model trained with images of three categories of animals and makes predictions & shows the
results, shows classification evaluation parameters, display confusion matrix and display
misclassified images.

Procedure:
Step 1: Insert Import Images from Image Analytics Tab
Image Analytics  Import Images Widget
Step 2: Load ‘Animals’ Folder to Import Images Widget
Double click on Import Images Widget and browse and select ‘Animals’ folder from
System Drive
Step 3: Insert Image Embedding from Image Analytics Tab
Image Analytics  Image Embedding Widget
Step 4: Connect Import Images Widget to Image Embedding Widget
Step 5: Insert Logistic Regression Widget from Model Tab
Model  Logistic Regression Widget
Step 6: Connect Image Embedding Widget to Logistic Regression Widget
Step 7: Again Insert Import Images(1) from Image Analytics Tab
Image Analytics  Import Images Widget(1)
Step 8: Load ‘Animals For Prediction’ Folder to Import Images Widget
Double click on Import Images Widget and browse and select ‘Animals For Prediction’
folder from System Drive
Step 9: Insert Image Embedding from Image Analytics Tab
Image Analytics  Image Embedding Widget(1)
Step 10: Connect Import Images Widget(1) to Image Embedding Widget(1)
Step 11: Insert Prediction Widget from Evaluate Tab
Evaluate  Prediction Widget
Step 12: Connect Logistic Regression Widget and Image Embedding Widget(1) to Prediction
Widget
Step 13: Double Click Prediction Widget to see the Prediction Result

Step 14: Insert Test and Score Widget from Evaluate Tab
Evaluate  Test and Score Widget
Step 15: Connect Image Embedding Widget, Logistic Regression Widget to Test and Score
Widget
Step 16: Double Click on Test and Score Widget to see the model accuracy and other parameters
Step 17: Insert Confusion Matrix Widget from Evaluate Tab
Evaluate  Confusion Matrix Widget
Step 18: Connect Test and Score Widget to Confusion Matrix
Step 19: Double Click on Confusion Matrix to see number of correct and miss classified images.

Step 20: Select miss classified values from confusion matrix


Step 21: Insert Image Viewer from Image Analytics Tab
Image Analytics  Image Viewer
Step 22: Connect Confusion Matrix to Image Viewer
Step 23: Double click on Image Viewer to see miss classified Images
Output

11. Perform steps to visualize word frequencies with Word Cloud using the Orange Data Mining
Tool.
Aim:
To implement NLP word frequency calculation after preprocess the textual data.
Procedure:
Step 1: Insert Create Corpus Widget from Text Mining
Text Mining Create Corpus
Step 2: Double Click on Create Corpus
Enter Document Title and Document Text
Step 3: Insert Corpus Viewer Widget from Text Mining
Text Mining Corpus Viewer
Step 4: Connect Create Corpus and Corpus Viewer
Step 5: Double Click on Corpus Viewer to see Document
Step 6: Insert Preprocess Text Widget from Text Mining
Text Mining Preprocess Text
Step 7: Connect Corpus Viewer and Preprocess Text
Step 8: Insert Two Word Cloud Widget from Text Mining
Text Mining Word Cloud
Step 9: Connect Preprocess Text and Word Cloud 1
Connect Corpus Viewer and Word Cloud 2
Step 10: Double click on Word Cloud and see the word frequencies before and after text
preprocess.

Out put

You might also like