Skip to main content
Files added late

4 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

Graph-based Clustering and Semi-Supervised Learning

Clustering

This python package is devoted to efficient implementations of modern graph-based learning algorithms for semi-supervised learning, active learning, and clustering. The package implements many popular datasets (currently MNIST, FashionMNIST, and CIFAR-10) in a way that makes it simple for users to test out new algorithms and rapidly compare against existing methods. Full documentation is available, including detailed example scripts.

This package also reproduces experiments from the paper

J. Calder, B. Cook, M. Thorpe, D. Slepcev. Poisson Learning: Graph Based Semi-Supervised Learning at Very Low Label Rates., Proceedings of the 37th International Conference on Machine Learning, PMLR 119:1306-1316, 2020.

Important: The variational autoencoder embedding (VAE) for MNIST has been improved since our ICML paper was published. To make this more clear, I have now updated the package so that metric=vae is the old VAE from our ICML paper, while metric=vae2 is the new updated VAE, which gives better results. Please note which one you are using to make comparisons. Note that in a previous version of the package, I used vae_old in place of vae and vae instead of vae2.

Installation

Install with

pip install graphlearning

Required packages will be installed automatically, and include numpy, scipy, sklearn, and matplotlib. Some features in the package rely on other packages, including annoy for approximate nearest neighbor searches, and torch for GPU acceleration. You will have to install these manually, if needed, with

pip install annoy torch

It can be difficult to install annoy, depending on your operating system.

To install the most recent version of GraphLearning from the github source, which is updated more frequently, run

git clone https://github.com/jwcalder/GraphLearning
cd GraphLearning
pip install .

If you prefer to use ssh swap the first line with

git clone git@github.com:jwcalder/GraphLearning.git

Documentation and Examples

Full documentation for the package is available here. The documentation includes examples of how to use the package. All example scripts linked from the documentation can be found in the examples folder.

Older versions of GraphLearning

This repository hosts the current version of the package, which is numbered >=1.0.0. This version is not backwards compatible with earlier versions of the package. The old version is archived here and can be installed with

pip install graphlearning==0.0.3

To make sure you will load the old version when running import graphlearning, it may be necessary to uninstall all existing versions pip uninstall graphlearning before running the installation command above.

Citations

If you use this package in your research, please cite the package with the bibtex entry below.

@software{graphlearning,
  author       = {Jeff Calder},
  title        = {GraphLearning Python Package},
  month        = jan,
  year         = 2022,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.5850940},
  url          = {https://doi.org/10.5281/zenodo.5850940}
}

Contact and questions

Email jwcalder@umn.edu with any questions or comments.

Acknowledgments

Several people have contributed to the development of this software:

  1. Mauricio Rios Flores (Machine Learning Researcher, Amazon)
  2. Brendan Cook (PhD Candidate in Mathematics, University of Minnesota)
  3. Matt Jacobs (Postdoc, UCLA)
  4. Mahmood Ettehad (Postdoc, IMA)
  5. Jason Setiadi
  6. Kevin Miller (Postdoc, Oden Institute)

Release files for graphlearning 1.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Files added late

4 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for graphlearning 1.7.5
File Size Uploaded
graphlearning-1.7.5.tar.gz 93.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for graphlearning 1.7.5
File
graphlearning-1.7.5-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
graphlearning-1.7.5-cp314-cp314-macosx_10_15_universal2.whl CPython 3.14 CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64) Details
graphlearning-1.7.5-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
graphlearning-1.7.5-cp313-cp313-macosx_10_13_universal2.whl CPython 3.13 CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) Details
graphlearning-1.7.5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
graphlearning-1.7.5-cp312-cp312-macosx_10_13_universal2.whl CPython 3.12 CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) Details
graphlearning-1.7.5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
graphlearning-1.7.5-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details
graphlearning-1.7.5-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
graphlearning-1.7.5-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details
graphlearning-1.7.5-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
graphlearning-1.7.5-cp39-cp39-macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) Details
graphlearning-1.7.5-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
graphlearning-1.7.5-cp38-cp38-macosx_11_0_universal2.whl CPython 3.8 CPython 3.8 macOS 11.0+ universal2 (ARM64, x86-64) Details

Total release size: 2.2 MB

