Skip to content

Commit 08ed7de

Browse files
author
Julian Blank
committed
Added files
1 parent ae3c850 commit 08ed7de

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1326
-1508
lines changed

.DS_Store

-8 KB
Binary file not shown.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/pysample.iml renamed to .idea/pysampling.iml

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 97 additions & 745 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: python
2+
python:
3+
- "3.7"
4+
5+
install:
6+
- pip install .
7+
8+
9+
script:
10+
- cd tests
11+
- python test_suite.py

MANIFEST.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
recursive-include pymop *.py *.pf
2-
recursive-include external *
1+
recursive-include pysampling *.py *.dat

README.rst

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,50 @@
1-
pysample
2-
==================================
1+
2+
Installation
3+
============
4+
5+
The framework is available at the PyPi Repository:
6+
7+
.. code-block:: bash
8+
9+
pip install pysampling
10+
11+
12+
Usage
13+
=====
14+
15+
The method to be used for sampling using different algorithm must be
16+
import from pysampling.sample. Here, we use Latin Hypercube Sampling to
17+
generate 50 points in 2 dimensions.
18+
19+
.. code:: ipython3
20+
21+
import matplotlib.pyplot as plt
22+
from pysampling.sample import sample
23+
24+
X = sample("lhs", 50, 2)
25+
26+
plt.scatter(X[:, 0], X[:, 1], s=30, facecolors='none', edgecolors='r')
27+
plt.show()
28+
29+
30+
31+
Contact
32+
=======
33+
34+
.. |blankjul| raw:: html
35+
36+
<a href="http://www.cse.msu.edu/~blankjul/" target="_blank">My personal homepage</a>
37+
38+
39+
|blankjul|
40+
41+
Feel free to contact me if you have any question:
42+
43+
::
44+
45+
Julian Blank (blankjul [at] egr.msu.edu)
46+
Michigan State University
47+
Computational Optimization and Innovation Laboratory (COIN)
48+
East Lansing, MI 48824, USA
49+
50+

docs/.DS_Store

-8 KB
Binary file not shown.

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# You can set these variables from the command line.
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
7-
SPHINXPROJ = pysample
7+
SPHINXPROJ = pysampling
88
SOURCEDIR = source
99
BUILDDIR = build
1010

docs/README.template

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)