ultimate
Project description
ultimate
A scikit-learn compatible neural network implementation
Installation
pip install ultimate
Why Ultimate?
- Support feature importance
- Support missing values
- Support am2x/a2m2x activation functions
- Support softmax/hardmax/mse/hardmse loss functions
- Support fc/add/conv/star operations
How To Use?
# let's use a simple example to learn how to use from ultimate.mlp import MLP import numpy as np # generate sample X = np.linspace(-np.pi, np.pi, num=5000).reshape(-1, 1) Y = np.sin(X) print(X.shape, Y.shape) # fit and predict mlp = MLP(layer_size=[X.shape[1], 8, 8, 8, 1], rate_init=0.02, loss_type="mse", epoch_train=100, epoch_decay=10, verbose=1) mlp.fit(X, Y) pred = mlp.predict(X) # show the result import matplotlib.pyplot as plt plt.plot(X, pred) plt.show()
Examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
ultimate-2.62.10-py2.py3-none-any.whl
(102.6 kB
view hashes)
Close
Hashes for ultimate-2.62.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a362db34710d0f92423103c4d539014f33d59884ba18e233cdf549a87eb2dec |
|
MD5 | e4133faa7bb1369da1857c1e013b8ba4 |
|
BLAKE2b-256 | b8c972cac036c32a4fe6c20550e2b75fc22f2f18101daf195727b6901e2679dc |