Release files / graphlearning-1.7.5.tar.gz

Download URL graphlearning-1.7.5.tar.gz
Size 93.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a89fde9eaaf58443ac78d7ef7b3c0a183ca398c2b3ce7a4a340c4d121fed9f5a
BLAKE2b-256 checksum
How to use checksums
44d1277a72ec91551344001bf42f194dd5b3fc5b2bb7b82a8505fd6322b92b56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / graphlearning-1.7.5-cp314-cp314-win_amd64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL graphlearning-1.7.5-cp314-cp314-win_amd64.whl
Size 113.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
192107eda0426a383c70191bed24eba48b15b0392a62c400885aad93d85f2ebf
BLAKE2b-256 checksum
How to use checksums
3b9b3b80e04e32091f65d43148327bae9b8dd85dcbecddf847513ee12d410652
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / graphlearning-1.7.5-cp314-cp314-macosx_10_15_universal2.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL graphlearning-1.7.5-cp314-cp314-macosx_10_15_universal2.whl
Size 182.9 kB
Tags CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
cf2303abc16ad99a1edc5148fe9247332fe998eccf1b5ebe2c5de2c01853ecad
BLAKE2b-256 checksum
How to use checksums
2ef655e818ae066e6ece3a2073e2374d5ff6488052611bb4514a187033577053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / graphlearning-1.7.5-cp313-cp313-win_amd64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL graphlearning-1.7.5-cp313-cp313-win_amd64.whl
Size 112.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
6e8f374865943c747434c42bdf8da5b6d8bcc5be6628afbe0079bc2a3417c7cc
BLAKE2b-256 checksum
How to use checksums
edd4f896f709e8064ca25b23278ba87a45374d522628698ac04f9fb402c72418
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / graphlearning-1.7.5-cp313-cp313-macosx_10_13_universal2.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL graphlearning-1.7.5-cp313-cp313-macosx_10_13_universal2.whl
Size 182.9 kB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
93f985f25bd09c6e2a9638e29a5a50de7ca6910e492c8ecee50dac901c828b91
BLAKE2b-256 checksum
How to use checksums
c751f31c3567629386dee34d71cb47b4616a79fe51bdb1fbe03ff40386f75717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / graphlearning-1.7.5-cp312-cp312-win_amd64.whl

Download URL graphlearning-1.7.5-cp312-cp312-win_amd64.whl
Size 112.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
231375e5063e5d5b64a2e8196d5718e61d34297e5cb676fe28135cc2da86420f
BLAKE2b-256 checksum
How to use checksums
6597ade8269a9c5bdfba898b0e5e04f5ea700609398ee6ba87fe54ec8da9783c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / graphlearning-1.7.5-cp312-cp312-macosx_10_13_universal2.whl

Download URL graphlearning-1.7.5-cp312-cp312-macosx_10_13_universal2.whl
Size 182.9 kB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
b15f66e2fdeba67b8d0ff4c9c83f8b45f51e63fd40c008159f3f3b4caca40bd3
BLAKE2b-256 checksum
How to use checksums
42ca05ca8ae1ec07e8853298b6abd1888bfe0f1718269a7a2a73abe2a90ac446
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / graphlearning-1.7.5-cp311-cp311-win_amd64.whl

Download URL graphlearning-1.7.5-cp311-cp311-win_amd64.whl
Size 112.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
585ff4d80f80273cbf2e56c015ef349039548a6ad5e6b053bfb9f270578fc1b7
BLAKE2b-256 checksum
How to use checksums
184fb24a107b6e0a7c7f79e2505cc2f75cab6f9865da5e827151052c42d201b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / graphlearning-1.7.5-cp311-cp311-macosx_10_9_universal2.whl

Download URL graphlearning-1.7.5-cp311-cp311-macosx_10_9_universal2.whl
Size 182.8 kB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
428aa9dc1d1d797568b2bb47fb057b9b7f06cbeb5d0a534b1529cb7a5a204e2e
BLAKE2b-256 checksum
How to use checksums
a63ae1ba895b8473141762ff50a2f3f3f62fba21cdea47a8fd6db023467073d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / graphlearning-1.7.5-cp310-cp310-win_amd64.whl

