We present the results of the measurement of stellar longitudinal magnetic fields (H_eff_), using machine learning algoritmhs (MLA). We applied the MLA approach in the analysis of two stars, namely, HD 190771 and HD 9471. We present in electronic format the two data sets, one per star, used in the training of the MLA.