Skip to content

Commit

Permalink
Explicit target dimensionality of kernel pca example set to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed May 9, 2013
1 parent 51cf598 commit 024eca5
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -17,6 +17,7 @@ def preprocessor_kernelpca_modular (data, threshold, width):

preprocessor = KernelPCA(kernel)
preprocessor.init(features)
preprocessor.set_target_dim(2)
preprocessor.apply_to_feature_matrix(features)

return features
Expand Down

0 comments on commit 024eca5

Please sign in to comment.