原书出处
Machine Learning Fundamentals: Concepts, Models, and Applications
The value of K should be an odd number to avoid ties. A conventional way of finding k value is by using the expression: where n is the number of data points. The data should be divided into training and validation sets. Usually, the test set is not used. The validation set is used to tune the value of K. Then select K that works
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Machine Learning Fundamentals: Concepts, Models, and Applications/_epub-src/OEBPS/xhtml/19_chapter06.xhtml
EPUB SHA-256:cd5888fc4b08a1424ddc108808de40630455d9f7e3f562ef4ee7cc2b70acad2a