https://github.com/loda-lang/loda-python
LODA Runtime and Machine Learning in Python
https://github.com/loda-lang/loda-python
integer-sequence-prediction integer-sequences machine-learning python
Last synced: 10 months ago
JSON representation
LODA Runtime and Machine Learning in Python
- Host: GitHub
- URL: https://github.com/loda-lang/loda-python
- Owner: loda-lang
- License: apache-2.0
- Created: 2023-02-24T19:27:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T13:59:50.000Z (almost 3 years ago)
- Last Synced: 2025-03-27T22:43:09.723Z (10 months ago)
- Topics: integer-sequence-prediction, integer-sequences, machine-learning, python
- Language: Python
- Homepage: https://loda-lang.org/
- Size: 198 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# LODA Python
This Python package contains an implementation of the [LODA Language](https://loda-lang.org/):
an assembly language and computational model for finding integer sequence programs.
This Python package allows you to read and write LODA programs, to evaluate
them to integer sequences, to search for matches in the
[OEIS](https://www.oeis.org/) database,
and to use machine learning tools from [Tensorflow](https://www.tensorflow.org/)
to find new integer sequence programs.
## Getting Started
You need Python 3.7 or higher. To install the dependencies for LODA, run these commands:
```bash
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
```
To execute the tests, run the following command:
```bash
nose2 tests -v
```
Check out [sample.py](sample.py) and the [documentation](https://loda-lang.org/loda-python/) to find out how to use the LODA Python package.