apple-0.1.0.0: test/examples/neuralNetwork.apple
{
softmax ← λx. {
-- TODO: softmax... what's the key for max?
xs ⟜ [ℯ(_x)]'1 x;
avg ← (+)/ 0 xs;
(%avg)'1 xs
};
sigmoid ← [1+ℯ(_x)];
sigmoid
}
{
softmax ← λx. {
-- TODO: softmax... what's the key for max?
xs ⟜ [ℯ(_x)]'1 x;
avg ← (+)/ 0 xs;
(%avg)'1 xs
};
sigmoid ← [1+ℯ(_x)];
sigmoid
}