No project description provided
Project description
Overview
What is CLIML?
CLIML is a CLI tool that rapidly automates the creation of powerful supervised learning models:
- Auto-detection for regression/classification tasks.
- Automated hyperparameter tuning and model selection.
- Train models as quickly (or as extensively) as you like.
- Make easy predictions and output them to a CSV file.
- Beautifully formatted
--help
if you get stuck.
Who is CLIML for?
- Anyone who has some data and wants a quick, accessible way to apply ML.
- Data scientists who want to accelerate their ML prototyping workflows.
Installing CLIML
1. Pre-Requisites
- Python >=3.11, <4.0
- libomp (if using MacOS)
On MacOS, libomp is required for LightGBM models. You can get libomp by running: brew install libomp
.
2. Pip Install
Enter the following into the command line in your chosen directory:
$ pip install climl
Using CLIML
1. Getting Data
You can't do machine learning without some properly formatted data.
- Make sure it's a rectangular dataset (like you'd get in Excel).
- Ensure that your dataset has column headers.
- Put the output you want to start predicting in the final column.
- Save your dataset as a CSV file. (Excel coming soon!)
- Navigate to where the file is saved via the command line (
ls
andcd
are your friends).
That's as complicated as it gets! Now you're ready to do some Machine Learning.
2. Training a Model
You can train a powerful ML model using just four words (in seconds) :
$ climl train dataset.csv num_of_seconds
This will tell CLIML to ...
- Detect whether the final column in
dataset.csv
is numerical or categorical. - Begin training multiple regression or classification models, respectively.
- Continue tuning hyperparameters for your specified
num_of_seconds
. - Display the most accurate model and its hyperparameters to the terminal.
- Save your model as an
.climl
file.
If you enter ls
you'll be able to see your newly trained dataset.climl
model!
3. Inspecting a Model
Forgot what type of model you trained? Interested in telling everyone about its hyperparameters? You'll only need three words this time:
$ climl inspect dataset.climl
This will output the model's type, hyperparameters, accuracy, and time taken to discover
4. Making Predictions
Annoyingly you'll need four whole words again.
Firstly, make sure that your things_to_predict.csv
file is formatted exactly like the CSV file which model.climl
was trained on - just without the final output column!
Then run:
$ climl predict things_to_predict.csv model.climl
This will:
- Display a prediction of the outputs for whatever inputs are in
things_to_predict.csv
- Append a new column to
things_to_predict.csv
, with the header "Predicted Outputs"
5. Errors and --help
If you enter something incorrect, CLIML is pretty good at telling you why. For instance, if you enter:
$ climl train data.csv
You should see something like this: It looks like you didn't specify a training time!
If you're still a bit stuck, you can always enter one of the following:
climl --help
climl train --help
climl inspect --help
climl predict --help
To get something like this:
Roadmap
Here are some things on the roadmap:
- Train and send predictions to an Excel file
- Timeseries problems
- Multi-output models
- Automated data-cleaning
- Plotting functionality
If you particularly need one, drop us an email at the bottom of the page!
FAQs
What models does CLIML train?
CLIML runs its model selection algorithm on: XGBoost, LightGBM, Random Forest, Extra_Tree, Logistic Regressions with L1 and L2 Regularization, CatBoost, KNeighbours
How long to specify for training?
Depending on your dataset, start small (<20 seconds), then lengthen until you notice accuracy starts to taper off or if it's "good enough"!
Do I need a super-powerful computer?
No! CLIML is suited for devices with low computational resource. But there are limits to everything!
Contact
Any questions are very wlecome - please send them to: hello@climl.com
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 Distribution
Built Distribution
File details
Details for the file climl-0.1.7.tar.gz
.
File metadata
- Download URL: climl-0.1.7.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.12.0 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aad3bb6429dcf5e7ca8135f6f4cebc667fb05290bf325cf26b69eb7e3fdce711 |
|
MD5 | 864f66dd787d861d695acf9388411792 |
|
BLAKE2b-256 | 44cc09baa9252656a9d0e72abe444754c62413a5332f95e20488d51be6e31e7e |
File details
Details for the file climl-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: climl-0.1.7-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.12.0 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ef1a6d16bd9095b80f630426a26ad41552365e735dfcfe1194f213453fde35d |
|
MD5 | 6da562b7c2f65c94fec60c55892c1c04 |
|
BLAKE2b-256 | d4dd5a09b1178b868e72fe6c48f5304346b0114f8d896c3092d775741c2e68f2 |