Magnetization of the Ising model on the generalized checkerboard lattice