Skip to content

Variable not defined in Wrap-up quiz 7 Q11 #840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ArturoAmorQ opened this issue Jun 2, 2025 · 0 comments
Open

Variable not defined in Wrap-up quiz 7 Q11 #840

ArturoAmorQ opened this issue Jun 2, 2025 · 0 comments

Comments

@ArturoAmorQ
Copy link
Collaborator

As mentioned irl by @rouk1, in Q11 from wrap-up quiz 7 we provide a code snippet as follows:

cv = LeaveOneGroupOut()
train_indices, test_indices = list(cv.split(data, target, groups=groups))[0]

data_linear_model_train = data_linear_model.iloc[train_indices]
data_linear_model_test = data_linear_model.iloc[test_indices]

where we defined data_linear_model in the hidden solutions and therefore it's very easy to miss. We should make clear that data_linear_model refers to the data containing features used for the linear model in question 1, i.e. "speed", "speed^3", "speedsin(alpha)" and "speedacceleration".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant