An artificial intelligence framework by Landia
-
Install Luajit
-
Add the following lines to main.lua
Network = require "network"
-- Create an kendra
local kendra = Network {
Perceptron(3, Functions.Sigmoid),
Perceptron(3, Functions.Sigmoid),
Perceptron(2, Functions.Sigmoid),
}
--- Predict 1,2,3 and return the results
kendra.compute({1,2,3})
-
Run with luajit.exe main.lua (Windows) or luajit main.lua (*nix)
-
See examples to understand about training strategies to make your kendra model smarter!