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.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

pairwiseprediction-0.240311.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pairwiseprediction-0.240311.1.tar.gz
  • Upload date:
  • Size: 7.8 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.1.tar.gz
Algorithm Hash digest
SHA256 9168a503e8dfcd42b394ec02fb25d667c5a146f203afc2e0b8e588aac7f212ec
MD5 9f97e8f9580f48d32b1f67632df892ca
BLAKE2b-256 0885e8c0f67fb942d92b3c8e5d3e017e1c847d425b223b5bafb0ea659bdfddf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pairwiseprediction-0.240311.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f129f10fadea3b9b2bbe7fd1fb949a52fc86139a888cb87268d678628022fba
MD5 ad7248cdce62e349199932a69138b054
BLAKE2b-256 ebc070898ac1efdfd32b1d71c6ce7ed250b5ecb0b701cf72b14b75aac36d2038

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