Various machine learning models that use unique Monte Carlo-type parameter training.
Project description
Monte-Carlo-Neural-Nets
Overview
A package made to see how well a basic architecture of neural nets could be. The nets can be created with custom input and output heights, as well as full customization of the hidden layers' sizes (height and count of layers) and activation functions that are applied at each space between the layers.
The basic operation of these nets is that they can be trained to some data set (or some score in an unsupervised case) by randomly 'tweaking' the different parameter weight values within the net. These weight values are clipped to be restrained to the range [-1, 1].
As of recent versions (>1.4.0) there are now a variety of different models to try and use (SUNN, MCSoupRegressor, MCSoupClassifier and MCSimpleEnsemble). Each one works in different ways, but they all support the typical .fit, .predict, .score, etc. methods. They all still use various Monte Carlo training algorithms tailored to how each one works.
GitHub and QuickStart
Given on the GitHub page below is a quick start code that shows the syntax for creating a network, a few ways to write in the activation functions to be used, the included train-test split function, fitting the models, getting their predictions, and the plots of the resulting predictions.
More explanations, examples, and technicals can be found on the GitHub page: https://github.com/SciCapt/Monte-Carlo-Neural-Nets
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mcnets-2.0.0.tar.gz
.
File metadata
- Download URL: mcnets-2.0.0.tar.gz
- Upload date:
- Size: 56.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1944f92915b773c4cd4bba43dd0f6b8100cfcc47e4bde4e3de908a55384b2953 |
|
MD5 | 621d450fe263925dcdf055804b342d0b |
|
BLAKE2b-256 | 9c39532c3aa4b96355c917de926c23ceda0766eee82788f7e0df56a4a9d81bbf |
File details
Details for the file mcnets-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: mcnets-2.0.0-py3-none-any.whl
- Upload date:
- Size: 58.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ce333adb33ac64d6bf9e45ed1f8f0e91591eb4e256ab783bcb0ada8af3f5c39 |
|
MD5 | eb669f5dab27741c75a39ecb7a358590 |
|
BLAKE2b-256 | fcc72ea6274942ade2b8fe04fe7afe89887a6be8e4365d1f2f65601fe5930e63 |