predicting more than one set of features #828
-
Hi, i'm very new to this area and i'm trying to implement a SAM-kNN classifier, but the only implemented method for predicition is predict_one? So I have to implement a predict_more_than_one sort of thing ? How would that go? If it's already implemented it doesn't say in the API reference. Thanks for the help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @duduhqp 😀, River's philosophy is to offer highly optimised algorithms for learning and predicting one observation at a time. Some River models are able to train and predict on several observations at once. These models have a dedicated and optimized |
Beta Was this translation helpful? Give feedback.
Hi @duduhqp 😀,
River's philosophy is to offer highly optimised algorithms for learning and predicting one observation at a time. Some River models are able to train and predict on several observations at once. These models have a dedicated and optimized
learn_many
andpredict_many
method. Unfortunately SAM-KNN does not have such method yet. You could rely on a for loop to predict over several samples