CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 12:24:45 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"d278b9c6ad4f38dfffcc3447acce5a9b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=9GrlyyZOeypsAWIPdMzTcSJ0jczZ%2F%2FpOeYLcdznd689ywtfJDR4yPhGuhwItsOMFFIvIAU1UVISsXcn0swbwX61mx97fFpovO0nuJgUHiiMVvtKpS9DACWN3an%2BexSDqqqDwnnPWqKFwspDoz8d3rVA9sjEL4Z2tHW9ynoxt1kiyr%2BV3tlV96d7zqPQOcaxDgnByxz3%2BEZK8u3qbbFDbgF%2FvsnZG%2FnfTqhjjKsMPluzTfFUY8RqrJ7z8OHQI8HFYgE6YG2XKRSJhWTv2sz2Big%3D%3D--x%2BAkcRDD04Y8I6Rh--1Jplpd7St6r11mfZWEEpTg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1678458502.1753359884; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 12:24:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 12:24:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C800:0A93:A4F4BC:C38B0D:6882260C
GitHub - melisgl/cl-libsvm: Common Lisp wrapper for the libsvm support vector machine library.
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1
Common Lisp wrapper for the libsvm support vector machine library.
License
melisgl/cl-libsvm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CL-LIBSVM Common Lisp wrapper for the libsvm support vector machine library by Ravenpack, Gabor Melis. It's under the MIT licence. See COPYING. * Design notes The lisp API tries to protect the programmer from the dangers of C, take care of memory management and wrap everything in CLOS classes while trying not to deviate too much from the original interface so that one can use existing documentation without too much trouble. * API differences PROBLEMs, PARAMETERs and MODELs are represented as CLOS classes. Foreign memory is freed when they are garbage collected. The implementation is based on weak value hash tables (currently for sbcl, allegro and clisp). In the C API, one passes sparse vectors as struct node *, where a node with index -1 denotes the end of the vector. On the lisp side one passes sparse vectors as vectors of index/value conses like (VECTOR (CONS 2 0.1) (CONS 3 0.2)) or as mapper functions. The restrictions that indices should be increasing and not less than 1 still stand, but unlike in C, violations are detected. A mapper for a sparse vector calls the function it is given with index and value parameters. A mapper function that simply maps a vector of conses is: (lambda (fn) (map nil (lambda (c) (funcall fn (car c) (cdr c))) (vector (cons 2 0.1) (cons 3 0.2)))) Mappers abstract away the underlying data structure. Generalized sequences would be nicer, but they only exist in SBCL. One can pass a mapper function instead of a vector anywhere including the TARGETS parameter of TRAIN. It also works for the INPUTS parameter since INPUTS is a vector of sparse vectors one can turn it into a mapper to sparse vector mappers. * Compatibility Tested with libsvm version 2.82, 2.83, 2.86 and 2.88. Some functionality (MODEL-W2S) requires patching the original sources. The distributed sources under lib/src/ contain the necessary changes. In the lib/ directory there are platform specific shared libraries, see the README files for version information. Note that you may want to disable excessive verbosity by changing '#if 1' to '#if 0' around the definition of info in svm.cpp. The precompiled libraries in lib/ contain this change.
About
Common Lisp wrapper for the libsvm support vector machine library.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
You can’t perform that action at this time.