Theoretical bases and practical advices about NN architecture