golearn icon indicating copy to clipboard operation
golearn copied to clipboard

KNN.optimisedEuclideanPredict undefined (type *KNNClassifier has no field or method optimisedEuclideanPredict)

Open etgcrog opened this issue 2 years ago • 6 comments

Hello, Dear

i'm use the package knn, but received a error in 133 line, i belive that the archive knn_opt_euclidean.go don't be imported correctly.

knn.go:132:16: KNN.optimisedEuclideanPredict undefined (type *KNNClassifier has no field or method optimisedEuclideanPredict)

etgcrog avatar Feb 20 '23 23:02 etgcrog

邮件已收到,谢谢!                  ——赵淼

riverlaker avatar Feb 20 '23 23:02 riverlaker

Sorry man, I found the error, the library requires that I have the c compiler (cpp) for it to work correctly. thank you anyway

etgcrog avatar Feb 21 '23 12:02 etgcrog

works if you build with CGO_ENABLED=1. kind of a bummer: I build everything with cgo disabled.

clambin avatar Oct 05 '23 16:10 clambin

邮件已收到,谢谢!                  ——赵淼

riverlaker avatar Oct 05 '23 16:10 riverlaker

您好,您的邮件已收到,我会尽快查看,^_^

dreaminglwj avatar Oct 05 '23 16:10 dreaminglwj

unsubscribe

On Thu, Oct 5, 2023 at 9:38 PM dreaminglwj @.***> wrote:

您好,您的邮件已收到,我会尽快查看,^_^

— Reply to this email directly, view it on GitHub https://github.com/sjwhitworth/golearn/issues/286#issuecomment-1749213718, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF7I55C7O4A7KCJMWCPRPLX53LQ5AVCNFSM6AAAAAAVCMCC3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGIYTGNZRHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Anand Seshadri, Carry on till you win http://vennarbank.blogspot.com/

vennarbank avatar Oct 10 '23 04:10 vennarbank