1. Home
  2. Explore
  3. Computer Science
  4. Reproducible Data Science

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Reproducible Data Science

  • 40Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Data Science Workflow
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

How does the early modeling phase of data science differ from conventional software development?

Tap to flipClick to flipspace

Modeling is research-oriented: it involves exploration, learning, and many experiments before software engineering becomes central near deployment.

Or swipe the card

40 cards

  1. How does the early modeling phase of data science differ from conventional software development?

    Modeling is research-oriented: it involves exploration, learning, and many experiments before software engineering becomes central near deployment.

  2. Why are failed experiments valuable in data science?

    They document what did not work, help explain why a final approach was chosen, and can guide future work.

  3. What can conventional IDEs obscure during exploratory machine-learning work?

    They tend to emphasize the final product and may hide the trial-and-error history that led to it.

  4. At what point do data science and conventional software development become more similar?

    When a tested model or solution is ready to be deployed to production.

  5. Why may a data science project use separate research and deployment phases or teams?

    Exploration and modeling require a research-oriented workflow, while deployment and ongoing maintenance benefit from software-engineering practices.

  6. What kinds of work commonly occur during the exploratory phase of a machine-learning project?

    Researching the problem, examining data, testing approaches, and learning from mistakes.

  7. Why is a production-oriented IDE workflow useful after a model is finalized?

    It is better suited to deploying, maintaining, debugging, and updating production software.

  8. What is a notebook in the context of data science?

    An interactive environment that combines executable code with explanatory text, results, and a record of the analyst’s reasoning.

  9. How does a notebook differ from a basic interactive console?

    A notebook lets users surround code with explanations and preserve successive attempts and their results.

  10. How can a notebook preserve the evolution of an analysis?

    An analyst can retain earlier code and results, including unsuccessful attempts, alongside improved versions and explanations.

  11. Why can notebooks help teammates understand a model?

    They can show the reasoning and experiments behind the final result, not just the finished code or output.

  12. Where can data science notebooks be run?

    They can be hosted locally, integrated with an IDE, or used through hosted services such as cloud notebook environments.

  13. How can notebooks support work across environments with different data-access boundaries?

    A notebook can be moved to a customer’s cloud environment so analysis can continue with the customer’s data without transferring that data elsewhere.

  14. What is one practical way to reduce notebook merge conflicts in a team?

    Have individuals maintain their own project notebooks and combine their results into a shared presentation or results notebook when needed.

  15. What should a data science project contain to support reproducible work?

    Project source code, including notebook source, relevant saved in-memory data if desired, and the history of the work.

  16. What role does Git play in a reproducible data science project?

    Git versions and tracks source code and project changes.

  17. How can R Markdown notebooks be easier to version with Git than traditional Jupyter notebooks?

    R Markdown notebooks are text-based, while Jupyter notebooks store content in JSON with a separate presentation layer, which can make Git diffs less straightforward.

  18. What is the purpose of snapshotting an R project’s package environment?

    It fixes the package ecosystem to a chosen point in time so later dependency changes are less likely to affect the project.

  19. What were CRAN and MRAN in the R workflow described?

    CRAN is the repository of R packages and sources; MRAN provided daily snapshots of CRAN that could be used to reproduce a past package environment.

  20. How should a team choose the date for an R package snapshot?

    It may use the project’s start date or an earlier date judged more stable, such as one before a major ecosystem update.

  21. What approaches to preserving in-memory data can a project choose between?

    It can save in-memory data between runs or erase it and start fresh; the choice depends on the project.

  22. What Python approaches were mentioned for managing dependencies?

    Virtual environments and tools such as Anaconda can help manage dependencies.

  23. What can analysts do with notebook findings before production deployment?

    They can export or share findings in formats such as HTML or PDF.

  24. What happens to notebooks when a project moves into production?

    The notebooks are archived for reference, while the final logic, parameters, and agreed data-preparation steps are moved into a more production-oriented development workflow.

  25. How can a notebook support auditability and reproducibility?

    It can preserve the data-preparation steps, experiments, and reasoning so someone can retrace how the conclusions were reached.

  26. Why should a reproducibility check freeze both data and the software environment?

    Reproducing an analysis requires controlling changes to both the input data and the dependencies or tools used to analyze it.

  27. Why were the first k-means clustering results in the example poor?

    The useful variables were categorical, while k-means works with numeric data.

  28. What transformation was used to make categorical data more suitable for k-means?

    The categorical variables were converted into indicator columns, a transformation similar to one-hot encoding.

  29. What did the first visualization of the k-means results reveal?

    The clusters overlapped heavily, suggesting that the initial clustering was not useful.

  30. What change became visible after converting categorical data to indicator columns?

    The data began to show a more recognizable shape, although substantial cluster overlap remained.

  31. What was the purpose of using an automated clustering function in the example?

    It helped optimize the clustering and obtain more separation between clusters.

  32. What did the later clustering visualization suggest about the data?

    The clusters showed some separation and variability in their principal-component representation, though overlap remained.

  33. Why keep the successive clustering attempts in the notebook instead of simply replacing the code?

    The sequence records how the analysis improved and lets later readers understand the reasoning behind the final approach.

  34. What was a compute instance in the Azure Machine Learning example?

    A virtual-machine-like environment with tools such as JupyterLab and RStudio pre-installed.

  35. What extra setup was needed to snapshot the R environment in the cloud example?

    The checkpoint package had to be installed before the notebook could use it.

  36. How can a cloud machine-learning workspace support collaboration?

    It can provide shared access to notebooks and to underlying data managed by the platform.

  37. How can cloud notebook environments support larger machine-learning workloads?

    They can submit work to larger compute resources, including parallel workloads or an R Spark cluster.

  38. What practical advantage does a preconfigured cloud notebook environment offer data scientists?

    It reduces the need to set up IDEs, containers, and cluster infrastructure, allowing more focus on data science.

  39. What was the main difference between local and cloud RStudio environments in the example?

    They worked similarly, but the available libraries and packages could differ.

  40. What limitation was noted for some proprietary Microsoft machine-learning tools in the cloud?

    Using some proprietary techniques in the cloud was described as more difficult than using open-source packages.

Card 1 of 40
Card 1 of 40

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent