dfea6f3f0b0dc3ad834c45b1c3a322827b9e1bbf,neural_network/perceptron.py,,,#,81
Before Change
while True:
sample = []
for i in range(3):
sample.insert(i, float(input("value: ")))
network.sort(sample)
After Change
)
network.training()
print("Finished training perceptron")
print("Enter values to predict or q to exit")
while True:
sample = []
for i in range(len(samples[0])):
observation = input("value: ").strip()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: TheAlgorithms/Python
Commit Name: dfea6f3f0b0dc3ad834c45b1c3a322827b9e1bbf
Time: 2019-10-29
Author: janithcwanni@gmail.com
File Name: neural_network/perceptron.py
Class Name:
Method Name:
Project Name: pythonstock/stock
Commit Name: 10fb465c624b98a95e1eedf2973be9989f33ce55
Time: 2017-11-21
Author: yhy
File Name: web/dataIndicatorsHandler.py
Class Name: GetDataIndicatorsHandler
Method Name: get
Project Name: cve-search/cve-search
Commit Name: 01dcf599c63d22f2f7882164774f52f3776fa897
Time: 2015-01-26
Author: pieterjan.moreels@gmail.com
File Name: db_mgmt_admin.py
Class Name:
Method Name: