Skip to content

Commit

Permalink
removed scaling of pcaVariance as this leads to weird results
Browse files Browse the repository at this point in the history
  • Loading branch information
zarquon42b committed Mar 17, 2016
1 parent c702770 commit 775a614
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/core/include/LowRankGPModelBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,7 @@ class LowRankGPModelBuilder: public ModelBuilder<T> {
VectorType pcaBasisNorm = pcaBasis.colwise().norm();
for (unsigned i = 0; i < pcaBasisNorm.size(); i++) {
pcaBasis.col(i) /= pcaBasisNorm[i];
pcaVariance[i] /= pcaBasisNorm[i];
}


}

RowVectorType mu = m_representer->SampleToSampleVector(mean);

Expand Down

0 comments on commit 775a614

Please sign in to comment.