Skip to main content

Parameter Comparison Table Generator

Project description

ParamComparison
===============

ParamComparison is a Python package which can generate a series of tables to display results of
different parameter combinations. It is useful when trying different parameters to see how good the
results are.

Install
-------

To install, run:
::

python setup.py install

Or use pip:
::

pip install ParamComparison

Usage
-----
The basic usage is simple:
::

import paramcomparison
from paramcomparison.writers import RstWriter

def f(a, b, c, d): # or other functions to compute the result
return a + b + c + d

param_space = {'a': [1,2], 'b': [3,4], 'c':[5,6], 'd': [7,8]}

pc = paramcomparison.ParamComparison(param_space, f)
pc.generate_pages('output', RstWriter(), 'a', 'b')

The directory output will contain some rst files which contains generated tables. You can use
`Sphinx`_, `Nikola`_ or other tools to further convert them into HTML, PDF and other formats.

Source Code
-----------

The source code is available on `GitHub <https://github.com/xuhdev/paramcomparison>`_.

Bug Report and Contribution
---------------------------

Please submit bug reports to the `issue tracker
<https://github.com/xuhdev/paramcomparison/issues>`_. To contribute, please make a pull request on
`GitHub <https://github.com/xuhdev/paramcomparison/pulls>`_.

License
-------

Copyright (c) 2015 Hong Xu <hong@topbug.net>

ParamComparison is free software: you can redistribute it and/or modify it under the terms of the
GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.

ParamComparison is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with ParamComparison.
If not, see <http://www.gnu.org/licenses/>.

You can view the full text of the license in LICENSE.txt. You can also view GNU General Public
License version 3 in GPL.txt.

.. _Nikola: http://getnikola.com
.. _Sphinx: http://sphinx-doc.org/

Project details


Download files

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

Source Distribution

ParamComparison-0.1.2.tar.gz (19.7 kB view details)

Uploaded Source

File details

Details for the file ParamComparison-0.1.2.tar.gz.

File metadata

File hashes

Hashes for ParamComparison-0.1.2.tar.gz
Algorithm Hash digest
SHA256 005ec760c1ed6191eb87eafd3856d3ad3b2617ce38dfcfaa25607b8643f08c56
MD5 21cc2ed35a0eb8fbb9c2a8789fe07ab5
BLAKE2b-256 c674f7f05292fbb15a71ae16a9de4e1b92b2c4fce06401cc2a57c828ca7ad058

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page