Midterm Review

Midterm

The goal for the midterm is to spend some time reviewing some of the basic processes that we have utilized thus far. Basic concepts, syntax, and processes which will be useful in data science projects.

The midterm will consist of 2 sections.

Part 1: Multiple Choice/Short answer The first section will be closed book/closed notes. You should understand conceptual issues with the class, technologies, packages, CRISP model, etc. If given a piece of code, you should be able to interpret what it does. In this section, you won’t be asked to generate any code though.

Part 2: Coding Like the homework, there will be sections where you need to write specific code responses to questions, similar to the homework. You are allowed to bring a 1 page (both sides) or 2 pages (1 side each) of a crib sheet with syntax for use only in part 2. Examples will largely come from the homeworks and classroom examples.

Part 1 Sample Questions.

  1. _______ is the Python package that enables a data frame object? a) DF b) DATA-FRAME c) Pandas d) Beautiful Soup e) Numpy

  2. Below is an example of what type of encoding? { “year”: 1997, “make”: “Ford”, “model”: “E350”, }, a) Delimited file b) XML c) JSON d) ODBC e) SQL

Part 2 Sample Questions.

(After given a sample dataframe.)

  1. Using python, recode the variable from a character type to numeric and the gender to 0/1 for male/female.

  2. Perform one hot encoding for the x field of the dataframe.

  3. Take the mean of the y variable of the dataframe.

Midterm Review

Topic
Link
What is Jupyter? Open In Colab
Notebook Basics Open In Colab
Running Code Open In Colab
Markdown Open In Colab
More on Colab Open In Colab
Python Overview Open In Colab
Basic Data Structures Open In Colab
Numpy Open In Colab
Pandas Open In Colab
Lab Open In Colab
Homework 1 Open In Colab
Conditionals-Loops Open In Colab
Functions Open In Colab
Null Values Open In Colab
Groupby Open In Colab
Kaggle Baseline Open In Colab
Assignment 2 Open In Colab
Twitter Open In Colab
Web Mining Open In Colab
Visualizations - Seaborn Open In Colab
Strings - Regular Expressions Open In Colab
Feature Dummies Open In Colab
Assignment 3 Open In Colab
The Simplest Neural Network with Numpy Open In Colab
Train Test Split Open In Colab
Introduction to Logistic Regression Open In Colab
K Nearest Neighbor Open In Colab
ROC and SVM Open In Colab
HM5A Visualization & Screen Scraping Open In Colab
HM5B Intro Modeling Open In Colab