Scan code of MatrixFactorizationModel