wopt</tt> method</a></li><li><a href="#12">Check the output</a></li><li><a href="#13">Evaluate the output</a></li></ul></div><h2 id="1">Important Information</h2><p>It is critical to zero out the values in the missing entries of the data tensor. This can be done by calling <tt>cp_wopt(X.*P,P,...)</tt>. This is a frequent source of errors in using this method.</p><h2 id="2">Create an example problem with missing data.</h2><p>Here we have 25% missing data and 10% noise.</p><pre class="codeinput">R = 2;
info =