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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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