1. A method of producing compressed data including the steps of: a) receiving input data to be compressed; b) transforming said input data into a sum of basis functions multiplied by a corresponding set of coefficients; c) forming a function from said set of coefficients; d) estimating said function using a learning process and recording the resulting estimate; wherein said estimate defines the compressed data.