Multi-Objective Optimization in Python
Project description
pysampling
You can find the detailed documentation here: https://www.egr.msu.edu/coinlab/blankjul/pysampling/
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysampling-0.1.1.tar.gz
(28.6 kB
view hashes)
Built Distribution
pysampling-0.1.1-py3-none-any.whl
(11.9 kB
view hashes)
Close
Hashes for pysampling-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be58f0a9841a3a91bb88a75d96d6ac8fe0d7f7d7f6f02bdf3da5699c5ffe7bba |
|
MD5 | 7abef0391f17ecb2f4dc944343cf6ad0 |
|
BLAKE2b-256 | c8d08fae3600b6639f9d3a0913827967e98aab5f10281aba8714b80c03e05021 |