Question

Question 2: There are two data classes + and -. The training set is shown in Table 4.2 as follows. Please compute the ent

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The standered formula for calculation of entropy is used. The formulas are mentioned in the images below. I have explained all the steps in detail. Furthur clarification can be asked via comments.

Total ho. of positive outputs p = 4 Totd no. of nogetue culpets, h=6 [culpat is the Target Class value] For entropy of ate, h

Here the formula E(A=v) just has two terms as A just takes two distinct values. Like here A=a1 takes two values, that is , T and F. If A takes more values in some other question, then number of terms will be equal to number of distinct vaues taken by A

E[a] = F) = -log(1) - 4 log (45) 00464+00257 - 00721 ECal) = { Pithu. Ela2 = 0) -1 pth VE no. of olistinct values of al. Ea1)

E(a1) is the required weighted average, Again, here also the number of terms in the formula is will be equal to number of distinct vaues taken by A. Here just two ( Same reason as above).

The final answer is 0.767.

Add a comment
Know the answer?
Add Answer to:
Question 2: There are two data classes "+" and "-". The training set is shown in...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. Consider the training examples shown in the table below for a binary classification problem. (40...

    2. Consider the training examples shown in the table below for a binary classification problem. (40 points) Instance| a1 a2 аз | Target Class T T1.0 2 T T 6.0 3 T F 5.0 4 F F 4.0 5 F T 7.0 6 F T 3.0 7 F F 8.0 IT F 7.0 F T 5.0 9 (1) What is the entropy of this collection of training examples with respect to the class attribute? (2) What are the information gains...

  • Below are four bivariate data sets and the scatter plot for each. (Note that each scatter...

    Below are four bivariate data sets and the scatter plot for each. (Note that each scatter plot is displayed on the same scale.) Each data set is made up of sample values drawn from a population. x   y 1.0   4.1 2.0   6.1 3.0   7.0 4.0   4.0 5.0   5.2 6.0   8.1 7.0   5.5 8.0   6.9 9.0   9.0 10.0   7.3 x1234567891011y12345678910110 Figure 1    u   v 1.0   8.1 2.0   7.4 3.0   8.1 4.0   6.1 5.0   7.4 6.0   4.5 7.0   4.6 8.0   3.4...

  • Below are four bivariate data sets and the scatter plot for each. (Note that each scatter...

    Below are four bivariate data sets and the scatter plot for each. (Note that each scatter plot is displayed on the same scale.) Each data set is made up of sample values drawn from a population. y 1.0 7.4 2.0 9.0 3.0 7.0 11 10- 11 102 9 8+ 7+ 8+ 71 61 5 5 41 4.0 5.4 5.0 7.5 6.05.2 7.0 4.5 8.0 7.1 9.0 5.5 10.0 3.9 V 1.0 8.0 2.0 6.9 3.07.3 4.0 6.1 5.0 7.4 6.0...

  • х у V 1.0 7.6 1.0 1.0 2.0 8.7 11 2.0 2.0 3.0 7.3 3.0 3.0...

    х у V 1.0 7.6 1.0 1.0 2.0 8.7 11 2.0 2.0 3.0 7.3 3.0 3.0 4.0 5.8 11 10- 9- 8 7-1 6 5- 4+ 3+ 2 4.0 4.0 11 10 9+ 8+ 71 6+ 5+ 4+ 3+ 2+ 1. X 5.0 8.2 5.0 5.0 6.0 4.9 6.0 6.0 X 7.0 4.5 7.0 7.0 8.0 7.2. 8.0 8.0 0 1 2 3 4 5 6 7 8 9 10 11 7 8 9 10 11 9.0 5.9 9.0 9.0...

  • Below are four bivariate data sets and the scatter plot for each. (Note that each scatter...

    Below are four bivariate data sets and the scatter plot for each. (Note that each scatter plot is displayed on the same scale.) Each data set is made up of sample values drawn from a population. x y 1.0 7.9 2.0 5.1 3.0 10.1 4.0 6.4 х 11 10+ 9+ 8+ 7+ 6+ 5- X X 1.0 7.3 117 10+ 2.0 9.0 9+ 3.0 7.3 8+ 7 4.0 5.6 6+ 5.0 7.9 5 4 6.0 5.3 2 7.0 4.8 5.0...

  • Four Squares Productions, a firm hired to coordinate the release of the movie Pirates of the...

    Four Squares Productions, a firm hired to coordinate the release of the movie Pirates of the Caribbean: On Stranger Tides (starring Johnny Depp), identified 16 activities to be completed before the release of the film. The appropriate data are shown in the following table: Immediate Predecessor(s) Immediate Predecessor(s) Activity >> 3.0 Time (weeks) Activity a m b 1.0 2.0 4.0 11.0 12.5 14.0 C 9.0 12.0 15.0 D 4.0 5.0 7.0 5.0 7.0 G 3.0 5.0 6.5 4.0 7.7 9.0...

  • What is the concentration? Data Table 1.4. Preparation of Bromophenol Blue Dilution Series 11 Volume of...

    What is the concentration? Data Table 1.4. Preparation of Bromophenol Blue Dilution Series 11 Volume of 0.040 mM Sample Tube Volume of Total Volume (ml) Concentration Bromophenol Blue Stock (ml) Absorbance Water (ml) (mM) 1 (blank) 0.0 8.0 0.000 B.O 0.00 mM 2 .a3g 1.0 7.0 8.0 3 451 .48 2.0 6.0 8.0 4 3.0 5.0 B.O 5 4.0 4.0 8.0 6 5.0 3.0 8.0 1.023 7 6.0 2.0 8.0 8 7,0 1.0 8.0 I. 25 1.342 8.0 0.0 8.0...

  • draw the structure and label each set of protons A- E. set up a table with...

    draw the structure and label each set of protons A- E. set up a table with the header: peak letter, chemixal shift number of hydrogens and intergration. in the table assign the letter to the chemical shift Normated 4.65.. 3.85 2.23.. 1.92 3.42 Absolute 37221.23 63572.33 60872.79 49296.83 3.22 1.79.1.12 1.23.. 0.91 6.5 6.0 5.5 7.0 5.0 8.0 3.0 7.5 45 252.0 1.5 10 00 05 4.0 3.5 f1 (ppm)

  • 9.0 4.0 4.9 5.0 4.9 7.0 5.8 6.0 7.2 HH 58 10 11 Figure 1 3.0...

    9.0 4.0 4.9 5.0 4.9 7.0 5.8 6.0 7.2 HH 58 10 11 Figure 1 3.0 0 9.0 2.0 10.0 1.0 Figure 2 1.0 1.0 2.0 7.6 9.3 2.0 9.4 7.04.2 8.0 7. 2 9. 0 6.2 10.0 4.0 HHHH Figure 3 9.0 Figure 4 10.0 8.4 Answer the following questions about the relationships between pairs of variables and the values of r, the sample correlation coeffic may be the correct answer for more than one question. the m, n...

  • Exercise B1: Biological Growth Data In this exercise bacteria se students will work with "SAMPLE DATA...

    Exercise B1: Biological Growth Data In this exercise bacteria se students will work with "SAMPLE DATA #B1" given in the table below, showing population as a function of time Steps e # of cycles needed (are there 1's, 10%, 100's, 1000's in the data?) the graph with sensible and labeled axes and with clearly visible (unconnected) points (1) determin (3) draw a best-fit line "by eye" (5) inspect the best-fit line for y-intercept, No (the bacteria population at t =...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT