Machine Learning Applied to Cooperative Spectrum Sensing in Cognitive Radios