MCPcopy Create free account
hub / github.com/AssemblyAI-Community/Machine-Learning-From-Scratch / perceptron.py

File perceptron.py

08 Perceptron/perceptron.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import numpy as np
2
3
4def unit_step_func(x):

Callers

nothing calls this directly

Calls 5

PerceptronClass · 0.85
plotMethod · 0.80
accuracyFunction · 0.70
fitMethod · 0.45
predictMethod · 0.45

Tested by

no test coverage detected