Skip to main content

Handle a regression problem inducing the model on pairs A,B of instances

Project description

test codecov pypi Python version license: GPL v3

API documentation Downloads PyPI - Downloads

pairwiseprediction

Latest Release | Current Code | API Documentation


Handle a regression problem inducing the model on pairs A,B of instances.

Last column of X is the continuous target. y is ignored.

Four modes are hipotetically possible, although only mode 2 is provided by now to ease compatibility with sklearn:

  • a classification algorithm is trained to tell when instance A has higher target than instance B
      1. the prediction is based on interpolation which is the type of result expected from a regression
      1. the interpolated value can be converted to a hard prediction through binarization
  • a regression algorithm is trained to predict the difference between target values of A,B
      1. the prediction is the value provided directly by the regressor
      1. the regression value can be converted to a hard prediction through binarization

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

pairwiseprediction-0.240306.4.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

pairwiseprediction-0.240306.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file pairwiseprediction-0.240306.4.tar.gz.

File metadata

  • Download URL: pairwiseprediction-0.240306.4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.6 Linux/5.15.0-94-generic

File hashes

Hashes for pairwiseprediction-0.240306.4.tar.gz
Algorithm Hash digest
SHA256 2dfa1f5f3aad980c51b3d34c3ad79340d7f4532b463ed78f50f33d6ac7cf4dd3
MD5 a17533f1aa87277b4f43ce6d91c72e60
BLAKE2b-256 58509e85a331c0a36d407a64543f0bf601311cdc8c22edf57cddf486cac91a43

See more details on using hashes here.

File details

Details for the file pairwiseprediction-0.240306.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pairwiseprediction-0.240306.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7af12a5ecfb6981e306ab624bf3227528ab59409132c82bd7dd8b381c0e22f32
MD5 70b0d6ebb73018731a4322c99a0ea995
BLAKE2b-256 e9b1289cf2768da692241437ee05968e0c44a022a5acd27f35121913d4de40af

See more details on using hashes here.

Supported by

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