|
Algorithm 1 Costs learning. |
Input (Learning Set, Initial edit costs, ) Output (Learnt edit costs)
-
Initialise:
.
, …, = Initial edit costs.
While:
Classify all molecules with nearest neighbour and (Equation (1)) using .
Compute and : (Equations (2) and (3)) for all incorrectly classified.
Deduce
(Equation (4)).
Compute , and , : (Equation (12)).
Compute
, …, (Equation (13)).
Update costs:
.
-
.
End While
End Algorithm
|