Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.