Skip to main content

Requirements

  1. Python 3.X with pip/Anaconda on Windows
  2. Java 1.8 or higher

Install

$ pip install tuo_ml

If you do not have administrator rights append --user/--break-system-packages to above command.

Alternatively, if some errors occur in later steps to install from source.

Run it

tuo/data $ tuo_train --help
tuo/data $ tuo_train

The output should look similar to:

Loading database from database.yml...done
Parsing database...
100%|█████████████████████████████████████| 1705/1705 [00:20<00:00, 84.00it/s]
100%|███████████████████████████████████████████| 1/1 [00:20<00:00, 20.30s/it]
Training...
Win......Average Error: +-1.752% (+-0.027%)
Stall....Average Error: +-0.750% (+-0.017%)
Loss.....Average Error: +-1.225% (+-0.022%)
Points...Average Error: +-1.760 (+-0.031)

The uncertainty of the training is indicated. You can copy the *.pmml files into your data/ folder to use them in tuo now.

Run it from source

If you want to define your own ML model follow these steps.

Download

Download the source zip from github and unzip it. Or better clone the repo

$ git clone https://github.com/APN-Pucky/tyrant_optimize.git tuo
$ cd tuo/ml

Install

tuo/ml $ poetry install 

Modify train.py to your likings.

Run it

tuo/data $ poetry run tuo_train

Metadata

Release files for tuo-ml 6.0.0.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tuo-ml 6.0.0.27
File Size Uploaded
tuo_ml-6.0.0.27.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tuo-ml 6.0.0.27
File Interpreter ABI Platform
tuo_ml-6.0.0.27-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / tuo_ml-6.0.0.27.tar.gz

Download URL tuo_ml-6.0.0.27.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
46fb14933c7a232f2db70479580a4fbe7e39b23ceac39d453841a699aaaf5bd0
BLAKE2b-256 checksum
How to use checksums
5132280bbeccc1bb006ac782e70273ba640e356dbaac623bfde68492beac0332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.10.10 Linux/6.1.12-gentoo

Release files / tuo_ml-6.0.0.27-py3-none-any.whl

Download URL tuo_ml-6.0.0.27-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
835d26ae9e526e220ffb2966298c71156e1001d27db4e79181e51381383b70cd
BLAKE2b-256 checksum
How to use checksums
6db01a90d73f2dc117a32fb9059f047918aefbdd407f4184d34505861bc5c5db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.10.10 Linux/6.1.12-gentoo

Release history Release notifications | RSS feed

This release

6.0.0.27 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page