A framework of PERformance METRICS (PerMetrics) for artificial intelligence models
Project description
Optimization Function in Numpy (OpFuNu)
Installation
Install the current PyPI release:
pip install permetrics
Or install the development version from GitHub:
pip install git+https://github.com/thieunguyen5991/permetrics
Example
- All you need to do is: (Make sure your solution is a numpy 1-D array)
## CEC-2013 (2 ways to use depend on your purpose)
import numpy as np
from opfunu.cec.cec2013.unconstraint import Model as M13
from opfunu.cec.cec2014.unconstraint2 import Model as MD2
problem_size = 10
solution = np.random.uniform(0, 1, problem_size)
obj = MD2(problem_size) # Object style solve different problems with different functions
print(obj.F1(solution))
print(obj.F2(solution))
obj = M13(solution) # Object style solve same problem with every functions
print(obj.F1())
print(obj.F2())
...
References
Publications
- If you see my code and data useful and use it, please cites my works here
@software{thieu_nguyen_2020_3711682,
author = {Thieu Nguyen},
title = {A framework of un-constrained Optimization Functions in Numpy (OpFuNu) for global optimization
problems},
month = march,
year = 2020,
publisher = {Zenodo},
doi = {10.5281/zenodo.3620960},
url = {https://doi.org/10.5281/zenodo.3620960.}
}
@article{nguyen2019efficient,
title={Efficient Time-Series Forecasting Using Neural Network and Opposition-Based Coral Reefs Optimization},
author={Nguyen, Thieu and Nguyen, Tu and Nguyen, Binh Minh and Nguyen, Giang},
journal={International Journal of Computational Intelligence Systems},
volume={12},
number={2},
pages={1144--1161},
year={2019},
publisher={Atlantis Press}
}
- This project related to my another projects which are "meta-heuristics" and "neural-network", check it here
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 Distribution
permetrics-1.0.0.tar.gz
(11.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file permetrics-1.0.0.tar.gz.
File metadata
- Download URL: permetrics-1.0.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6ea00759fce3e82cf53bd4c66e9cc2c631cb9a32b9fac7f6ce1230cada82f57
|
|
| MD5 |
0a153ec2373813f7df20f8ef286ed3f8
|
|
| BLAKE2b-256 |
c8c39bf80db550565366e7932617aaa8f43e3070814105b4c8c5ac9000b3a3bb
|
File details
Details for the file permetrics-1.0.0-py3-none-any.whl.
File metadata
- Download URL: permetrics-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c1c9abf202681d899c89334ca2b48e0385ecaef93384efd4fbd685452d49de
|
|
| MD5 |
3aa531117659a1bcb3535c0af05e705b
|
|
| BLAKE2b-256 |
140b93c6ed53a65321d35bb0e79d11569a3ab20eaaa8e4549daa79314d1c5efa
|