-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperceptron.txt
28 lines (24 loc) · 909 Bytes
/
perceptron.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Perceptron learning data
#
# lines starting with # characer consedered comment
# information in this file will be parsed as case insencetive
# learning parameter eta between 0 and 1, default value = 1.0
eta = 1.0
# activation function value belongs to {signum, hard_limit}, default value = signum
activation = signum
# initial weight vector, required, parse error will occure if not exists
weight = [1,0, 0]
# patterns to be used in learning
# the order of patterns is important
# each pattern should start with the letter p followed by : and the desired value
# ex. p:+ == p:+1 == p:1 -> pattern belong to + class
# p:- == p:-1 -> pattern belong to - class
# any other value will be parse error
# there must be at least one pattern in this file
# pattern vector should not contain leading 1 for bias
p:+ = [1, 1]
p:+ = [1, -1]
p:+ = [0, -1]
p:- = [-1, -1]
p:- = [-1, 1]
p:- = [0, 1]