Pre-release
This release is a pre-release and may not be stable for production use.
Projekt Francium
A package to test out AI Algorithms in Python
Install
pip install git+https://github.com/satyajitghana/ProjektFrancium
Example Usage
import francium.algorithms.hill_climbing as hc
import francium.core.eval_functions as eval_functions
from francium.core import State
agent = hc.Agent(step_size=1e-1)
env = hc.Environment(x_bounds=(-5.0, 5.0), y_bounds=(-5.0, 5.0), eval_func=eval_functions.sinx_plus_x)
solver = hc.Solver(agent=agent, environment=env)
solver.init_solver(
init_state=State({
'x': 4.0,
'y': 2.0,
'z': env.evaluation_func(4.0, 2.0)
})
)
for episode in range(1000):
trainable = solver.train_step()
if not trainable:
break
solver.plot_history()
env.plot_environment()
see notebooks for more examples
Made with 💘 by shadowleaf
Metadata
Release files for francium 0.0.3.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| francium-0.0.3.dev1.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| francium-0.0.3.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.0 kB
Release files / francium-0.0.3.dev1.tar.gz
| Download URL | francium-0.0.3.dev1.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fda266e4d3f62b2e1916384fc1a58deef492ea4d2f6ff56fca819368488c196e
|
|
BLAKE2b-256 checksum How to use checksums |
6442af0b8a60555f6ed13a3f66f343a2bd49a1f28078091d1414210975118c4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
|
Release files / francium-0.0.3.dev1-py3-none-any.whl
| Download URL | francium-0.0.3.dev1-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9f04162b1f88228f7e5da24b44d7bd6dabf39c99035bf8220e9b94d5fa2a285
|
|
BLAKE2b-256 checksum How to use checksums |
75c8f72df1a559f41d130744550a6ca1859701e64c60dcaa5917229aa412bdae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
|