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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysampling-0.1.2.tar.gz.
File metadata
- Download URL: pysampling-0.1.2.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c69b3ef89b628a98dd79dc67db8656e66db2cb519cc50f60de19a627610b28c7
|
|
| MD5 |
77538cd3c7fd051f4f1f3442fb8c1459
|
|
| BLAKE2b-256 |
2071298b5cd2a2d9c5a7e679ede9eec70f30cdf77cf02eab3d2de9f367e10ca6
|
File details
Details for the file pysampling-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pysampling-0.1.2-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29d92a987205e42b15795617c15916d7b5ae565ccf3f8e43978a3e7938852973
|
|
| MD5 |
e74328350e4ef5c68179bfbe3eaafd17
|
|
| BLAKE2b-256 |
60076d9581d0ec8060e26a52b358a5af48427c22d2fc7ba41b229d1820976a1b
|