Abstract Problem specific network structure optimization subsumes the problem of input selection and network topology identification. Requirements to the network should be accuracy and good generalization abilities. In this contribution we describe in detail an evolutionary algorithm which performs both tasks well. Furthermore, approximation results on mathematical and real world data are presented. In this case we used lattice-based associative memory networks (LB-AMNs) using B-splines as basis functions. The method here is not restricted to B-splines as basis functions. The proposed method and algorithm can be seen as optimized classification system.