- 08 Jan, 2015 3 commits
-
-
Steven Cordwell authored
-
Steven Cordwell authored
Use Python code block directive for the example usage. Link to the license file.
-
Steven Cordwell authored
Seperate out functionality into more modular and single purpose functions. Move exception classes to own module for this purpose. Add new user facing functions for checking MDPs.
-
- 07 Jan, 2015 1 commit
-
-
Steven Cordwell authored
-
- 06 Jan, 2015 2 commits
-
-
Steven Cordwell authored
Add two new functions _randDense and _randSparse to separate functionality from the rand function. Call these functions from rand.
-
Steven Cordwell authored
-
- 05 Jan, 2015 7 commits
-
-
Steven Cordwell authored
-
Steven Cordwell authored
Base the comparison that two arrays are almost equal based on the spacing of the maximum value of the array rather than one. Using one will give incorrect resulsts when the magintude of the values is significantly different to one.
-
Steven Cordwell authored
Two unit tests based on the small example for the discounted and undiscounted case.
-
Steven Cordwell authored
Add a base class that other classes for testing the MDP algorithms can use it.
-
Steven Cordwell authored
-
Steven Cordwell authored
Add an example usage for the small example to the docstring for test coverage purposes.
-
Steven Cordwell authored
Add a small MDP example that has only two states and two actions. This is mostly useful to help with testing the algorithms, and as an example of the usage of them.
-
- 01 Jan, 2015 1 commit
-
-
Steven A W Cordwell authored
Fix V initialization in PolicyIterationModified
-
- 30 Dec, 2014 1 commit
-
-
Yasser Gonzalez authored
V was initialized with the wrong dimensions for undiscounted MDPs, which caused an exception to be raised in _bellmanOperator.
-
- 10 Dec, 2014 1 commit
-
-
Steven Cordwell authored
Use ellipsis so that Python 2 and Python 3 outputs will pass. Check that floating point numbers are within 1e-12 of the expected answer rather than exact matches.
-
- 09 Dec, 2014 5 commits
-
-
Steven Cordwell authored
-
Steven Cordwell authored
The CVXOPT python package has some optional dependencies that must be altered in the setup.py file for support to be compiled in. GLPK is one if these. At the moment the setup.py script is not being altered while installing dependencies, so downloading cvxopts extra dependencies is useless. Move the test command from .travis.yml to runtests.sh to allow easy testing on workstations.
-
Steven Cordwell authored
Import modules with an underscore in front of their names. For example import numpy as _np. This is to address the namespace getting to full.
-
Steven Cordwell authored
Add the --with-doctest flag to the nosetests that are run on Travis CI. Remove the calls to doctest if the __main__ of each modules. This closes #1.
-
Steven Cordwell authored
Add to and improve the quality of the tests for the example module. This commit also fixes a small bug in the example module when dealing with sparse masks to the example.rand function.
-
- 08 Dec, 2014 16 commits
-
-
Steven Cordwell authored
Add travis-ci command to install python-cvxopt ubuntu package when using the python 2.7 with system site pakcages profile. Install cvxopt's dependencies in all other cases because it needs to be compiled.
-
Steven Cordwell authored
The history can be viewed by looking at git log, and the todo text file wasn't being used and instead use the GitHub issue tracker.
-
Steven Cordwell authored
Remove MANIFEST.in file because it is not needed by Setuptools.
-
Steven Cordwell authored
Add more detail to the installation instructions by listing what Debian/Ubuntu packages would need to be installed to use the toolbox. Recommend installing the package by pip. Fix the markup for the links and make each command-line code be on its own line.
-
Steven Cordwell authored
-
Steven Cordwell authored
-
Steven Cordwell authored
The mdptoolbox.utils module was renamed to mdptoolbox.util and the tests were still using the old name, Replace all occurances of utils with util
-
Steven Cordwell authored
The sparse matrix error changed and and NotIMplementedError had to be causght also to check that also elements of a transition matrix are non-zero.
-
Steven Cordwell authored
The Python development files appear to be already installed on Travis so remove the apt-get call that tries to pull them in.
-
Steven Cordwell authored
System site packages only works for Python 2.7 and 3.2, so remove for 3.3 and 3.4. Also install liblapack because it seems like cvxopt does not find atlas.
-
Steven Cordwell authored
Install Python 3 verions of the dependencies when the Travis build is Python 3, and install the development packages for cvxopt to be built.
-
Steven Cordwell authored
Add travis command to install numpy, scipy and cvxopt.
-
Steven Cordwell authored
Update the readme to point to Travis CI logo, and also to the GitHub and PyPI locations for getting the package rather than Google Code.
-
Steven Cordwell authored
Add the Travis CI build configuration so that the repository can be tested using continuous integration.
-
Steven Cordwell authored
Remove support for distutils and add support for setuptools. In addition list the GitHub repository and remove the Google code repository as the URL.
-
Steven Cordwell authored
-
- 26 Mar, 2014 2 commits
-
-
Steven Cordwell authored
-
Steven Cordwell authored
-
- 25 Mar, 2014 1 commit
-
-
Steven Cordwell authored
Conflicts: setup.py
-