Automatic Least-Effort Contextual Learning
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
curriculum
results
src
.gitignore
Cargo.toml
LICENSE
README.md
ec_one

README.md

Context

My MIT SuperUROP project: Automatic Least-Effort Contextual Learning.

Install and Build

Install rust (with rustup), clone the repo, and build.

# install rust (using rustup)
$ curl https://sh.rustup.rs -sSf | sh
# clone this repo
$ git clone git@github.com:lucasem/context
# build
$ cargo build

Run

We are using the EC algorithm with primitives designed for string transformation, implemented at lucasem/ec.

The easiest way to run this is to place the ec binary in the root directory of this project, and to use cargo run from the project root:

# start from this project's root directory.
# clone, build, and copy ec:
$ git clone git@github.com:lucasem/ec ec-repo
$ cd ec-repo
$ make && cp ec ../ec
$ cd ..
# run
$ cargo run

For more customization, you can have the $EC environment variable point to the ec binary and the $EC_CURRICULUM environment variable point to a directory with similar structure to ./curriculum/ec.