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 'b' below 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.240311.7.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

pairwiseprediction-0.240311.7-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pairwiseprediction-0.240311.7.tar.gz
  • Upload date:
  • Size: 8.1 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.240311.7.tar.gz
Algorithm Hash digest
SHA256 d686d5653b33540e77ff1a1ee038fe754d284ec8a76d8a3b19494358b0ef44d7
MD5 9d791fa8cedb05b9f0e67b6dd7f36196
BLAKE2b-256 a8471968402b8f1e8e63d4c406d84656c20f4c12cfdcb8782f0d1c18f59fbfb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairwiseprediction-0.240311.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5e16c0e3f73f583532136d473f574dc1de71f270cb31e62e1c70c0d313a7d709
MD5 bac7010a3aa95b6e7c5fec499cc026bc
BLAKE2b-256 c5a4a4ab4b5998fefa153d8e957aede448faacce1e38bf8c65c38bc4350f6488

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