Framework for developing FractalAI based algorithms.
Project description
Fragile
Fragile is a framework for developing optimization algorithms inspired by Fractal AI and running them at scale.
Features
- Provides classes and an API for easily developing planning algorithms
- Provides an classes and an API for function optimization
- Build in visualizations of the sampling process
- Fully documented and tested
- Support for parallelization and distributed search processes
About FractalAI
FractalAI is based on the framework of non-equilibrium thermodynamics, and can be used to derive new mathematical tools for efficiently exploring state spaces.
The principles of our work are accessible online:
- Arxiv manuscript describing the fundamental principles of our work.
- Blog that describes our early research process.
- Youtube channel with videos showing how different prototypes work.
- GitHub repository containing a prototype that solves most Atari games.
Getting started
Check out the getting started section of the docs, or the examples folder.
Running in docker
The fragile docker container will execute a Jupyter notebook accessible on port 8080 with password: fragile
You can pull a docker image from Docker Hub running:
docker pull fragiletech/fragile:version-tag
Where version-tag corresponds to the fragile version that will be installed in the pulled image.
Installation
This framework has been tested in Ubuntu 18.04 and supports Python 3.6, 3.7 and 3.8. If you find any problems running it in a different OS or Python version please open an issue.
It can be installed with pip install fragile["all"]
.
Detailed installation instructions can be found in the docs.
Documentation
You can access the documentation on Read The Docs.
Roadmap
Upcoming features: (not necessarily in order)
- Add support for saving visualizations.
- Fix documentation and add examples for the
distributed
module - Upload Montezuma solver
- Add new algorithms to sample different state spaces.
- Add a module to generate data for training deep learning models
- Add a benchmarking module
- Add deep learning API
Contributing
Contribution are welcome. Please take a look at contributining and respect the code of conduct.
Cite us
If you use this framework in your research please cite us as:
@misc{1803.05049,
Author = {Sergio Hernández Cerezo and Guillem Duran Ballester},
Title = {Fractal AI: A fragile theory of intelligence},
Year = {2018},
Eprint = {arXiv:1803.05049},
}
License
This project is MIT licensed. See LICENSE.md
for the complete text.
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
Built Distribution
File details
Details for the file fragile-0.0.36-py3-none-any.whl
.
File metadata
- Download URL: fragile-0.0.36-py3-none-any.whl
- Upload date:
- Size: 123.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f41a985d74e16c9871ddeb6531f13399fe3a622d211934728a52e6b3eafbf38 |
|
MD5 | f18d77fe8763088f37ab83eb70da60de |
|
BLAKE2b-256 | 2649eddf079eb4dddc33bae2804c5eada238dd167326f80c873b5c305b0da731 |