Challenge - 5 Problems
Python ML Ecosystem Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
Key libraries for data manipulation in Python ML
Which Python library is primarily used for handling and analyzing structured data like tables?
Attempts:
2 left
❓ Predict Output
intermediate1:30remaining
Output of a simple NumPy array operation
What is the output of this code?
ML Python
import numpy as np arr = np.array([1, 2, 3]) result = arr * 2 print(result.tolist())
Attempts:
2 left
❓ Model Choice
advanced2:00remaining
Choosing the right library for deep learning
You want to build a deep neural network with GPU support and easy model building. Which Python library is best suited?
Attempts:
2 left
❓ Metrics
advanced1:30remaining
Understanding model evaluation metrics in scikit-learn
Which metric from scikit-learn is best to evaluate a classification model's ability to balance precision and recall?
Attempts:
2 left
🔧 Debug
expert2:00remaining
Identifying the error in a scikit-learn pipeline code
What error does this code raise?
ML Python
from sklearn.pipeline import Pipeline from sklearn.preprocessing import StandardScaler from sklearn.linear_model import LogisticRegression pipe = Pipeline([ ('scaler', StandardScaler()), ('clf', LogisticRegression()) ]) pipe.fit([[1, 2], [3, 4]], [0, 1])
Attempts:
2 left