-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KNN regression #269
Comments
could yo open another ticket for this?
…________________________________
From: cydcydcyd [[email protected]]
Sent: Friday, April 26, 2019 9:28 AM
To: Shark-ML/Shark
Cc: Oswin Krause; Mention
Subject: Re: [Shark-ML/Shark] KNN regression (#269)
another question.
when I use EpsilonSvmTrainer, I got some errors in SvmProblems.h
[image]<https://user-images.githubusercontent.com/31031796/56790627-a7402680-6837-11e9-8919-186d93f3d058.png>
[image]<https://user-images.githubusercontent.com/31031796/56790628-a7402680-6837-11e9-9819-672ae71770e7.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#269 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ADSZGBRUNKFKOJNRZ42AUW3PSKVIDANCNFSM4HISZWIA>.
|
thanks for reminding me of this. I have it already fixed, but am currently not at my work station. The errors are multi-thread related. Sorry for this.
…________________________________
From: cydcydcyd [[email protected]]
Sent: Friday, April 26, 2019 8:19 AM
To: Shark-ML/Shark
Cc: Oswin Krause; Mention
Subject: [Shark-ML/Shark] KNN regression (#269)
hello, I refer to the example of KNN classification and use KNN for regression.
here is my code:
KDTree<RealVector> tree(data.inputs()); TreeNearestNeighbors<RealVector, RealVector> algo(data, &tree); const unsigned int K = 5; // number of neighbors for kNN NearestNeighborModel<RealVector, RealVector> KNN(&algo, K); Data<RealVector> testInputs = spAver.matToRealVector(fMat); Data<RealVector> pred = KNN(testInputs);
when prediction starts, some thing wrong happened:
Exception thrown at 0x0000000000000274 in cellDemo.exe: 0xC0000005: Access violation executing location 0x0000000000000274.
[image]<https://user-images.githubusercontent.com/31031796/56787169-48c27a80-682e-11e9-9aad-923139c40a93.png>
can me help me?thanks!
@Ulfgard<https://github.com/Ulfgard>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#269>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ADSZGBU44S7HDDG4XOP6KRDPSKNIHANCNFSM4HISZWIA>.
|
hello,have you fixed it now? |
I have just pushed a change to 4.1 |
thanks for your working
At 2019-05-03 15:13:18, "Oswin Krause" <[email protected]> wrote:
I have just pushed a change to 4.1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello, I refer to the example of KNN classification and use KNN for regression.
here is my code:
KDTree<RealVector> tree(data.inputs()); TreeNearestNeighbors<RealVector, RealVector> algo(data, &tree); const unsigned int K = 5; // number of neighbors for kNN NearestNeighborModel<RealVector, RealVector> KNN(&algo, K); Data<RealVector> testInputs = spAver.matToRealVector(fMat); Data<RealVector> pred = KNN(testInputs);
when prediction starts, some thing wrong happened:
Exception thrown at 0x0000000000000274 in cellDemo.exe: 0xC0000005: Access violation executing location 0x0000000000000274.
can me help me?thanks!
@Ulfgard
The text was updated successfully, but these errors were encountered: