Skip to main content

Sparse Multiple-Instance Learning: SVM, NSK, sMIL and sAwMIL.

Project description

Sparse Multiple-Instance Learning in Python

MIL models based on the Support Vector Machines (NSK, sMIL, sAwMIL). Inspired by the outdated misvm package.

Note: This is an alpha version.

Installation

pip install sawmil

Quick start

from sawmil.svm import SVM

clf = SVM(kernel="linear")
clf.fit(X, y)

See example.ipynb.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sawmil-0.1.1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sawmil-0.1.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file sawmil-0.1.1.tar.gz.

File metadata

  • Download URL: sawmil-0.1.1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for sawmil-0.1.1.tar.gz
Algorithm Hash digest
SHA256 536177ec10d95f1671d5baa01df47a55ea52b5f4b8ed65f103c5c132cc2131fa
MD5 aecf136782e24443bb81bb7a21f10916
BLAKE2b-256 c71612d48138a62a80a24f5dcdfabeb7d3f902b3cf6a4d0bd0022889273b9d49

See more details on using hashes here.

File details

Details for the file sawmil-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sawmil-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for sawmil-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 587c0c43da7f7743af80403fc17d77ad07ebd00a520cda9dc87c4bb0aa74b382
MD5 c325a1148f73a9e09d24e0f164bf671b
BLAKE2b-256 b90af8a59216dfcdf5a9b78a2e74d4373b746805c04434040284ccf59e870b66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page