If you don't plan to modify the source, you can also install numpy-ml as a
Python package: pip3 install -u numpy_ml.
The reinforcement learning agents train on environments defined in the OpenAI
gym. To install these alongside numpy-ml, you
can use pip3 install -u 'numpy_ml[rl]'.
Weighted incremental importance sampling Monte Carlo agent
Expected SARSA agent
TD-0 Q-learning agent
Dyna-Q / Dyna-Q+ with prioritized sweeping
Nonparameteric models
Nadaraya-Watson kernel regression
k-Nearest neighbors classification and regression
Gaussian process regression
Matrix factorization
Regularized alternating least-squares
Non-negative matrix factorization
Preprocessing
Discrete Fourier transform (1D signals)
Discrete cosine transform (type-II) (1D signals)
Bilinear interpolation (2D signals)
Nearest neighbor interpolation (1D and 2D signals)
Autocorrelation (1D signals)
Signal windowing
Text tokenization
Feature hashing
Feature standardization
One-hot encoding / decoding
Huffman coding / decoding
Byte pair encoding / decoding
Term frequency-inverse document frequency (TF-IDF) encoding
MFCC encoding
Utilities
Similarity kernels
Distance metrics
Priority queue
Ball tree
Discrete sampler
Graph processing and generators
Contributing
Am I missing your favorite model? Is there something that could be cleaner /
less confusing? Did I mess something up? Submit a PR! The only requirement is
that your models are written with just the Python standard
library and NumPy. The
SciPy library is also permitted under special
circumstances ;)
请发表评论