Skip to main content

Package for working with Neural Networks for small projects

Project description

SimpleNode

SimpleNode is a small package for working with Neural Networks in python

Features

  • Easily create a Neural Network
  • Create Labled Data
  • Train the Neural Network using Labled Data
  • Save trained models
  • Load previously saved models
  • Make predictions with new inputs

Example

from NeuralNetwork import NeuralNetwork

// Sample XOR dataset
x = [[0, 0], [0, 1], [1, 0], [1, 1]]
y = [[0, 1], [1, 0], [1, 0], [0, 1]]

Network = NeuralNetwork([2, 3, 2])

// Params: trainDataX, trainDataY, epochs, reportFreq
Network.Learn(x, y, 10, 1)

// Save Network
Network.SaveNetwork("MyNetwork.csv")

// Predict
print( Network.Predict([1, 0]) )

Created by Artyom Yesayan

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

SimpleNode-0.32.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

SimpleNode-0.32-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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