decomposition to sklearn