 the exact
% same solution. 
M2alt = cp_als(X,3,'maxiters',100,'init',U2);
score(M2, M2alt) %<- Score of 1 indicates the same solution

%% Changing the output frequency
% Using the |'printitn'| option to change the output frequency.
M2alt2 = cp_als(X,3,'maxiters',100,'init',U2,'printitn',10); 

%% Suppress all output
% Set |'printitn'| to zero to suppress all output.
M2alt3 = cp_als(X,3,'maxiters',100,'init',U2,'printitn',0); % <-No output

%% Use HOSVD initial guess
% Use the |'nvecs'| option to use the le