A collection of benchmark functions.
Project description
fBench
About
A collection of benchmark functions:
Installation
fbench
is available on PyPI for Python 3.8+:
pip install fbench
Examples
The ackley
function:
>>> import fbench
>>> round(fbench.ackley([1, 1]), 4)
3.6254
Visualize function with FunctionPlotter
:
>>> import matplotlib.pyplot as plt
>>> plotter = fbench.viz.FunctionPlotter(func=fbench.ackley, bounds=[(-5, 5)] * 2)
>>> plotter.plot()
>>> plt.show()
Contributing to fBench
Your contribution is greatly appreciated! See the following links to help you get started:
License
fbench
was created by fBench Developers.
It is licensed under the terms of the BSD 3-Clause license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fbench-1.0.1.tar.gz
(11.4 kB
view hashes)
Built Distribution
fbench-1.0.1-py3-none-any.whl
(12.3 kB
view hashes)