[SOLVED] Workshop Week 11 - COMP20008

35.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

1. Consider the following data set for a binary class problem:
Feature A Feature B Class Label
T F +
T T +
T T +
T F –
T T +
F F –
F F –
F F –
T T –
F F –
We wish to select the feature that best predicts the class label using the χ2 method.
Write down the observed and expected contingency tables for feature A Calculate the χ2(A,Class) value.
Using the table below, conclude whether feature A is independent of the class label for p = 0.05.

Repeat the process for feature B and decide which feature could be best used for predicting the class label.
2. Open Jupyter Notebook and complete the activities.
1

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.