First Look at a Dataset
~6 mincode completion
Implement dataset_summary(X, y) returning the list [n_rows, n_features, n_classes].
Where this shows up
~6 min
••••••••••••••
7 employers weight this skill
2 health and bio companies, 2 quant funds, 2 enterprise vendors, 1 AI product company. Top match scores 50.
Python
import numpy as np
def dataset_summary(X, y):
"""
The three numbers to check before training.
Args:
X: feature matrix, one row per example, one column per feature
y: labels, one per row (numbers or strings)
Returns:
list [n_rows, n_features, n_classes]
"""
# YOUR CODE HERE
pass