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)
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

Réponses (1)

Walter Roberson
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 .

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by