Download URL graphlearning-1.7.5-cp310-cp310-win_amd64.whl
Size 112.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
45aa9936d2b6b74b7fd0df2c81b021743fd6855d477dfad5981d93ffad7d08c3
BLAKE2b-256 checksum
How to use checksums
a659d9b37be90eb0d2d486910b264c53aa0aa151ba10469606a5d46a80b8e544
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / graphlearning-1.7.5-cp310-cp310-macosx_10_9_universal2.whl

Download URL graphlearning-1.7.5-cp310-cp310-macosx_10_9_universal2.whl
Size 182.8 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
1e6ef13e8bd97d4eaf2a838538176142f653541da4a7baac600c9ab760ddef92
BLAKE2b-256 checksum
How to use checksums
ab5625a1ac55baa073bf4703255d8aa21a716d213ebbe387f440267feb4f043b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / graphlearning-1.7.5-cp39-cp39-win_amd64.whl

Download URL graphlearning-1.7.5-cp39-cp39-win_amd64.whl
Size 112.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
9d6c2327b3e8498a7cfd8b0fda6b8e029b442988e8570c19aa8cf6c47c882d6e
BLAKE2b-256 checksum
How to use checksums
dac770f4f5fc85ebbd4fc84b96d66333655c2b89ddf44ee853e418b5a097c7f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13

Release files / graphlearning-1.7.5-cp39-cp39-macosx_10_9_universal2.whl

Download URL graphlearning-1.7.5-cp39-cp39-macosx_10_9_universal2.whl
Size 182.8 kB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
d52388af8dff36846c2db74d844691416aab1e947a050ddbb30a30fbc17d8ca9
BLAKE2b-256 checksum
How to use checksums
45927223f22650a64c04f67e39f0075caf05552f22e0c9eee158d0c8702148de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13

Release files / graphlearning-1.7.5-cp38-cp38-win_amd64.whl

Download URL graphlearning-1.7.5-cp38-cp38-win_amd64.whl
Size 112.0 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
b11478d2d8223ad32525b0f7e6489b0ca26d553186689bc729a7c25dd226426d
BLAKE2b-256 checksum
How to use checksums
1a2084a9a0b2c305f91d058a4fe1013c6cbffe02ebb179c1445f574db8f13402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / graphlearning-1.7.5-cp38-cp38-macosx_11_0_universal2.whl

Download URL graphlearning-1.7.5-cp38-cp38-macosx_11_0_universal2.whl
Size 182.5 kB
Tags CPython 3.8 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
8709c2ad25226d04d8370b86d0a46a75ea250b9b358c0e4cd3433d67fbdd089c
BLAKE2b-256 checksum
How to use checksums
3bdd247d6d2a009c705735c808eae7f7866a82b853e956d92cf5d630aa488a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.7.5 This release

15 release files

1.7.4

11 release files

1.7.2

11 release files

1.6.9

11 release files

1.6.8

11 release files

1.6.7

11 release files

1.6.6

7 release files

1.6.5

7 release files

1.6.4

7 release files

1.6.3

7 release files

1.6.2

7 release files

1.6.1

7 release files

1.5.8

11 release files

1.5.7

11 release files

1.5.6

11 release files

1.5.5

11 release files

1.5.4

11 release files

1.5.1

11 release files

1.5.0

11 release files

1.4.0

11 release files

1.3.9

11 release files

1.3.8

11 release files

1.3.7

11 release files

1.3.6

11 release files

1.3.5

11 release files

1.3.4

11 release files

1.3.3

11 release files

1.3.2

11 release files

1.3.1

11 release files

1.3.0

11 release files

1.2.9

7 release files

1.2.8

15 release files

1.2.7

13 release files

1.2.6

13 release files

1.2.4

13 release files

1.2.1

13 release files

1.2.0

13 release files

1.1.9

13 release files

1.1.7

13 release files

1.1.6

13 release files

1.1.4

13 release files

1.1.3

13 release files

1.1.2

13 release files

1.1.0

13 release files

1.0.6

3 release files

1.0.5

3 release files

1.0.4

3 release files

1.0.3

3 release files

1.0.2

3 release files

1.0.1

3 release files

1.0.0

4 release files

0.0.3

3 release files

0.0.2

3 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page