Skip to main content

Rank Similarity

Rank Similarity is a set of non-linear classification and transform tools for large multi-dimensional datasets that use the scikit-learn API.

Installation

Dependencies

rank-similarity requires:

  • Scikit-learn (>= 0.23)
  • Python (>= 3.7)
  • NumPy (>= 1.14.6)
  • SciPy (>= 1.1.0)

Optionally for plotting examples:

  • matplotlib (>= 2.2.2)

Install via pip

pip install rank-similarity

Development version

To get the latest development version, clone the GitHub repository:

git clone https://github.com/KatharineShapcott/rank-similarity

Usage

from ranksim import RankSimilarityClassifier
X = [[0, 1], [1, 0]]
y = [0, 1]
clf = RankSimilarityClassifier()
clf.fit(X, y)
pred = clf.predict(X)

More Information

Documentation

More details and background information is available in the online documentation.

License

The package is new BSD licensed.

Citation

Please cite the following publication (in preparation) [1].

[1] Shapcott, Bird, & Singer. Confusion-based rank similarity filters for computationally-efficient machine learning on high dimensional data. In preperation. (2021)

Metadata

Release files for rank-similarity 0.0.1

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

Source distribution (sdist)

Source distribution for rank-similarity 0.0.1
File Size Uploaded
rank-similarity-0.0.1.tar.gz 14.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rank-similarity 0.0.1
File Interpreter ABI Platform
rank_similarity-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.6 kB

Release files / rank-similarity-0.0.1.tar.gz

Download URL rank-similarity-0.0.1.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
634a12702858820303529a490c260699b3659e4688e7d9bee3647c36c9298532
BLAKE2b-256 checksum
How to use checksums
22a1c2c4b1dfeb8e8c8e62e31bb6d278dc000554a07fb717dff656f79bed00f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

Release files / rank_similarity-0.0.1-py3-none-any.whl

Download URL rank_similarity-0.0.1-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37bffd15dee2b7ccfa3d95a15e97f21274782f227bfc6652e2e41a76aa34fa2b
BLAKE2b-256 checksum
How to use checksums
89079d71db484f4b2b9e5b66240a0e51e2fa0e32c2681d42f3f66989519899c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 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