Send Close Add comments: (status displays here)
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.
A6: Asmt#6: Linear regression

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: linear regression
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. The submission will be in the form of a zip file. The zip file should contain the following. 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. 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. 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 linearreg.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 - A6 : Asmt#6: Linear regression 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:


12. End of page