https://github.com/bigmlcom/flatline
Documentation, examples and utilities for Flatlline, BigML's dataset transformation and generation language
https://github.com/bigmlcom/flatline
Last synced: about 1 year ago
JSON representation
Documentation, examples and utilities for Flatlline, BigML's dataset transformation and generation language
- Host: GitHub
- URL: https://github.com/bigmlcom/flatline
- Owner: bigmlcom
- License: other
- Created: 2013-12-30T17:32:40.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-03-18T18:15:56.000Z (about 1 year ago)
- Last Synced: 2025-03-18T18:47:30.505Z (about 1 year ago)
- Language: Jupyter Notebook
- Homepage: http://bigmlcom.github.io/flatline
- Size: 915 KB
- Stars: 26
- Watchers: 13
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
[](http://flatline.readthedocs.io/en/latest/?badge=latest)
# Flatline, a language for data generation and filtering
Flatline is a lispy language for the specification of values to be
extracted or generated from an input dataset, using a finite sliding
window of input rows.
In BigML, it is used either as a row filter specifier or as a field
generator.
In the former case, the input consists of dataset rows on which a
single, boolean expression is computed, and only those for which the
result is true are kept in the output dataset.
When used to generate new datasets from given ones, a list of Flatline
expressions is provided, each one generating either a value or a list
of values, which are then concatenated together to conform the output
rows (each value representing therefore a field in the generated
dataset).
## Documentation
- [Flatline's user manual](docs/user-manual.rst).
- [Quick reference](docs/quick-reference.rst) with all pre-defined
functions.
- Or see the HTML version in
[Read the Docs](http://flatline.readthedocs.io/en/latest/?badge=latest).
## Local interpreters
### Javascript and Node.js
We include in [js](./js) Flatline interpreters implemented in
Javascript (compiled by Clojurescript from our canonical server-side
implementation) that you can use from your browser or from a nodejs
session.
### Python
The [python directory](./python) contains a small Python library that
wraps the nodejs interpreter and lets you interact with it using
Python. See its [README](./python/README.md) for more information,
including access to an iPython sample notebook.
## License

Flatline reference documentation by BigML Inc is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All code in this repository is released under the Apache License 2.0.