Assignment 4.pdf

# G i use the removewithvalues function to restrict the

• Homework Help
• 16

This preview shows page 14 - 16 out of 16 pages.

g) I use the removewithvalues function to restrict the digits to only 6 of digits which are 0,1,2,3,4,5.

Subscribe to view the full document.

When I use IBk classifier to find the result of 2, 3, 4, 5, 6, and 7 K =1, (0, 1) The correctly classified instances is 100% K = 1, (0, 1, 2) The correctly classified instances is 99.6276% K = 1, (0, 1, 2, 3) The correctly classified instances is 99.7222% K = 1, (0, 1, 2, 3, 4) The correctly classified instances is 99.556%
K =1, (0, 1, 2, 3, 4, 5) The correctly classified instances is 99.446% K =1, (0, 1, 2, 3, 4, 5, 6) The correctly classified instances is 99.5253% As we can see. It is decreasing trend. When the number of digits increase, the accuracy decreases. When use the linear regression, we can find the equation is Y = -0.22X +100.57, X is the number of class values. From the linear regression, we can find out that there is a negative correlation between the accuracy and the number of values. h) I think the steps are: (1) The handwritten note should be scanned into black and white version image, which is easier to be transformed (2) All characters should be zoomed with the adequate margins (3) The noisy points should be removed (4) The image should be the same size (5) After done these steps, the images can be divided into a large number of pixels (8* 8)
You've reached the end of this preview.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern