Automatic transfer functions based on informational divergence