Skip to content

zhangkaifang/cp_decomposition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix&Tensor decomposition

This project implements matrix missing element completion and tensor missing element completion.

  • matrix_cp_one.py: This file uses the gradient descent method to complete the missing elements of the matrix.
  • matrix_cp_two.py: This file implements matrix missing element completion by using alternating least squares.
  • tensor_cp_one.py: This file implements tensor missing element completion by using alternating least squares.

Our CSDN blog posts (in Chinese)