Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created January 27, 2018 12:34
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 NMZivkovic/4e82cebe5618cc7daa8b96910b314353 to your computer and use it in GitHub Desktop.
Save NMZivkovic/4e82cebe5618cc7daa8b96910b314353 to your computer and use it in GitHub Desktop.
public interface ISynapse
{
double Weight { get; set; }
double PreviousWeight { get; set; }
double GetOutput();
bool IsFromNeuron(Guid fromNeuronId);
void UpdateWeight(double learningRate, double delta);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment