a compressor / decompressor selecting apparatus includes a performance analyzer , a training server , a storage unit , and a selecting unit . the performance analyzer analyzes the performance of the current internet communication system , and outputs environmental parameters accordingly . the training server obtains learning data corresponding to a hyperplane according to training samples . the storage unit stores the learning data and the related parameters . the selecting unit does a functional analysis according to the environmental parameters and the learning data in order to select the codec suitable for the current internet communication system .