Posts by Carlos Daniel Pohlod • 1 point
3 posts
-
0
votes1
answer16
viewsA: What is the difference between Kneighborsclassifier and Nearest Neighbors?
The K-Neareast Neighbors (KNN) expects as input a matrix with the points and their respective labels, that is, it is supervised learning because the input information is already classified, the…
-
0
votes1
answer16
viewsQ: What is the difference between Kneighborsclassifier and Nearest Neighbors?
I know the concept of neighborhood algorithms but came across two implementations in the Sklearn library Nearestneighbors and K-Nearestneighbors, but I could not understand the difference, it is…
-
0
votes2
answers67
viewsA: Does every function need a Return at the end of its execution?
Not necessarily, only if you need the function to return something, for example: def printMessage(): print("mensagem") In that case not the need for return