Skip to main content

Lightweight Machine Learning package with models that train using simple Monte Carlo-like methods.

Project description

Monte-Carlo-Neural-Nets

Overview

A very lightweight machine learning package.

Has models that use a unique and simple Monte Carlo approach to training. This method used is very generalizable and can therefore be extended to a variety of models both known and new.

The primary model, the 'NeuralNetwork' class, is on par with other similar models such as the MLPRegressor/MLPClassifier featured in SciKit-Learn, but has more customizability.

In V2.0.4 the list of models avaliable and some of their features includes:

  • NeuralNetwork
    • Complete hidden layer size and activations customization
    • Supports externally defined activation functions
    • Allows customizing the input and output activations
    • Easy-access hyperparam ranges for Optuna (via .get_param_ranges_for_optuna)
  • SoupRegressor
    • A unique combination of many various functions with trainable coefficients
    • Typically on-par with the NeuralNetwork; slightly more interpretable
    • Many hyperparams to adjust, with more to come

Some QoL functions and features included are:

  • TTSplit: Included train-test splitter
  • cross_val: Simple cross validation system
  • Built-in scorer functions with support for external functions
  • Ability to save and load models at any point (.save & load_model)
  • Ability to copy a model via .copy

GitHub and QuickStart

More explanations, examples, and technicals can be found on the GitHub page: https://github.com/SciCapt/Monte-Carlo-Neural-Nets

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

mcnets-2.0.4.tar.gz (60.3 kB view details)

Uploaded Source

Built Distribution

mcnets-2.0.4-py3-none-any.whl (62.8 kB view details)

Uploaded Python 3

File details

Details for the file mcnets-2.0.4.tar.gz.

File metadata

  • Download URL: mcnets-2.0.4.tar.gz
  • Upload date:
  • Size: 60.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.8

File hashes

Hashes for mcnets-2.0.4.tar.gz
Algorithm Hash digest
SHA256 be66118bd1c765cbc22a46351b8f8fa7743a72ea26b3927e2d7a6e0fb56390df
MD5 aea6ad108242e6f720eb8fd945e67e39
BLAKE2b-256 5c79cbc9e6cd84b05559823557d51ceeb19dee10090dfa89505726bd68f2a81a

See more details on using hashes here.

File details

Details for the file mcnets-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: mcnets-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 62.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.8

File hashes

Hashes for mcnets-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4cacf13f8aac9363eeba8559c70ff47bffeedbe7981436c3f3e90d61c2d37f
MD5 a420cb39dc23b9b1754f6cf4724783f1
BLAKE2b-256 b5c209c105d1063fd108aac8aab8a6e13c48781c33a1d1f763f22622c7e8fae2

See more details on using hashes here.

Supported by

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