How to use Matlab for K-Nearest Neighbor (KNN) to predict the real estate prices given a set of observation?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to use Matlab for K-Nearest Neighbor (KNN) to predict the real estate prices given a set of observation?
I couldn’t figure out how to use Matlab for K-Nearest Neighbor (KNN) to predict the real estate prices given a set of observations
0 commentaires
Réponses (1)
Walter Roberson
le 31 Mar 2023
When you use knnsearch use 'seuclidean' distance, and use the 'Scale' option to give a higher weight to the price column .
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!