1
$\begingroup$

When our dataset has 5 or more attributes, what will be the method of producing a new sample with Smote algorithm? How will the Euclidean distance with 5 or more attributes be calculated?

$\endgroup$
1
  • $\begingroup$ Why is 5 or more attributed (variables) an issue? Euclidean distance can be computed for arbitrary dimensions. $\endgroup$ Commented Jan 17, 2022 at 9:38

1 Answer 1

1
$\begingroup$

Euclidean distance $d$ between vectors $x,y\in\mathbb R^n$ is:

$$ d(x,y)= \sqrt{ \sum_{i=1}^n \bigg( x_i-y_i \bigg)^2 } $$

If the dimension is $2$, that’s the formula. If the dimension is $5$, that’s the formula. If the dimension is $1234567890987654321$, that’s the formula.

However, SMOTE tends to be portrayed as a solution to something that isn’t such a problem.

$\endgroup$
1
  • 2
    $\begingroup$ I suspect SMOTE is useful for classification techniques where cost-sensitive learning is not readily available and where there is no direct means of controlling over-fitting, which I suspect was true for Naive Bayes, individual decision trees and RIPPER implementations at the time the paper was written. I don't think it ought to be used with modern methods, like the SVM, which supports both cost-sensitive learning and regularization (to avoid over-fitting). $\endgroup$ Commented Jan 17, 2022 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.