Neural networks modeling