Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.0 instead.
Reason given by maintainers: Provides wrong information

Updates

  • Added The display feature
  • fixed a bug

How to Use

1. Install

pip install The-Shaper

2. Import

import shaper

3. Create a Dataset

Each dataset row contains [input, output, loss]. Inputs should be lists, even for a single value.

dataset = [
    [[1], 3, -1],
    [[2], 3, 0],
    [[3], 5, 0]
]

4. Create a Model

AI = shaper.Model("MyModel", dataset, None)

The third argument is the modulo. Use None for no modulo.

5. Make a Prediction

result = AI.think([2])
print(result)

6. Get Correct Outputs

print(AI.get_correct_outputs())

This returns the reconstructed outputs using output - loss.

7. Change the Dataset

AI.change_dataset([
    [[4], 7, 0],
    [[5], 8, 1]
])

Display the Dataset

Use display() to print your model's dataset in a neat table.

import shaper

dataset = [
    [[1], 3, -1],
    [[2], 3, 0],
    [[3], 5, 0]
]

AI = shaper.Model("MyModel", dataset, None)
AI.display()

Example output:

==================================================
 THE SHAPER: MyModel
==================================================
INPUT               OUTPUT         LOSS
--------------------------------------------------
[1]                 3              -1
[2]                 3              0
[3]                 5              0
==================================================

Each row shows the input, stored output, and loss.

The model will use the updated dataset for future predictions.

Metadata

Release files for MemAI 0.1.2

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

Source distribution (sdist)

Source distribution for MemAI 0.1.2
File Size Uploaded Provenance Actions
memai-0.1.2.tar.gz 3.3 kB Without provenance Details for memai-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for MemAI 0.1.2
File Interpreter ABI Platform Actions
memai-0.1.2-py3-none-any.whl Python 3 none any Details for memai-0.1.2-py3-none-any.whl

Total release size: 6.6 kB

Release files / memai-0.1.2.tar.gz

Download URL memai-0.1.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
443fd7ca24fce79d652b0fa6aaf900ad75b963915280af5129b4a385c116715b
BLAKE2b-256 checksum
How to use checksums
77795983ff5c1460153e1459b0995ced0eabed78f1338fe2374a57cf80c22f42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / memai-0.1.2-py3-none-any.whl

Download URL memai-0.1.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b618f6d42a120bdd1992d85e88ac5c7b9326c9e975bb29df37bab369b981457
BLAKE2b-256 checksum
How to use checksums
0185df86a2c550d1143aff98ebc9888a5c310abcf5b703b244496c04d7544cb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Security for MemAI 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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