num_examples = X.shape[0] #num_examples=300 exp_scores = np.exp(scores) #scores = np.dot(X, W) + b probs = exp_scores / np.sum(exp_scores, axis=1, keepdims=True)