Skip to main content

Python 3 Implementation of ICP and ICPRE

Project description

ICPOptimize

The Iterative Constrained Pathways Optimizer

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-1.6.tar.gz (125.9 kB view hashes)

Uploaded Source

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