Skip to content

Commit

Permalink
MAINT restructured the docs and bumped version
Browse files Browse the repository at this point in the history
  turns out re-uploading the same version to PyPI is impossible
  • Loading branch information
superbobry committed Feb 9, 2015
1 parent b157df4 commit d3449a7
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 42 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ Authors and contributors, in no particular order:
* Vlad Niculae
* csytracy
* Alexandre Gramfort
* Sergei Lebedev
9 changes: 9 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
hmmlearn Changelog
==================

Here you can see the full list of changes between each hmmlearn release.

Version 0.1.1
-------------

Initial release, released on February 9th 2015
18 changes: 18 additions & 0 deletions doc/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
=============
API Reference
=============

This is the class and function reference of ``hmmlearn``.

Please refer to the :ref:`full user guide <user_guide>` for further details, as
the class and function raw specifications may not be enough to give full
guidelines on their uses.

.. currentmodule:: hmmlearn

.. autosummary::
:toctree: generated

hmm.GaussianHMM
hmm.MultinomialHMM
hmm.GMMHMM
1 change: 1 addition & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../CHANGES.rst
29 changes: 0 additions & 29 deletions doc/classes.rst

This file was deleted.

3 changes: 1 addition & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@
# built documents.
#
# The short X.Y version.
version = '0.1'
# The full version, including alpha/beta/rc tags.
import hmmlearn
release = hmmlearn.__version__
version = release = hmmlearn.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
7 changes: 4 additions & 3 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ User guide: table of contents
.. include:: includes/big_toc_css.rst

.. toctree::
:numbered:
:titlesonly:

hmm.rst
classes.rst
tutorial
api
changelog
8 changes: 4 additions & 4 deletions doc/hmm.rst → doc/tutorial.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _hmm:
.. _tutorial:

====================
Hidden Markov Models
====================
========
Tutorial
========

.. currentmodule:: hmmlearn.hmm

Expand Down
2 changes: 1 addition & 1 deletion hmmlearn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Historically, this code was present in ``scikit-learn``, but unmaintained.
It has been orphaned and separated as a different package.
"""
__version__ = '0.1.0'
__version__ = '0.1.1'


def setup_module(module):
Expand Down
4 changes: 2 additions & 2 deletions hmmlearn/hmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ class GaussianHMM(_BaseHMM):
n_components : int
Number of states.
``_covariance_type`` : string
covariance_type : string
String describing the type of covariance parameters to
use. Must be one of 'spherical', 'tied', 'diag', 'full'.
Defaults to 'diag'.
Attributes
----------
``_covariance_type`` : string
_covariance_type : string
String describing the type of covariance parameters used by
the model. Must be one of 'spherical', 'tied', 'diag', 'full'.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
Extension("hmmlearn._hmmc", ["hmmlearn/_hmmc.pyx"])
],
requires=["sklearn"],
install_requires=["Cython>=0.21.2"]
install_requires=["Cython"]
)


Expand Down

0 comments on commit d3449a7

Please sign in to comment.