Reproducible Data Science
- 47Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
47 questions
- 1The modeling stage of data science is more like_____than conventional software development.
Hint
Think of the activity of investigating, testing ideas, and learning from results.
Answer
research
Explanation
Modeling involves exploration and investigation, so it is more like research than building a predefined software product.
- 2In a machine-learning project, software development becomes most prominent near the_____of the process, when a model is ready for production.
Hint
This is the stage after research and modeling are complete.
Answer
very end
Explanation
The software-development aspect comes in near the very end, when the work is ready to be deployed to production.
- 3During machine-learning research, trials, errors, and mistakes can be valuable because they reveal_____that can inform later choices.
Hint
Think about what unsuccessful experiments teach the team.
Answer
what did not work
Explanation
Recording unsuccessful approaches helps explain how the team arrived at its eventual solution.
- 4Traditional IDEs are designed to help create the final product, and can hide the_____made along the way.
Hint
Consider what may be obscured when an IDE focuses on polished results.
Answer
sweat and errors and the mistakes
Explanation
The speaker contrasts IDEs' focus on the final product with the value of seeing the experimentation and mistakes behind it.
- 5A notebook is especially useful during the_____part of machine learning, when people are exploring and testing ideas.
Hint
This is the phase before the work shifts toward production maintenance.
Answer
research oriented
Explanation
Notebooks suit the research-oriented part of machine learning because they preserve experimentation and thinking.
- 6When a machine-learning model is ready for deployment and ongoing maintenance, a more classical_____approach is often better suited.
Hint
Think of the environment typically used to build and maintain production software.
Answer
IDE-based development
Explanation
The speaker recommends a more classical, perhaps IDE-based, development approach for final production stages and maintenance.
- 7In larger companies, a separate team may take responsibility for model_____and deployment.
Hint
This refers to preparing a model so it can be put into service.
Answer
deployability
Explanation
The speaker notes that larger organizations may assign deployability and deployment to a dedicated team.
- 8A reproducible workflow keeps a record of the research process so future readers can understand how the team_____at its conclusions.
Hint
The missing word describes reaching a result through a sequence of work.
Answer
arrived
Explanation
A record of the work makes it possible to follow the reasoning that led to a conclusion.
- 9A notebook is described as an interactive console, or a console on_____.
Hint
The phrase emphasizes that a notebook offers capabilities beyond a basic console.
Answer
steroids
Explanation
A notebook combines an interactive coding environment with additional ways to document and preserve work.
- 10Unlike a basic console, a notebook lets users surround code with explanations, text, and their_____.
Hint
This is the reasoning that accompanies the code and results.
Answer
thinking
Explanation
A notebook can preserve explanations and the author's thinking alongside executable code.
- 11A notebook can preserve an incorrect version of code and then show later_____versions of the approach.
Hint
Think of the version that improves on an earlier attempt.
Answer
better
Explanation
Users can retain earlier code and results while replicating and improving the approach in later notebook sections.
- 12Notebooks can be hosted locally on a laptop, integrated into an IDE, or used through a_____version.
Hint
This option lets a user work without installing the notebook environment locally.
Answer
hosted
Explanation
The content describes local notebooks, IDE-integrated notebooks, and hosted notebook services.
- 13Wrapping work in a notebook can make it easier to move between environments and continue using a customer's data without sharing the data across unnecessary_____boundaries.
Hint
These boundaries help control access to sensitive information.
Answer
security
Explanation
The speaker describes moving notebook work to a customer's cloud environment to work with its data without crossing unnecessary security boundaries.
- 14When a team shares a notebook, the speaker recommends that it be_____into sections managed by individuals.
Hint
This means dividing the work into manageable parts.
Answer
componentize
Explanation
Componentizing a shared notebook lets individuals manage sections and combine results later.
- 15The simplest team approach described is for each person to carry their own notebook, with the notebooks managed as part of the project using_____.
Hint
This tool tracks versions and source-code changes.
Answer
Git
Explanation
Individual notebooks can be part of a project managed with Git, reducing conflicts from multiple people editing the same notebook.
- 16When research notebooks are handed to someone else, they can scan the author's entire_____rather than seeing only the final result.
Hint
This is the reasoning process that led to the result.
Answer
way of thinking
Explanation
Notebooks preserve the path of exploration, helping another person understand how the author reached the outcome.
- 17The project created at the start of the workflow holds source code, notebook source, selected in-memory data, and the_____of the work.
Hint
This records what has happened throughout the project.
Answer
entire history
Explanation
The project is intended to contain the code, any in-memory data chosen for saving, and the history of the work.
- 18For versioning and source-code control, the tool described as the tool of choice is_____.
Hint
It is commonly used to track code changes over time.
Answer
Git
Explanation
The speaker identifies Git as the environment and tool of choice for versioning and source-code control.
- 19In RStudio with an R Markdown notebook, the notebook is stored as_____that can be read and managed much like other programming-language source.
Hint
The speaker contrasts this with Jupyter's underlying format.
Answer
text
Explanation
R Markdown notebooks are text, while the notebook interface provides a preview of the work.
- 20In Jupyter, the source that creates a layer between the user-facing notebook and its underlying file is stored as_____.
Hint
This is a structured data-interchange format.
Answer
JSON files
Explanation
The speaker explains that Jupyter's notebook interface sits over an underlying JSON-file layer.
- 21The Microsoft daily snapshot of CRAN was provided by the time machine called_____.
Hint
This is the named service used to snapshot the R package ecosystem.
Answer
MRAN
Explanation
MRAN provided daily snapshots of CRAN, allowing projects to use an earlier state of the R ecosystem.
- 22The repository archive containing packages and sources for the R ecosystem is called_____.
Hint
It is the central repository archive mentioned alongside MRAN.
Answer
CRAN
Explanation
CRAN is the repository archive of packages and sources for the R ecosystem.
- 23To freeze the R ecosystem for a project, practitioners select a particular date and use it as a_____.
Hint
This captures the state of dependencies at a point in time.
Answer
snapshot
Explanation
A snapshot fixes the state of the R ecosystem to a chosen date so later dependency changes do not affect the project.
- 24A project may use a date older than its start date if that date represents a more_____state of the ecosystem.
Hint
The goal is to avoid a period just after a major release or update.
Answer
stable
Explanation
The speaker says an older snapshot can be preferable when the ecosystem was more stable than immediately after a major update.
- 25In Python, dependency isolation can be handled using virtual environments or tools such as_____.
Hint
This is one of the Python environment-management options mentioned.
Answer
Anaconda
Explanation
The speaker cites virtual environments and Anaconda as ways of dealing with Python dependencies.
- 26Whether to preserve in-memory data between project runs or erase it and start fresh is a choice teams can decide on_____.
Hint
The speaker says this decision need not be settled at the beginning.
Answer
later
Explanation
The workflow allows different attitudes toward retaining in-memory data, with the decision deferred until later.
- 27When findings are ready to share, a notebook can be exported as a PDF or an_____.
Hint
This is a common web-page format that can also be used for sharing results.
Answer
HTML
Explanation
The speaker mentions exporting notebook findings as PDFs or HTML, including for possible academic publication.
- 28After the work is tested and ready for production, the team switches from notebooks to an_____.
Hint
This is the development environment more suited to production code maintenance.
Answer
IDE
Explanation
The workflow abandons the notebook environment for production development, while retaining the notebook for future reference.
- 29When moving to production, the notebook is abandoned as a working environment but_____for future purposes.
Hint
The notebook is kept rather than permanently discarded.
Answer
archived
Explanation
The speaker says notebooks are archived so the research process remains available later.
- 30To reproduce an analysis reliably, both the data and the computing_____need to be frozen in time.
Hint
This includes the software and dependencies used to run the analysis.
Answer
environment
Explanation
The speaker says reproducibility depends on freezing the data and the environment in which the analysis runs.
- 31If a reviewer questions an analysis, a documented notebook can help retrace the work by replaying part of the_____.
Hint
This is the record containing code, results, and the analytical process.
Answer
notebook
Explanation
Replaying part of the notebook makes it easier to check the steps and address concerns about the analysis.
- 32Including data preparation in a notebook makes it possible to trace the work from the starting data through to the_____.
Hint
These are the results reached at the end of the analysis.
Answer
conclusions
Explanation
If data preparation is recorded, readers can follow the analysis from the initial data to its conclusions.
- 33A reproducible notebook supports auditability and explainability by preserving the data preparation and the analyst's_____.
Hint
It records the reasoning behind the analytical choices.
Answer
way of thinking
Explanation
A notebook makes the process more auditable and explainable by preserving the reasoning and steps that produced the result.
- 34If the original analyst is unavailable, another person can pick up the work from the notebook and continue from where the analyst left off in the_____.
Hint
This describes the reasoning that was in progress when the work stopped.
Answer
thought process
Explanation
The notebook gives a successor a record of the original analyst's thought process and work.
- 35The R workflow example ran alongside Microsoft SQL Server ML Services so analysis could be performed close to the_____.
Hint
This is where many customers' information resides.
Answer
data
Explanation
The speaker values analyzing data close to its source, often a traditional relational database such as SQL Server.
- 36In the example, the first k-means clustering results were poor because the useful features were mostly_____.
Hint
These features represent categories rather than the kind of numeric values k-means prefers.
Answer
categorical
Explanation
The original data was categorical, whereas k-means requires or prefers numerical inputs, leading to poor initial clusters.
- 37To make categorical data more suitable for k-means, the example converted it into indicator columns, a technique similar to_____.
Hint
This coding approach represents categories with separate binary indicators.
Answer
one-hot coding
Explanation
The R function created indicator columns, similar to one-hot coding, to make the categorical data more suitable for k-means.
- 38After converting categorical data into indicator columns, the cluster plot showed more structure, although the clusters still had too much_____.
Hint
The clusters were not yet clearly separated from one another.
Answer
overlap
Explanation
The improved plot began to show shape in the data, but substantial overlap between clusters remained.
- 39The example used the R function_____to automate repeated clustering attempts and improve cluster separation.
Hint
This function runs the clustering process in an automated way.
Answer
k-means runs
Explanation
The speaker used k-means runs, from a clustering package, to optimize how the clusters looked.
- 40The example used_____to represent the shape of the data and indicate variability in the cluster definitions.
Hint
These summarize variation in data and were used to visualize cluster shape.
Answer
principal components
Explanation
The principal components suggested that meaningful variability in the cluster definitions was emerging.
- 41An Azure Machine Learning compute instance is similar to a virtual machine and comes with tools such as JupyterLab, Jupyter, and_____.
Hint
This is the R development environment the speaker emphasized.
Answer
RStudio
Explanation
The described compute instance has pre-installed Jupyter tools and RStudio, allowing browser-based work.
- 42When using Azure rather than SQL Server ML Services, the notebook example needed the_____package installed before checkpointing.
Hint
This package supports pinning the R environment to a particular time.
Answer
checkpoint
Explanation
The speaker says that in Azure, the checkpoint package must be installed first, requiring one additional line.
- 43Azure Machine Learning can provide access to both notebooks and the underlying_____handled by the service.
Hint
This is the information the analysis uses and that can be shared within the workspace.
Answer
data
Explanation
The speaker describes sharing access to notebooks as well as the underlying data managed by Azure ML.
- 44If machine-learning work requires more computing power, it can be run on a larger compute cluster, including an R_____cluster.
Hint
This is a framework commonly associated with distributed data processing.
Answer
Spark
Explanation
The speaker notes that work can be scaled to larger compute resources, including an R Spark cluster in Azure ML.
- 45Using a hosted compute instance lets data scientists spend more time on data science and less on configuring Docker, Kubernetes, and other_____.
Hint
This broad category includes the technical setup required to run the environment.
Answer
infrastructure
Explanation
Pre-installed cloud tools reduce the setup burden of IDEs, Docker, and Kubernetes so data scientists can focus on their analysis.
- 46The cloud and local RStudio setups work similarly, but may differ in the libraries and_____available in each environment.
Hint
These extend the capabilities of the R environment.
Answer
packages
Explanation
The speaker says the setup and work are essentially the same, subject to differences in installed libraries and packages.
- 47Microsoft-specific machine-learning techniques mentioned for SQL Server include the Microsoft ML package and the_____package.
Hint
This package is named alongside Microsoft ML for proprietary techniques.
Answer
RevoScaleR
Explanation
The speaker identifies Microsoft ML and RevoScaleR as options for fast, more proprietary machine learning in SQL Server.

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