Skip to main content

a machine learning framework by W̷̛͒i̶̓͗l̷͗̌ľ̶͘

Project description

BlastPY

a machine learning framework by W̷̛͒i̶̓͗l̷͗̌ľ̶͘

Example

from BlastPY.AI import BlastAI

# create AI or load from file
ai = BlastAI("FIRSTAI.dat")

if len(ai.questions) == 0:  # check if no questions have been added

    # add questions
    # [list-of-input-to-AI, list-of-wanted-outputs-from-AI]
    ai.appendQuestions([[[0], [0]],
                        [[1], [1]],
                        [[2], [2]],
                        [[3], [6]],
                        [[4], [8]],
                        [[5], [10]],
                        [[6], [30]],
                        [[7], [44]],
                        [[8], [51]],
                        [[9], [56]],
                        [[10], [56]]
                        ])

while True:

    # the AI generation
    print(ai.gen)

    # examen the AI
    print(ai.exam(1000))

    # compile the AI to python code
    open("compiled.py", "w").write(ai.toPythonCode())

Licence

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BlastPY-1.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BlastPY-1.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file BlastPY-1.0.2.tar.gz.

File metadata

  • Download URL: BlastPY-1.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.8

File hashes

Hashes for BlastPY-1.0.2.tar.gz
Algorithm Hash digest
SHA256 08d6bb6bd8ff804a2c8f158e712530cb352594d56c528ddb799d4124730dee34
MD5 cd0fa27b95dd12affd5dfe9a4f0cfecb
BLAKE2b-256 8150f27f863b1b2a394056048d236d596430a3a2d3d0dcd5af56cdf56598edbe

See more details on using hashes here.

File details

Details for the file BlastPY-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: BlastPY-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.8

File hashes

Hashes for BlastPY-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f248e048132f1b14c8ae1ea1d9ec01954692991f2054123dfc0afe78f965052f
MD5 5349ce2dd04e85b0c6d50cda9e6eea94
BLAKE2b-256 4f1264e3f085ae021e74ae6e79ad5cca4eab3927aa39d44eed22272401d45445

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page