Skip to main content

Just a tool for tamu_csce_636

Project description

(Readme template below)

What is this?

Just a tool for tamu_csce_636

How do I use this?

pip install tamu_csce_636_project1

from tamu_csce_636_project1 import Evaluator

p = [
    [ 0.4759809,  0.9938236, 0.819425 ],
    [-0.8960798, -0.7442706, 0.3345122],
]
evaler = Evaluator(
    print=True,
    input_output_pairs=[
        # n, k, m, p
        ((5, 2, 0, p), 1),
        ((5, 2, 2, p), 1.9242387),
    ]
)

losses = evaler.eval(
    # p will be a list of lists (matrix)
    # your_func_or_whatever() needs to return the m-height value as a python float
    lambda n,k,m,p: your_func_or_whatever(n,k,m,p)
)
# losses = {
#     # n, k, m
#     (5, 2, 0): 0.0,
#     (5, 2, 2): 0.8916794023379957,
# }

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

tamu_csce_636_project1-0.0.2.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

tamu_csce_636_project1-0.0.2-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file tamu_csce_636_project1-0.0.2.tar.gz.

File metadata

  • Download URL: tamu_csce_636_project1-0.0.2.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/6.6.0 pkginfo/1.9.6 requests/2.30.0 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.8.13

File hashes

Hashes for tamu_csce_636_project1-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b2d641976c6cc1db09ed5c3292b074b50866eae628cc768629727c2056faec8f
MD5 e0a74c2fde6dd5345757ac5bab9907cf
BLAKE2b-256 589e4a6dfd3ce3e5b6a543c73c236fabfd3e24a40585c5ac94c600a82c72e09a

See more details on using hashes here.

File details

Details for the file tamu_csce_636_project1-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tamu_csce_636_project1-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/6.6.0 pkginfo/1.9.6 requests/2.30.0 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.8.13

File hashes

Hashes for tamu_csce_636_project1-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e0654f18f44a240719e79d8c603055fa71bf9f83e937b3db625dc5515bdffa4
MD5 2f156712c319ba96f953f25908787c81
BLAKE2b-256 b9f0b43e4799c4c5aa50243c0451c391a5f4a494a2eeb398dfdfeb69466d4a3d

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