recurrent network need parameter iterations: net.train([ {input: "Feeling good.", output: "positive"}, {input: "I'm feeling pity for m action.", output: "negative"} ],{iterations: 100});