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:

  1. Install required software from the Tools & Resource page

  2. Create your portfolio, by accepting the assignment

  3. Learn about your portfolio from the README file on your repository.

  4. edit _config.yml to set your name as author and (optionally) change the logo image

  5. Fill in about/index.md with information about yourself(not evaluated, but useful) and your own definition of data science (graded for level 1 process)

  6. Add a Jupyter notebook called grading.ipynb to the about 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

  7. 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:

  1. Given what you know about the Data Science Process, which steps do you think you will like most? least?

  2. What steps will use the most domain knowledge?

  3. What applications of data science do you have domain knowledge for?