Skip to main content

Multi-Objective Optimization in Python

Project description

pysampling

You can find the detailed documentation here: https://www.egr.msu.edu/coinlab/blankjul/pysampling/

build status python 3.6 license apache

Installation

The framework is available at the PyPi Repository:

pip install -U pysampling

Usage

The method to be used for sampling using different algorithm must be import from pysampling.sample. Here, we use Latin Hypercube Sampling to generate 50 points in 2 dimensions.

import matplotlib.pyplot as plt
from pysampling.sample import sample

X = sample("lhs", 50, 2)

plt.scatter(X[:, 0], X[:, 1], s=30, facecolors='none', edgecolors='r')
plt.show()

Contact

Feel free to contact me if you have any question:

Julian Blank (blankjul [at] egr.msu.edu)
Michigan State University
Computational Optimization and Innovation Laboratory (COIN)
East Lansing, MI 48824, USA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysampling, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pysampling-0.1.2-py3-none-any.whl (33.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pysampling-0.1.2.tar.gz (28.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page