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.

The current 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.7.tar.gz (64.3 kB view details)

Uploaded Source

Built Distribution

mcnets-2.0.7-py3-none-any.whl (67.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcnets-2.0.7.tar.gz
  • Upload date:
  • Size: 64.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.7.tar.gz
Algorithm Hash digest
SHA256 d9fbebe1d8f7a38b1151822eadf26cebfeb0fc53ea46caa81ef539565c9b3f2a
MD5 c196c6d6e66c90eb1aa27cd6551b5b5d
BLAKE2b-256 1dd519cca241ad2fdb148fa7785584d3885c5cb4919f2edf142721d235ddb7ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcnets-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 67.5 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 da9a8987de1b7a1244c16c9066043ded98a94dd7b7797858bb3642e4a1619033
MD5 5842c1dbe8753b473e43ccad874316c0
BLAKE2b-256 2343f4c773bdb1d24f19fd7d074ece7778ac5d80d0f2e267a13e3bac43bdb0e2

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