Portfolio Setup, Data Science, and Python
Contents
1. Portfolio Setup, Data Science, and Python#
Due: 2020-09-11
1.1. Objective & Evaluation#
This assignment is an opportunity to earn level 1 achievements for the process
and python
and confirm that you have all of your tools setup, including your portfolio.
Note
Typically, assignments are for level 2, but this week we did setup stuff in class instead of a comprehension checks. Also, the data science process takes a bit more time to really familiar with, it’s hard to explain the modeling step for example, without knowing how to build models.
You will be able to earn python level 2 starting in assignment 2 and process level 2 starting with assignment 6.
1.2. To Do#
Your task is to:
Install required software from the Tools & Resource page
Create your portfolio, by accepting the assignment
Learn about your portfolio from the README file on your repository.
edit
_config.yml
to set your name as author and (optionally) change the logo imageFill in
about/index.md
with information about yourself(not evaluated, but useful) and your own definition of data science (graded for level 1 process)Add a Jupyter notebook called
grading.ipynb
to theabout
folder and write a function that computes a grade for this course, with the following docstring. Include:a Markdown cell with a heading
your function called
compute_grade
three calls to your function that verify it returns the correct value for different number of badges that produce at three different letter grades.
a basic function that uses conditionals in python will earn level 1 python
Add the line
- file: about/grading
in your_toc.yml
file.
Important
remember to add, commit, and push your changes so we can see them
'''
Computes a grade for CSC/DSP310 from numbers of achievements at each level
Parameters:
------------
num_level1 : int
number of level 1 achievements earned
num_level2 : int
number of level 2 achievements earned
num_level3 : int
number of level 3 achievements earned
Returns:
--------
letter_grade : string
letter grade with possible modifier (+/-)
'''
1.3. Tips#
Here are some sample tests you could run to confirm that your function works correctly:
assert compute_grade(15,15,15) == 'A'
assert compute_grade(15,15,13) == 'A-'
assert compute_grade(15,14,14) == 'B-'
assert compute_grade(14,14,14) == 'C-'
assert compute_grade(4,3,1) == 'D'
assert compute_grade(15,15,6) =='B+'
1.4. Submission Instructions#
1.4.1. If using GitHub in the browser only#
Create a Jupyter Notebook with your function in a portfolio folder on your computer where you will save all of your work for the portfolio. Then upload it to GitHub, following GitHub instructions for adding a file
1.4.2. If using git offline#
Create a Jupyter Notebook with your function in your portfolio folder, then add, commit, and push the changes.
In your browser, view the gh-pages
branch to see your compiled submission, as portfolio.pdf
or by viewing your website.
1.5. Thinking Ahead#
Note
Thinking Ahead is an optional section you can do to get a head start on the next level achievements
Add a markdown file to your portfolio called ideas.md
and start answering some of the following questions:
Given what you know about the Data Science Process, which steps do you think you will like most? least?
What steps will use the most domain knowledge?
What applications of data science do you have domain knowledge for?