Question: In a k - NN classifier that used multiple input variables, should data be standardized before or after data partitioning? Standardization before partitioning Standardization after

In a k-NN classifier that used multiple input variables, should data be standardized before or after data partitioning?
Standardization before partitioning
Standardization after partitioning
The order does not matter
The order matters and depends on the context
There is no need to standardize the data, and therefore, this question is irrelevant.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!