Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Review the attached excerpt on coding Frequency Distribution routines. Work through the examples and internal functions to manipulate internal Dictionaries to represent grades from a

Review the attached excerpt on coding Frequency Distribution routines.
Work through the examples and internal functions to manipulate internal Dictionaries to represent grades from a Computer Science class. From there, complete the following steps to implement code and show your output:
1) Implement the frequencyTable function and show the output for the following frequency table:
frequencyTable([3,1,1,5,3,1,2,2,3,5,3,5,4,4,6,7,6,7,5,7,8,3,8,2,3,4,1,5,6,7])
Did you notice a discrepancy with the book excerpt?
2) Implement the histogram generator as described in section 4.6.3
frequencyChart{[3,3,5,7,1,2,5,2,3,4,6,3,4,6,3,4,5,6,6,]}
3) Follow the instructions in section 4.7 to handle Standard Deviation. This includes covering the data lists in Session 4.17- show your output.
Update *
From class we reviewed the basic requirements for HW #3.
It will make sense to code everything one module at a time to make sure that you are picking up on the method and intent. Here are the methods that I had in my demo code:
Mode
FrequencyTable
FrequencyTableAlt
FrequencyChart
StdDev
Assuming that you code one module at a time (with prerequisites - i.e., mode & StdDev), here are the data sets that I need to see for the grading of your output:
A) Print out FrequencyTable - with mean score and Standard Deviation
# frequencyTable([3,1,1,5,3,1,2,2,3,5,3,5,4,4,6,7,6,7,5,7,8,3,8,2,3,4,1,5,6,7])
B) Print out FrequencyTableALT - with mean score & Standard Deviation
# frequencyTableAlt([3,1,1,5,3,1,2,2,3,5,3,5,4,4,6,7,6,7,5,7,8,3,8,2,3,4,1,5,6,7])
C) Print out the GUI for FrequencyChart
# frequencyChart([3,3,5,7,1,2,5,2,3,4,6,3,4,6,3,4,5,6,6])
D) Print out the GUI for FrequencyChart - with a new set of grades.
# frequencyChart([80,75,55,75,93,72,85,92,93,64,86,83,94,86,73,54,75,96,86])

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 3 Lnai 9286

Authors: Albert Bifet ,Michael May ,Bianca Zadrozny ,Ricard Gavalda ,Dino Pedreschi ,Francesco Bonchi ,Jaime Cardoso ,Myra Spiliopoulou

1st Edition

3319234609, 978-3319234601

More Books

Students also viewed these Databases questions