Poly(2-hydroxyethyl methacrylate)-co-poly(4-vinyl pyridine) and poly(HEMA)-co-poly-(4-VP) copolymers were synthesized by free radical polymerization. K2S2O8 was used as an initiator. Chain lengths of the copolymer was changed by varying the monomer/initiator ratio. These polymers have molarites of 2.6 and 2.1 respectively and are called COP2 and COP4. The samples were exposed to gamma rays at room temperature. After irradiation, the EPR spectra of COP2 and COP4 were recorded between 120 K and 450 K. From the temperature dependence of the line intensity, it was concluded that unpaired spin concentration in the irradiated samples has been changing with temperature. A theoretical study, presented in this report, was aimed to test success of the machine learning methods and to select the best learning method.