 Both the encoder and decoder begin with a trivial model, yielding poor compression of initial data, but as they learn more about the data, performance improves.Most popular types of compression used in practice now use adaptive coders.Lossless compression methods may be categorized according to the type of data they are designed to compress.