Which statement BEST describes the relationship between AI, ML, and deep learning?
Pcei Ai Fundamentals Category
Question · Easy
Overfitting: I memorized the practice test
Short
Which type of machine learning learns from labeled examples?
Which task is an example of REGRESSION (not classification)?
Question · Medium
Tech Exam Prep Podcast
Listen on Spotify
Podcast
Which task is an example of CLUSTERING?
What is reinforcement learning's main feedback signal?
Spot the AI hallucination
What does 'training a model' mean in machine learning?
Why do we split data into train, validation, and test sets?
What is overfitting?
What is underfitting?
Which is NOT a typical step in a machine learning pipeline?
Which import statement is the conventional alias for NumPy?
Pcei Data Prep Category
How do you create a NumPy array of zeros with shape (3, 4)?
What is broadcasting in NumPy?
Question · Hard
What does this code print? ```python import numpy as np a = np.array([1, 2, 3, 4]) print(a.mean()) ```
How do you create a pandas DataFrame from a dictionary?
Which DataFrame method handles missing values by removing rows containing them?
What does df.iloc[0:5, 1:3] return?
Which sklearn preprocessing class scales features to zero mean and unit variance?
What does this code do? ```python from sklearn.preprocessing import OneHotEncoder enc = OneHotEncoder() X_encoded = enc.fit_transform(X_categorical) ```
What is the typical sklearn function for splitting data into train and test sets?
Why is it bad to fit a StandardScaler on the FULL dataset before splitting into train/test?
Which sklearn class chains preprocessing and a model into a single estimator?
Which sklearn function performs k-fold cross-validation and returns scores?
Which Pandas method merges two DataFrames on a common column?
What is the typical NumPy dtype for floating-point ML computations?
How do you reshape a NumPy array of 12 elements into a 3x4 matrix?
Which sklearn class implements a logistic regression classifier?
Pcei Sklearn Models Category
What does this code do? ```python from sklearn.ensemble import RandomForestClassifier clf = RandomForestClassifier(n_estimators=100) clf.fit(X_train, y_train) preds = clf.predict(X_test) ```
Which sklearn class implements k-Nearest Neighbors classification?
Which classification metric is the harmonic mean of precision and recall?
Which sklearn function computes the confusion matrix?
What is the difference between precision and recall?
Which sklearn class performs k-means clustering?
Which density-based clustering algorithm does NOT require specifying the number of clusters?
Which metric is appropriate for evaluating a REGRESSION model?
What does sklearn's GridSearchCV do?
What is regularization in machine learning?
Which sklearn dataset loader returns the iris dataset?
Which sklearn class implements a linear regression model?
What does .fit_transform() do in a sklearn transformer?
Which sklearn metric returns R-squared (coefficient of determination)?
What does class_weight='balanced' do in sklearn classifiers?
Which is TRUE about Decision Trees in sklearn?
Which activation function outputs values between 0 and 1, often used for binary classification output layers?
Pcei Neural Networks Category
Which activation function is the most common default for hidden layers in modern deep networks?
Loading more…