Skip to content

Instantly share code, notes, and snippets.

@danieljoserodriguez
Last active August 21, 2019 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieljoserodriguez/d9786581af20d0ce7b89ba507b806e59 to your computer and use it in GitHub Desktop.
Save danieljoserodriguez/d9786581af20d0ce7b89ba507b806e59 to your computer and use it in GitHub Desktop.
Neural Network - Python - Simplest Single Neuron
# Daniel J. Rodriguez
# https://github.com/danieljoserodriguez
# This Gist is for information purposes only to demonstrate how to perform the task at hand.
# I do not advise using this in a production environment - rather - for learning on your own.
# simplest neural network - single input / neuron
neuron_weight = 0.1
test_scores = [99, 75]
neuron_prediction = test_scores[0] * neuron_weight
print(neuron_prediction)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment