1. One of the major tasks in data mining is data pre-processing/ cleaning. During this…
- User
- One of the major tasks in data mining is data pre-processing/ cleaning. During this phase, you might need to reduce the number of features if there are many available features and some them are useless or not effecting the value of the dependent features. To this end, you are applying Principal Component Analysis (PCA) algorithm to accomplish this task.
In this hands-on experiment, applying PCA algorithm and reduce the number of features in the given dataset (Table-1). You should consider the following three features (X1, X2, X3) and reduce these three (3) features to two (2) features (PCA1, PCA2). Show your step-by-step work: (10 Marks)
Table-1: X1 X2 X3 1.6 3.2 5.3 1.5 3.4 4.7 2.1 3.1 4.9 1.8 3.3 4.8 1.9 3.7 5.1
- One of the major tasks in data mining is data pre-processing/ cleaning. During this phase, you might need to reduce the number of features if there are many available features and some them are useless or not effecting the value of the dependent features. To this end, you are applying Principal Component Analysis (PCA) algorithm to accomplish this task.
- Assistant
- User
Considering following training dataset, you are implementing decision tree algorithm.
A. If you consider information gain as the measurement criteria for selecting the root node then which feature among the given independent features will be selected as a root node. Show your calculation of information gain for the features. (7.5 marks) B. If you consider Gini Index as the measurement criteria for selecting the root node then which feature among the given independent features will be selected as a root node. Show your calculation of Gini Index for the features. (7.5 marks) Independent Features Dependent Feature X1 X2 X3 Y Positive Low High Up Negative High Low Down Positive Low High Up Positive High High Up Negative Low High Down Positive Low Low Down Negative High High Down Negative Low High Down Positive Low Low Down Positive High High Up - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.