Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
8961cf3
typo fixes
ddbourgin May 10, 2020
56fb4a6
Merge branch 'master' of https://github.com/ddbourgin/numpy-ml
ddbourgin Jun 20, 2020
36bba1f
refactor gmm to have more consistent API with other models
ddbourgin Jun 21, 2020
0bd908a
refactor hmm to have more consistent API with other models
ddbourgin Jun 21, 2020
8b3f72e
add a misc utils file for common math functions
ddbourgin Jun 21, 2020
d8ee5ce
Merge branch 'master' of https://github.com/ddbourgin/numpy-ml
ddbourgin Jul 27, 2020
a8feec0
Merge branch 'master' of https://github.com/ddbourgin/numpy-ml into m…
ddbourgin Mar 5, 2021
69b9c12
compatibility with librosa>=0.8.0 (#66)
eserie May 25, 2021
9ef025f
Bugfix: pass through vocab/encoding params (#60)
May 25, 2021
84f65b9
Merge branch 'master' of https://github.com/ddbourgin/numpy-ml into m…
ddbourgin May 29, 2021
ccf6e35
Added support for Online Linear Regression (#72)
kenluck2001 May 31, 2021
7c210a6
Multi-sample online least-squares (#74)
ddbourgin Jun 1, 2021
470763e
Merge branch 'master' of https://github.com/ddbourgin/numpy-ml into m…
ddbourgin Jun 1, 2021
1e10697
Naive bayes (#68)
sfsf9797 Jun 23, 2021
f1c43e0
Merge branch 'master' of https://github.com/ddbourgin/numpy-ml into m…
ddbourgin Jun 24, 2021
8a16373
add glm, split linear models into separate files
ddbourgin Dec 23, 2021
96c70d2
fix linear model import after restructuring
ddbourgin Dec 23, 2021
337db61
Update README.md
ddbourgin Dec 24, 2021
6a0d0d0
Update README.md
ddbourgin Dec 24, 2021
672dd2b
update documentation for linear models
ddbourgin Dec 25, 2021
cba1b8a
Merge branch 'master' of https://github.com/ddbourgin/numpy-ml into m…
ddbourgin Dec 25, 2021
4590a1b
Update README.md
ddbourgin Dec 25, 2021
d97f606
Update README.md
ddbourgin Dec 25, 2021
83c463d
Update README.md
ddbourgin Dec 25, 2021
41e6a32
fix tests for linear models
ddbourgin Dec 26, 2021
5f30a71
pin librosa, numba, and llvm version
ddbourgin Dec 26, 2021
bc50efa
Merge branch 'master' of https://github.com/ddbourgin/numpy-ml into m…
ddbourgin Dec 26, 2021
c7fcad6
update linear model documentation
ddbourgin Dec 29, 2021
d4b8e0b
update misc documentation
ddbourgin Dec 29, 2021
065f9b8
add byte pair encoder
ddbourgin Jan 8, 2022
de67d5a
add gelu activation
ddbourgin Jan 8, 2022
6ce5967
adjust font size in documentation, pin sidebar
ddbourgin Jan 8, 2022
b0359af
Update README.md
ddbourgin Jan 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ can use `pip3 install -u 'numpy_ml[rl]'`.
For more details on the available models, see the [project documentation](https://numpy-ml.readthedocs.io/).

## Available models
<details>
<summary>Click to expand!</summary>

1. **Gaussian mixture model**
- EM training

Expand Down Expand Up @@ -92,6 +95,7 @@ For more details on the available models, see the [project documentation](https:
- Leaky ReLU
- ELU
- SELU
- GELU
- Exponential
- Hard Sigmoid
- Softplus
Expand All @@ -116,6 +120,9 @@ For more details on the available models, see the [project documentation](https:
- Ridge regression
- Logistic regression
- Ordinary least squares
- Weighted linear regression
- Generalized linear model (log, logit, and identity link)
- Gaussian naive Bayes classifier
- Bayesian linear regression w/ conjugate priors
- Unknown mean, known variance (Gaussian prior)
- Unknown mean, unknown variance (Normal-Gamma / Normal-Inverse-Wishart prior)
Expand Down Expand Up @@ -162,6 +169,7 @@ For more details on the available models, see the [project documentation](https:
- Feature standardization
- One-hot encoding / decoding
- Huffman coding / decoding
- Byte pair encoding / decoding
- Term frequency-inverse document frequency (TF-IDF) encoding
- MFCC encoding

Expand All @@ -172,6 +180,7 @@ For more details on the available models, see the [project documentation](https:
- Ball tree
- Discrete sampler
- Graph processing and generators
</details>

## Contributing

Expand Down
32 changes: 24 additions & 8 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
body {
font-size: 16px !important;
font-size: 15px !important;
}

table.field-list,
table.footnote {
/* gray background for parameters */
table.field-list {
background-color: #f9f9f9 !important;
}

/* style the footnote display */
table.footnote td {
padding: 0.3em 0.5em !important;
line-height: 1.4em !important;
}

table li {
padding-bottom: 0.5em;
}

table.field-list th,
table.field-list td {
padding: 0.8em !important;
padding: 0.5em !important;
border: 1px solid #888 !important;
}

p.rubric {
margin-top: 0px !important;
}

/* recolor the code snippets in sidebar */
@media screen and (max-width: 875px) {
div.sphinxsidebar h3,
Expand All @@ -24,6 +38,12 @@ table.field-list td {
}
}


/* sidebar pinned to the top of the page */
div.sphinxsidebar {
position: absolute;
}

/* don't show table delimiters */
table.docutils {
border: none !important;
Expand All @@ -36,7 +56,3 @@ table.docutils td, table.docutils th {
border: none;
padding: 0.0em 0.0em;
}

table.footnote td {
padding: 0.3em 0.5em;
}
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# -- Project information -----------------------------------------------------

project = "numpy-ml"
copyright = "2020, David Bourgin"
copyright = "2022, David Bourgin"
author = "David Bourgin"

# The short X.Y version
Expand Down
16 changes: 16 additions & 0 deletions docs/numpy_ml.linear_models.lm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,19 @@
:members:
:undoc-members:
:inherited-members:

``GaussianNBClassifier``
-----------------------------------------

.. autoclass:: numpy_ml.linear_models.GaussianNBClassifier
:members:
:undoc-members:
:inherited-members:

``GeneralizedLinearModel``
-----------------------------------------

.. autoclass:: numpy_ml.linear_models.GeneralizedLinearModel
:members:
:undoc-members:
:inherited-members:
Loading