video e x ercises slides transcript
play

Video e x ercises : Slides & transcript C OU R SE C R E ATION - PowerPoint PPT Presentation

Video e x ercises : Slides & transcript C OU R SE C R E ATION AT DATAC AMP Hadrien Lacroi x Content De v eloper Video e x ercises First part of a lesson Learning objecti v e Presentation COURSE CREATION AT DATACAMP COURSE CREATION AT


  1. Video e x ercises : Slides & transcript C OU R SE C R E ATION AT DATAC AMP Hadrien Lacroi x Content De v eloper

  2. Video e x ercises First part of a lesson Learning objecti v e Presentation COURSE CREATION AT DATACAMP

  3. COURSE CREATION AT DATACAMP

  4. COURSE CREATION AT DATACAMP

  5. Str u ct u red scripts E x act w ords recorded What → Wh y → Ho w Sentences sho u ld � o w nat u rall y Be brief ( ideall y 400-500 w ords ) Ma x 600 w ords COURSE CREATION AT DATACAMP

  6. B u ild a narrati v e Stor y telling Be ADEPT 1. Use an Analog y 2. Dra w a Diagram 3. Pro v ide a concrete E x ample 4. Describe it in Plain English 5. Pro v ide a Technical de � nition COURSE CREATION AT DATACAMP

  7. Timeless scripts Don ' t Do Manip u lating Time Series Data in P y thon co u rse on time series manip u lation in P y thon I ' m a Data Scientist at Data Compan y X I ' m a Data Scientist I ' m w riting a book on Machine Learning Follo w me on T w i � er for u pdates The c u rrent v ersion of this package ... < Foc u s on the u tilit y, not the implementation > COURSE CREATION AT DATACAMP

  8. D y namic slides D y namic : Add animations to lists Add animations to code A v oid " deadtime " Add mo v ement ( at least ) e v er y 30 seconds Animate b u llet points COURSE CREATION AT DATACAMP

  9. B u llet points : What y o u sho u ld NOT do Machine learning w ork � o w Data e x ploration Data processing Modeling E v al u ation Impro v ements COURSE CREATION AT DATACAMP

  10. B u llet points : What y o u sho u ld do Machine Learning w ork � o w Machine Learning w ork � o w 1. Data e x ploration {{1}} → 1. Data e x ploration 2. Data processing {{2}} → 2. Data processing 3. Modeling {{3}} → 3. Modeling 4. E v al u ation {{4}} → 4. E v al u ation 5. Impro v ements {{5}} → 5. Impro v ements COURSE CREATION AT DATACAMP

  11. Code : What y o u sho u ld 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, COURSE CREATION AT DATACAMP

  12. Code : What y o u sho u ld 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() COURSE CREATION AT DATACAMP

  13. S y nta x highlighting COURSE CREATION AT DATACAMP

  14. S y nta x highlighting Inp u t onl y : { p y thon }, { r } COURSE CREATION AT DATACAMP

  15. Images : B u ilding a diagram (1) COURSE CREATION AT DATACAMP

  16. Images : B u ilding a diagram (2) COURSE CREATION AT DATACAMP

  17. Images : B u ilding a diagram (3) COURSE CREATION AT DATACAMP

  18. Images : B u ilding a diagram (4) COURSE CREATION AT DATACAMP

  19. Images : B u ilding a diagram (5) COURSE CREATION AT DATACAMP

  20. COURSE CREATION AT DATACAMP

  21. COURSE CREATION AT DATACAMP

  22. Let ' s practice ! C OU R SE C R E ATION AT DATAC AMP

  23. Interacti v e e x ercises C OU R SE C R E ATION AT DATAC AMP Sara Billen Content De v eloper

  24. E x ercise t y pes M u ltiple Choice e x ercise M u ltiple Choice w ith Console e x ercise Coding e x ercise Iterati v e e x ercise Seq u ential e x ercise COURSE CREATION AT DATACAMP

  25. COURSE CREATION AT DATACAMP

  26. COURSE CREATION AT DATACAMP

  27. COURSE CREATION AT DATACAMP

  28. COURSE CREATION AT DATACAMP

  29. COURSE CREATION AT DATACAMP

  30. COURSE CREATION AT DATACAMP

  31. COURSE CREATION AT DATACAMP

  32. COURSE CREATION AT DATACAMP

  33. COURSE CREATION AT DATACAMP

  34. COURSE CREATION AT DATACAMP

  35. COURSE CREATION AT DATACAMP

  36. COURSE CREATION AT DATACAMP

  37. COURSE CREATION AT DATACAMP

  38. COURSE CREATION AT DATACAMP

  39. COURSE CREATION AT DATACAMP

  40. COURSE CREATION AT DATACAMP

  41. COURSE CREATION AT DATACAMP

  42. Writing good sample code Sample code Sol u tion code # Open a file: file # Open a file: file file = open(____, file = open('moby_dick.txt, mode='____') mode='r') # Print it # Print it ____ print(file.read()) # Check whether file is closed # Check whether file is closed ____(file.closed) print(file.closed) # Close file # Close file () () COURSE CREATION AT DATACAMP

  43. COURSE CREATION AT DATACAMP

  44. COURSE CREATION AT DATACAMP

  45. Let ’ s start e x ercising ! C OU R SE C R E ATION AT DATAC AMP

  46. Respect the g u idelines C OU R SE C R E ATION AT DATAC AMP Shon Ino uy e Content Q u alit y Anal y st

  47. Objecti v e of content g u idelines Goal : Enable st u dents to learn data science in a f u n and engaging w a y Content G u idelines : Ens u re that all content w e de v elop is in s y nc w ith o u r goal Pro v ide u sers w ith the best possible u ser e x perience COURSE CREATION AT DATACAMP

  48. Reasoning : Consistenc y DataCamp has a rapidl y e x panding u ser base and content librar y Consistenc y across content to maintain prod u ct v ision in a scalable fashion COURSE CREATION AT DATACAMP

  49. Reasoning : Optimi z ation for engagement Data collection on st u dent interactions w ith DataCamp allo w s u s to e x plore : Completion rate Percentage of st u dents asking for hints / sol u tions Co u rse rating Insight from pedagogical ( teaching - related ) research MIT st u d y recommending v ideo length to be < 6 min u tes COURSE CREATION AT DATACAMP

  50. COURSE CREATION AT DATACAMP

  51. Instr u ction % Asked % Asked E x ercise Completion % of Length Hint Sol u tion Rate E x ercises (0, 100] 0.08 0.05 0.9971 5 (100, 200] 0.14 0.10 0.9926 16 (200, 300] 0.17 0.13 0.9922 21 (300, 400] 0.21 0.16 0.9898 20 (400, 500] 0.24 0.18 0.9889 15 (500, 600] 0.26 0.20 0.9886 10 Dri v es completion rates and % st u dents asking for hints / sol u tions 60 (0 9971) 99 71% i l ti 84% l ti COURSE CREATION AT DATACAMP

  52. Other g u idelines G u ideline Reasoning Aim for co u rses to be completable w ithin 4 Shorter co u rses are more digestible and ho u rs ha v e higher completion rates Limit e x ercises to 15 lines of sample / sol u tion Ens u res that instr u ctions � t w ell w ithin a code page and limits scrolling Limit the n u mber of m u ltiple choice q u estions Ens u res learners do most of their learning in a co u rse to no more than 5 b y doing COURSE CREATION AT DATACAMP

  53. Reso u rces Content G u idelines Co u rse Editor feat u res for Content G u idelines COURSE CREATION AT DATACAMP

  54. Let ' s practice ! C OU R SE C R E ATION AT DATAC AMP

  55. GitH u b for co u rse re v ie w C OU R SE C R E ATION AT DATAC AMP Jeroen Hermans Head of Content Engineering

  56. Back to the repo GitH u b G u ides COURSE CREATION AT DATACAMP

  57. P u ll req u ests ( PR ) COURSE CREATION AT DATACAMP

  58. P u ll req u ests ( PR ) COURSE CREATION AT DATACAMP

  59. P u ll req u ests ( PR ) COURSE CREATION AT DATACAMP

  60. P u ll req u ests ( PR ) COURSE CREATION AT DATACAMP

  61. Merge conflicts COURSE CREATION AT DATACAMP

  62. Diffs COURSE CREATION AT DATACAMP

  63. COURSE CREATION AT DATACAMP

  64. COURSE CREATION AT DATACAMP

  65. COURSE CREATION AT DATACAMP

  66. COURSE CREATION AT DATACAMP

  67. Re v ie w comments COURSE CREATION AT DATACAMP

  68. Resol v e comments COURSE CREATION AT DATACAMP

  69. COURSE CREATION AT DATACAMP

  70. COURSE CREATION AT DATACAMP

  71. Let ' s practice ! C OU R SE C R E ATION AT DATAC AMP

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend