What does plt.xlabel(“Year”) do in a matplotlib plot?
What does the following code return? import numpy as npnp.ar…
What does the following code return? import numpy as npnp.array() + 5
Assume we are building a regression model using a neural net…
Assume we are building a regression model using a neural network to predict house prices. Which of the following loss functions is most appropriate?
In KNN, what does the n_neighbors parameter control?
In KNN, what does the n_neighbors parameter control?
Why are the new features created by PCA often harder to inte…
Why are the new features created by PCA often harder to interpret?
Suppose you’ve already fit a model with model.fit(X_train, y…
Suppose you’ve already fit a model with model.fit(X_train, y_train). What does model.predict(X_test) return?
Which of the following best describes a Large Language Model…
Which of the following best describes a Large Language Model (LLM) like ChatGPT?
What does .explained_variance_ratio_ show after fitting PCA?
What does .explained_variance_ratio_ show after fitting PCA?
What is the danger of keeping too many irrelevant features i…
What is the danger of keeping too many irrelevant features in a model?
What is a limitation of PCA?
What is a limitation of PCA?