Skip to content

Commit 3294202

Browse files
authored
Merge pull request #40 from oujago/develop
improve docs
2 parents b5700c5 + 025b702 commit 3294202

Some content is hidden

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

125 files changed

+1395
-1221
lines changed

README.rst

Lines changed: 43 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,57 @@
3232
:target: https://github.com/oujago/NumpyDL
3333

3434

35+
NumpyDL
36+
=======
37+
38+
Descriptions
39+
============
40+
41+
``NumpyDL`` is:
42+
43+
1. Deep Learning Library
44+
2. Based on Pure Numpy/Python
45+
3. For Education
46+
4. And for My Homework
3547

36-
NumpyDL: Deep Learning Library based on Pure Numpy, for Education
37-
=================================================================
3848

39-
NumpyDL is a simple deep learning library based on pure Python/Numpy.Its main features are:
49+
Features
50+
========
4051

41-
* *Pure* in Numpy and *native* to Python
42-
* Support basic *automatic differentiation*
43-
* Support *commonly used models*, such as MLP, RNNs, GRUs, LSTMs and CNNs
44-
* *Tutorials* to learn deep learning knowledge
45-
* API like `Keras` deep learning library
52+
Its main features are:
4653

54+
1. *Pure* in Numpy
55+
2. *Native* to Python
56+
3. *Automatic differentiations* are basically supported
57+
4. *Commonly used models* are supported: MLP, RNNs, GRUs, LSTMs and CNNs
58+
5. *API* like ``Keras`` library
59+
6. *Examples* for several AI tasks
60+
7. *Application* for a toy chatbot
4761

4862
Documentation
4963
=============
5064

51-
Available online documents: `latest <http://numpydl.readthedocs.io/en/latest>`_
52-
docs, `development <http://numpydl.readthedocs.io/en/develop/>`_ docs, and
53-
`stable <http://numpydl.readthedocs.io/en/stable/>`_ docs. Chinese version document
54-
is in development and will be available soon.
65+
Available online documents:
66+
67+
1. `latest docs <http://numpydl.readthedocs.io/en/latest>`_
68+
2. `development docs <http://numpydl.readthedocs.io/en/develop/>`_
69+
3. `stable docs <http://numpydl.readthedocs.io/en/stable/>`_
70+
71+
72+
Installation
73+
============
74+
75+
Install NumpyDL using pip:
76+
77+
.. code-block:: bash
78+
79+
$> pip install npdl
80+
81+
Install from source code:
82+
83+
.. code-block:: bash
84+
85+
$> python setup.py install
5586
5687
5788
Example
@@ -82,87 +113,3 @@ Example
82113
# train
83114
model.fit(X_train, npdl.utils.data.one_hot(Y_train), max_iter=150, validation_split=0.1)
84115
85-
86-
Installation
87-
============
88-
89-
Install NumpyDL using pip:
90-
91-
.. code-block:: bash
92-
93-
$> pip install npdl
94-
95-
Install from source code:
96-
97-
.. code-block:: bash
98-
99-
$> python setup.py install
100-
101-
102-
Support
103-
=======
104-
105-
Layers
106-
------
107-
108-
* `core.py <npdl/layers/core.py>`_
109-
* Dense (perceptron) Layer
110-
* Softmax Layer
111-
* Dropout Layer
112-
* `normalization.py <npdl/layers/normalization.py>`_
113-
* Batch Normalization Layer
114-
* `embedding.py <npdl/layers/embedding.py>`_
115-
* Embedding Layer
116-
* `convolution.py <npdl/layers/convolution.py>`_
117-
* Convolution Layer
118-
* `pooling.py <npdl/layers/pooling.py>`_
119-
* MaxPooling Layer
120-
* MeanPooling Layer
121-
* `reccurent.py <npdl/layers/reccurent.py>`_
122-
* Recurrent Layer
123-
* SimpleRNN Layer
124-
* `shape.py <npdl/layers/shape.py>`_
125-
* Flatten Layer
126-
127-
Activations
128-
-----------
129-
130-
* `acitvations <npdl/activations.py>`_
131-
* Sigmoid
132-
* Tanh
133-
* ReLU
134-
* Softmax
135-
* Elliot
136-
* SymmetricElliot
137-
* LReLU
138-
* SoftPlus
139-
* SoftSign
140-
141-
Initializations
142-
---------------
143-
144-
* `initializations <npdl/initializations.py>`_
145-
* Uniform
146-
* Normal
147-
* LecunUniform
148-
* GlorotUniform
149-
* GlorotNormal
150-
* HeNormal
151-
* HeUniform
152-
* Orthogonal
153-
154-
Objectives
155-
----------
156-
157-
* `objectives <npdl/objectives.py>`_
158-
* MeanSquaredError
159-
* HellingerDistance
160-
* BinaryCrossEntropy
161-
* SoftmaxCategoricalCrossEntropy
162-
163-
164-
Optimizers
165-
----------
166-
167-
* `optimizers <npdl/optimizers.py>`_
168-
* SGD

docs/api_references/layers.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,11 @@
8787
.. autosummary::
8888
:nosignatures:
8989

90-
<<<<<<< HEAD
9190
Recurrent
9291
SimpleRNN
9392
GRU
9493
LSTM
9594
BatchLSTM
96-
=======
97-
SimpleRNN
98-
GRU
99-
LSTM
100-
>>>>>>> e22daacbbdc1ec9c60d2542f41fce63947a11b74
10195

10296
.. npdl/layers/shape.py
10397

docs/api_references/layers/core.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Core Layers
1010
.. autoclass:: Linear
1111
:members:
1212

13-
1413
.. autoclass:: Dense
1514
:members:
1615

docs/api_references/layers/normalization.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ Normalization Layer
99
.. currentmodule:: npdl.layers
1010

1111
.. autoclass:: BatchNormal
12+
:members:

docs/api_references/layers/recurrent.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,10 @@ Recurrent Layers
99
.. currentmodule:: npdl.layers
1010

1111

12-
<<<<<<< HEAD
1312
.. autoclass:: Recurrent
1413
:members:
1514

1615

17-
=======
18-
>>>>>>> e22daacbbdc1ec9c60d2542f41fce63947a11b74
1916
.. autoclass:: SimpleRNN
2017
:members:
2118

@@ -28,9 +25,6 @@ Recurrent Layers
2825
:members:
2926

3027

31-
<<<<<<< HEAD
3228
.. autoclass:: BatchLSTM
3329
:members:
3430

35-
=======
36-
>>>>>>> e22daacbbdc1ec9c60d2542f41fce63947a11b74

docs/tutorials/CNN.rst

Lines changed: 269 additions & 138 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)