ultimate
Project description
ultimate
A very simpe neural network implemention for python
Installation
pip install ultimate
Why Ultimate?
- Super tiny and super easy
- Support feature importance
- Support missing values
- Support am2/a2m2/am2l/a2m2l activation functions
- Support hardmse/hardmax loss functions
How To Use?
from ultimate.mlp import MLP mlp = MLP( mi=0, dtype='float64', activation=[], # am2/a2m2/am2l/a2m2l layer_size=[], input_type='pointwise', loss_type='mse', # mse/softmax/hardmse/hardmax output_range=[0, 1], output_shrink=0.001, importance_mul=0.001, leaky=-0.001, dropout=0, bias_rate=[0.005], weight_rate=[], regularization=1 ) mlp.train( in_arr, target_arr, epoch_train=5, epoch_decay=1, iteration_log=100, rate_init=0.06, rate_decay=0.9, importance_out=False, loss_mul=0.001, verbose=1, shuffle=True ) mlp.predict( in_arr, out_arr=None, verbose=0, iteration_log=100 )
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
Close
Hashes for ultimate-1.20.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ff69cb334f2589c47be553745366508cdc018cac06e84c8f9b414b2bdd8a91 |
|
MD5 | 826d0e882cace582147d87751ac85391 |
|
BLAKE2b-256 | 059254ff06b189f034f5f89d5bb55c9c726635c25c31bd92273d8827ecf7cffc |