QuestionQ19Verified/Machine LearningCopy linkReport a problemAsk AstroTutorSave questionWhich of the following represents a key difference between the KNN and k-means machine-learning methods?AKNN operates exclusively on continuous data, while k-means can work with both continuous and categorical data.BKNN performs better with longitudinal data sets, while k-means performs better with survey data sets.CKNN is used for finding centroids, while k-means is used for finding nearest neighbors.DKNN is used for classification, while k-means is used for clustering.Show AnswerAnswerExplanationKNN uses the nearest labeled data points to assign a class to a new observation, whereas k-means groups unlabeled observations into clusters by iteratively determining cluster centroids.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion