Video exercises: Slides & transcript

Course Creation at DataCamp

Kelsey McNeillie

Instructor Success Manager

Video exercises

  • First part of a lesson
  • Learning objective
  • Presentation
Course Creation at DataCamp

 

add video exercise.png

Course Creation at DataCamp

 

Pick a slide type

Course Creation at DataCamp

Structured scripts

  • Exact words recorded
  • What → Why → How
  • Sentences should flow naturally
  • Be brief
    • Ideally 400-500 words
Course Creation at DataCamp

Build a narrative

  • Storytelling
  • Be ADEPT
    1. Use an Analogy
    2. Draw a Diagram
    3. Provide a concrete Example
    4. Describe it in Plain English
    5. Provide a Technical definition
Course Creation at DataCamp

Timeless scripts

 

Don't Do
Manipulating Time Series Data in Python course on time series manipulation in Python
I'm a Data Scientist at Data Company X I'm a Data Scientist
I'm writing a book on Machine Learning Follow me on Twitter for updates
The current version of this package... <Focus on the utility, not the implementation>
Course Creation at DataCamp

Dynamic slides

 

  • Dynamic:
    • Add animations to lists
    • Add animations to code
  • Avoid "deadtime"
    • Add movement (at least) every 30 seconds
  • Animate bullet points
Course Creation at DataCamp

Bullet points: What you should NOT do

 

Machine learning workflow

  • Data exploration
  • Data processing
  • Modeling
  • Evaluation
  • Improvements
Course Creation at DataCamp

Bullet points: What you should do

 

Machine Learning workflow

  1. Data exploration {{1}} →
  2. Data processing {{2}} →
  3. Modeling {{3}} →
  4. Evaluation {{4}} →
  5. Improvements {{5}} →

 

Machine Learning workflow

  1. Data exploration
  2. Data processing
  3. Modeling
  4. Evaluation
  5. Improvements
Course Creation at DataCamp

Code: What you should NOT do

# Define trainControl function
fitControl <- trainControl(method = "adaptive_cv", number = 3, repeats = 3,
                           adaptive = list(min = 3, alpha = 0.05, method = "BT", complete = FALSE),
                           search = "random")
# Start timer
tic()

# Train model
svm_model_voters_ar <- train(turnout16_2016 ~ ., data = voters_train_data, 
                             method = "svmPoly", trControl = fitControl,
                             verbose = FALSE, tuneLength = 6)

# Stop timer
toc()
1.675 sec elapsed
Course Creation at DataCamp

Code: What you should do

# Define trainControl function
fitControl <- trainControl(method = "adaptive_cv", number = 3, repeats = 3,
                           adaptive = list(min = 3, alpha = 0.05, method = "BT", complete = FALSE),
                           search = "random")

# Start timer tic()
# Train model
svm_model_voters_ar <- train(turnout16_2016 ~ ., data = voters_train_data, 
                             method = "svmPoly", trControl = fitControl,
                             verbose = FALSE, tuneLength = 6)

# Stop timer toc()
1.675 sec elapsed
Course Creation at DataCamp

Syntax highlighting

 

Code block without syntax highlighting

Course Creation at DataCamp

Syntax highlighting

 

Code block with syntax highlighting

  • Input only: {python}, {r}
  • Output: {out}
Course Creation at DataCamp

Images: Building a diagram (1)

Animation image 1

Course Creation at DataCamp

Images: Building a diagram (2)

Animation image 2

Course Creation at DataCamp

Images: Building a diagram (3)

Animation image 3

Course Creation at DataCamp

Images: Building a diagram (4)

Animation image 4

Course Creation at DataCamp

Images: Building a diagram (5)

Animation image 5

Course Creation at DataCamp

Gif of surprised man from the show "Parks and Recreation"

Course Creation at DataCamp

Gif of gapminder dataset showing global population growth over 200 years

Course Creation at DataCamp

Let's practice!

Course Creation at DataCamp

Preparing Video For Download...