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.6.tar.gz (341.5 kB view details)

Uploaded Source

Built Distribution

mcnets-2.0.6-py3-none-any.whl (71.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcnets-2.0.6.tar.gz
  • Upload date:
  • Size: 341.5 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.6.tar.gz
Algorithm Hash digest
SHA256 0fc0218eb16346fb8795d2d2ce98a5d612fc7f161d5cee13d99575036f1b9cdb
MD5 da9161e8ed076e6acc028c3df1376cb8
BLAKE2b-256 c5afda1baaf33a8d7b506480e59dd7c3f5ac818199422aa061a59f51c1686c94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcnets-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 71.9 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 180d433fbc75f7e13a7f644d6a277e25713d26e7ba07738df6faf220276150cb
MD5 750f1ded159aa7c28716a9a6745527b6
BLAKE2b-256 a723df6a4411a06437baea9622c90aa00f7fc9e70beff7eb9719a615641cb64f

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