To develop the DNN and RFC models to classify the nonmagnetic and magnetic materials, we used 56 elemental and electronic structure attributes, such as total number of unfilled orbitals, atomic number, atomic weight, number of valence electrons, and number of unfilled s, p and d orbitals, to develop the feature set (see Supporting Information). Then, we computed the weighted average (Avg.) and the maximum difference of those properties for each chemical formula. The weighted Avg. of a property M of a ternary compound A α B β C γ was calculated based on the following expression,