Last active
August 21, 2019 05:40
-
-
Save danieljoserodriguez/d9786581af20d0ce7b89ba507b806e59 to your computer and use it in GitHub Desktop.
Neural Network - Python - Simplest Single Neuron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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