-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
i.svm: Add libsvm-based image classification #2189
Conversation
…ructure (a.k.a. _misc) Full path to signature file now is: location/mapset/signatures/<type>/<name>/<element> This new structure will allow to store arbitrary number of files for each signature. None of existing signature types utilizes the new functionality.
… in a training map
As libsvm signatures will consist of multiple files, modification to management functions was necessary.
* use the new portable signature file layout in the mapset * add simple tests * add documentation
I don't like that neither Git nor CI see that issue. (I don't either, but that's an expected behavior.) |
My initial implementation of the periodic update workflow in #3200 was explicitly checking that, by regenerating configure each month, no make sure nothing changes, a bit like what the existing procedure in the docs were mentioning. But it got reviewed down to simply updating the config.guess and config.sub, and nothing more, since it was thought that the ubuntu version of autoconf might be too customized and if it was the case, the output could be slightly different. But when done manually, is autoconf really compiled from source just for that? In either case, if its now autoconf 2.71 that is used, we might have to update the dependency listed in here
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, but here we go again, also with 2.71.
In Ubuntu, that patch seems to be in 2.73-3, and not in 2.73-2, and Ubuntu Jammy (22.04) didn't get 2.73-3, stays at 2.73-2. We must decide which type of system is the source of truth, and all other systems should rerun autoconf (like they should, committing configure as a generated file isn't the best recommandation except for releases) to have the appropriate patches for their system. And is there a real issue with that makes the software unbuildable or incorrect with this ? The patches seem to originate from a bug that the packagers had to patch for. |
As long as we pre-generate |
This is problematic as I even had no idea I have some kind of "special" version that should not be used. Besides, as a former Gentoo user, I got used to run patched versions of packages ;-) |
I understand it is an annoyance. The changes I noted are, by the way, included with autoconf 2.72 and as far as I can tell not critical at all for us. For this PR it is enough to revert the two lines, no need to generate. |
Great, do hurry up to merge as soon as the CIs are done! :) |
In what other cases would you hope to tune the squash message (to know when it applies)? You have the box to edit it when using that option, it shows the same thing as normally, but earlier instead of later. |
List is long, but not every commit message in a PR is a candidate for merge commit message, some obvious ones: "fix typo", "apply black", "revert thisorthat"; nor any rebase/merge on main (I noticed if someone hits the "update branch", that person is also added as co-author, which is not a good reason for co-authorship). |
A pair of modules revealing most of features of libsvm to GRASS.
Libsvm is a popular library used in many machine learning programs (including scikit-learn). Contrary to some add-ons, this is a pure C implementation thus bypassing Python and depending on presence of libsvm.
Missing features:
This is still a WIP as some rough edges still need to be ironed out.