surF - Surrogate Fourier modeling
surF is a novel surrogate modeling technique that leverages the discrete Fourier transform to generate a smoother, and possibly easier to explore, fitness landscape.
Usage
First of all, import surF as follows (please mind the upper case F):
from surfer import surF
Assume now that you have a fitness function f() defined over a search space hypercube.
In order to build a surrogate model with surF, considering gamma Fourier coefficients, built with sigma samples of the fitness landscape and interpolated with a grid with rho steps, use the following code:
S = surF()
S.specify_fitness(fitness)
S.specify_search_space(hypercube)
S.build_model(coefficients=gamma, numpoints=sigma, resolution=rho)
Now, it is possible to exploit surF's approximate(x) method to calculate the fitness value of a candidate solution x using the Fourier surrogate model.
Citing surF
If you find surF useful for your research, please cite our work as follows:
Manzoni L., Papetti D.M., Cazzaniga P., Spolaor S., Mauri G., Besozzi D., and Nobile M.S.: Surfing on Fitness Landscapes: FST-PSO Powered by Fourier Surrogate Modeling (under revision)
Metadata
Release files for surfer 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| surfer-0.0.1.tar.gz | 4.1 kB | Without provenance | Details for surfer-0.0.1.tar.gz |
Release files / surfer-0.0.1.tar.gz
| Download URL | surfer-0.0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f4ad134c36b2ac6be78911575ad5d1dbe260006007bcc139e13689738b38aa9
|
|
BLAKE2b-256 checksum How to use checksums |
b6ce9c11dcd3d0068be2c7904566e508ce2a58d0d704af4ed975ac802d91a73f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Security for surfer 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.