-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Remove old API from SWIG #4463
Comments
#4462 is an example that requires some more work as the gaussian kernel is used all over shogun's history, other classes (such as machines) should be much smaller diffs The main thing to keep the build intact is
I have ignored for now (as not part of the build)
|
I'll start working a bit on this. Btw what exactly are the undocumented python examples? I can start translating them to .sg files? |
Yes, the idea is to convert all undocumented python examples to .sg files. |
How do you handle the GPL only classes? Is there a way to hide .sg files from the compiler/test with GPL only implementations? |
Its in cmake...
… On 14 Jan 2019, at 13:39, Gil ***@***.***> wrote:
How do you handle the GPL only classes? Is there a way to hide .sg files from the compiler/test with GPL only implementations?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Also need to come up with a way to get to the solvers when LibLinear.h is removed from Classifier.i shogun/src/shogun/classifier/svm/LibLinear.h Lines 21 to 38 in f8a120b
|
|
Check |
That is a good point .... will need to continue to expose those to swig with the current design (could change later). Might need to think about this ... |
I find that a lot undocumented examples are just slight variations of one another.. for example the svms are very similar in terms of API. But they also are helpful for debugging... |
That is true
We still want to port them all (at least every class), keep in mind the
examples also serve as integration tests (if you add re data file, see
readme) so wenincrease coverage a lot (this has been helpful when
refactoring classes that have no unit tests.
What you are saying is true though for the cookbooks: we don’t need one for
every svm if they all have the same api. Just one well written that
represents all does it here.
On Mon, 14 Jan 2019 at 17:36, Gil ***@***.***> wrote:
Either delete (if it doesnt show something useful, some example were
tests), or translate (which might need some c++ adjustments here and there
I find that a lot undocumented examples are just slight variations of one
another.. for example the svms are very similar in terms of API
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#4463 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAqqv1zJaGSQRcO2xpMlNATwxsuGyYiiks5vDLH5gaJpZM4Z9Hyv>
.
--
Sent from my phone
|
No description provided.
The text was updated successfully, but these errors were encountered: