Skip to main content

Consult the module API page at

https://engineering.purdue.edu/kak/distCGP/ComputationalGraphPrimer-1.1.5.html

for all information related to this module, including information related to the latest changes to the code.

from ComputationalGraphPrimer import *

cgp = ComputationalGraphPrimer(
               expressions = ['xx=xa^2',
                              'xy=ab*xx+ac*xa',
                              'xz=bc*xx+xy',
                              'xw=cd*xx+xz^3'],
               output_vars = ['xw'],
               dataset_size = 10000,
               learning_rate = 1e-6,
               grad_delta    = 1e-4,
               display_vals_how_often = 1000,
      )

cgp.parse_expressions()
cgp.display_network1()
cgp.gen_gt_dataset(vals_for_learnable_params = {'ab':1.0, 'bc':2.0, 'cd':3.0, 'ac':4.0})
cgp.train_on_all_data()
cgp.plot_loss()

Metadata

Release files for ComputationalGraphPrimer 1.1.5

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

Source distribution (sdist)

Source distribution for ComputationalGraphPrimer 1.1.5
File Size Uploaded Provenance Actions
computationalgraphprimer-1.1.5.tar.gz 80.4 kB Without provenance Details for computationalgraphprimer-1.1.5.tar.gz

Release files / computationalgraphprimer-1.1.5.tar.gz

Download URL computationalgraphprimer-1.1.5.tar.gz
Size 80.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ca0b451fd2a92d8f835302b63dfee218ab5b5f39b3e2cb0fb2206b262b667116
BLAKE2b-256 checksum
How to use checksums
a97063d5e06bb20f59be8e45ee9f40792d9ca1efe4ae18d2b45ab0bd53cb53d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for ComputationalGraphPrimer 1.1.5

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.

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