Got it! This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
You are not logged in. Go to Login page. You need to login before you can view more content. (content omitted that requires login)
4. Work: Nominal data and Pareto chart
This consists of a short Python program as per the examples provided and a 2 to 3 page document (with some code and images). Do not make it harder than it is.
5. Requirements
Write a Python program to do the following.
Find some nominal data in your project or related to your project for which a Pareto chart can be used.
Create a Python program that contains or reads the data and that creates an image plot.
In conveying what you have done, create a docx document that has the following parts. The document should be at least 2 pages but not more than 3 pages.
A title with your name below the title.
A section, with introduction that includes your problem, data, and questions to be answered. This should be similar to previous work for your project.
A section, with some explanation, on the essential code fragment for reading and/or getting the data in the proper format.
A section, with some explanation, on the essential code fragment for creating the plot using matplotlib.
A section that shows the linear regression line and predictions for from 3 to 5 independent data points.
A section, with explanation on why or why not as to whether a linear relationship is present.
A section that concludes the document.
The submission will be in the form of a zip file. The zip file should contain the following.
All the Python code files used. There should be no external references in the Python code other than to imports of known libraries. All file and other references should be to the current folder.
Do not include Python code files not used.
The document in docx form as one of the files in the folder.
Any supporting files such as the generated image, data, etc.
There is a limit of about 1MB for the submission. Do not include any files not specifically needed for this work. Do not use subfolders - put everything in the root folder with files being submitted.
If the requirements are unclear in any way, use any provided input and output to resolve the discrepancy.
6. Domain knowledge
Domain knowledge is the background knowledge that is useful in solving a problem, designing a solution, implementing the solution, etc. The following domain knowledge may be useful for this requirement.
The domain data will depend on your project data.
Note: In addition to specific domain knowledge, you should be familiar with all concepts covered to this point in the course.
7. Coding notes
The following coding examples and/or notes may be of use for this requirement.
See class notes in general and regression notes in particular.
Note: The code below will be specific to your project and data. Thus, there is no one solution to this work. The code and zip file for download is for a template for getting started and for submission.
Make all necessary assumptions. Make no unnecessary assumptions.
In addition to specific coding examples, you should be familiar with all concepts covered to this point in the course.
8. Starter program
You are provided with the following starter program in file pareto.py.
Do not remove any comment that starts with two hash signs.
Here is the Python code.
You are to fill in the missing parts of the program according to the work requirements (see above).
In the comments at the top, you are to fill in the author (your name), help received (person and type of help), and pseudo-code parts which are not in the solution (usually provided, but you need to add them). Remove the parentheses too.
9. Possible solution
Begin solution
Here is a possible solution to the above problem. Note: Once a solution is provided, or the day before the next class, further submissions for this work receive no credit.
End solution
10. Style guidelines
The main title should be at the top in H1 style.
Section titles should be in H2 style.
Subsections titles should be in H3 style.
All program or command or command output text should be in a fixed font such as "Courier New".
All text should be in a serif font such as "Times New Roman".
If you use LibreOffice or OpenOffice instead of Microsoft Office you need to export your document file to the type docx and not the native format. Use the appropriate "Save As" command.
11. Scoring rubric
CS 496 - A7 : Asmt#7: Nominal data and Pareto chart
Your grade: _ / 30
[LATE] Late or redo penalty: _ / -30
[SUBMIT] Not submitted properly: _ / -30
[STYLE] Document style requirements: _ / -10
[PROGRAM] Program content requirements: _ / 9
[OUTPUT] Program output in document: _ / 6
[CONTENT] Document content requirements: _ / 15
[CREDIT] Extra credit: _ / +6
Comments: