1. How do statistical inference and machine learning algorithms differ in their primary objectives within data science?
Statistical inference is used for hypothesis testing and estimating population parameters, whereas machine learning focuses on building predictive models from data.
Spiegazione
Statistical inference is primarily concerned with drawing conclusions about a population based on a sample, such as estimating parameters or testing hypotheses. In contrast, machine learning algorithms aim to develop models that can predict or classify data points, often focusing on accuracy and generalization to new data. The correct answer (index 2) correctly describes this fundamental difference in their primary objectives.