Skip to content

Commit

Permalink
Address some import and naming issues for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnVinyard committed Jun 25, 2018
1 parent 4490e31 commit 3480103
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
8 changes: 7 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'classic'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down Expand Up @@ -326,6 +326,12 @@
'matplotlib',

'zounds.nputil.countbits',

'torch',
'torch.nn',
'torch.nn.functional',
'torch.optim',
'torch.autograd'
]


Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ API documentation
core
synthesize
datasets
learn

Indices and tables
------------------
Expand Down
3 changes: 1 addition & 2 deletions docs/source/learn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ Sampling
Machine Learning Models
-----------------------
.. autoclass:: KMeans
.. autoclass:: SkLearnModel
.. autoclass:: SklearnModel
.. autoclass:: PyTorchNetwork
.. autoclass:: PyTorchGan
.. autoclass:: PyTorchAutoEncoder
.. autoclass:: SupervisedTrainer
.. autoclass:: TripletEmbeddingTrainer
.. autoclass:: GanTrainer
.. autoclass:: WassersteinGanTrainer

Hashing
Expand Down
3 changes: 2 additions & 1 deletion zounds/learn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
from preprocess import \
MeanStdNormalization, UnitNorm, Log, PreprocessingPipeline, Multiply, \
Slicer, InstanceScaling, Reshape, Weighted, MuLawCompressed, SimHash, \
AbsoluteValue, Binarize, Sharpen
AbsoluteValue, Binarize, Sharpen, Pipeline, PreprocessResult, Preprocessor, \
PipelineResult

from sklearn_preprocessor import SklearnModel, WithComponents

Expand Down
3 changes: 2 additions & 1 deletion zounds/spectral/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"""

from sliding_window import \
SlidingWindow, OggVorbisWindowingFunc, WindowingFunc, HanningWindowingFunc
SlidingWindow, OggVorbisWindowingFunc, WindowingFunc, \
HanningWindowingFunc, IdentityWindowingFunc

from spectral import \
FFT, DCT, DCTIV, MDCT, BarkBands, Chroma, BFCC, SpectralCentroid, \
Expand Down

0 comments on commit 3480103

Please sign in to comment.