Skip to content

how the training/fitting happens when both x_train and y_train are of different sizes? #367

Answered by solegalli
teddcp2 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, if you remove outliers from the train set using the Outlier trimmer, then you need to remove from y_train those observations as well.
You can do so my looking at the X_train and y_train indeces.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@teddcp2
Comment options

@solegalli
Comment options

Answer selected by teddcp2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants