Skip to main content

Python 3 Implementation of ICP and ICPRE

Project description

ICPOptimize

The Iterative Constrained Pathways Optimizer

ICP is a constrained linear model optimizer built with a focus on memory efficiency, flexibility, and solution interpretability.

Description

This repository contains implementations of both the Iterative Constrained Pathways (ICP) optimization method and the ICP Rule Ensemble (ICPRE). Further discussion about and motivation for the methods can be found on my blog:

nicholastsmith.wordpress.com/2021/05/18/the-iterative-constrained-pathways-optimizer/

Installation

Install via PyPi:

pip install ICPOptimize

PyPi Project:

https://pypi.org/project/ICPOptimize/

Examples

from ICP.Models import ICPRuleEnsemble

...

IRE = ICPRuleEnsemble().fit(A[trn], Y[trn])
YP  = IRE.predict_proba(A)

Further examples are available on the ICPExamples GitHub page:

https://github.com/nicholastoddsmith/ICPExamples

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

ICPOptimize-2.2.tar.gz (195.3 kB view details)

Uploaded Source

File details

Details for the file ICPOptimize-2.2.tar.gz.

File metadata

  • Download URL: ICPOptimize-2.2.tar.gz
  • Upload date:
  • Size: 195.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.12

File hashes

Hashes for ICPOptimize-2.2.tar.gz
Algorithm Hash digest
SHA256 0ca43d342baa6926d67110bc889bdf5448b0f62262fa70e3e4a2eed6e9174edb
MD5 ddaaa57033c60ca89ba62ec53cf67b2e
BLAKE2b-256 baa75b055c612478a159ec65166917fd391754014da716404567d85a96725226

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