Docsity

Orange data mining questions, Study notes of Computer science

Partial preview of the text

Download Orange data mining questions and more Study notes Computer science in PDF only on Docsity!

ORANGE DATA MINING

Ques.

ORANGE DATA MINING Ques.1 4. Cluster images of birds and animals into distinct groups based on their visual characteristics. * Collect datasets of images containing various species of birds and animals. * Ensure that each dataset contains a sufficient number of images representing different species © within the respective categories. © = Import the collected image datasets into Orange Data Mining. * Apply clustering algorithms to group similar images together based on their numerical * representations. * Analyze the clustering results and interpret the grouping of images into different clusters. . Identify any patterns or similarities observed within each cluster and between clusters. Ans ea ‘Clustering ° SAW oe ES SS ae ee ‘Suipomebe — 2ipamebp ——_Tipawebe 10100 22609 Sipawene 20160 328 231000 SS BGS a) See Ques.2 2. create your own corpus by selecting a story or article of your choice. Ensure the text is sufficiently Long to provide meaningful insights. Once you have your corpus, use Orange Data Mining to perform: - © Text normalization techniques like Converting all text to lowercase to ensure © consistency, tokenization to split the text into individual wards or tokens, removal of * stop words to eliminate common words that do not contribute to the meaning of the text * Analyze the word cloud to identify which words appear most frequently and gain insights * into the main themes or topics of the text. Compare the results of the ward cloud analysis before and after applying lemmatization and stemming to observe any differences in the most commonly used words. Ans { a ak ° wa 2 stepaorss ean B we Om. @ meet om) Om. © soae9 \ ses UREN PEPPANL- MA eum esuaney © tate 210 $ 090 S forest tieretused rest, ar = Fay continucineattor NSP, Tersint 25101008 gyan old oy wontget threg. nat One for luna ie” econ oom mimanaralayani “ 2, british gale 3 i s Sze panes Let, rg Det nit Ve rs Phere Oa aur, ath 1eo that 7S hie berate _ tael day Same dead “iret es roe ry Become SverdA hog & Ques.4 4. Write a python code to evaluate a model e Use the Salary Data CSV (link for the csv file - https://docs.google.com/spreadsheets/d/1GCHKxqMxTwxgfCCmYolQdRVUSQ2Dv bsypd|GMQLTcfE/edit?usp=drive_link ) e Refer to the Student Handbook Page No 38,39 for the code e Use the platform —Jupyter/Collab Ans © import pandas as pd from google.colab import files from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error, mean_absolute_error import numpy as np uploaded = files.upload() filename = list (uploaded.keys())[2] data = pd.read_csv(filename) 53 y wo data[[‘YearsExperience’]] data["Salary’] Xtrain, X_test, y train, y_test = train_test_split(x, y, test_size=0.2, random_state=42) model = LinearRegression() model.fit(x_train, y train) pred = model.predict(x_test) mse = mean_squared_error(y_test, pred) np. sqrt (mse) mae = mean_absolute_error(y test, pred) Ques.5 5. 1. Calculate MSE and RMSE values for the data given below using MS Excel. (A) Predicted (P) 100 110 120 125 150 145 170 165 200 190 210 205 220 225 250 240 300 310 350 340 Add the Screenshots of the same Ans Dia a Se =SQRT(D13/10) A B Cc i=} 1 Actual(A) Predicted(P) Residual(A-P) Squared Residuals 2 100 110 -10 100 3 120 125 5 25 4 150 145 5 25 5 170 165 5 25 6 200 190 10 100 7 210 205 5 25 8 220 225 5 25 i=) 250 240 10 100 10 300 310 -10 100 aa 350 340 10 100 12 Total 625 13 MSE 62.5 14 | RMSE Start a new machine learning project image recognising images In your web browser - Recognising images as CATS or DOGS < Back to project S www webcam 4 draw