Skip to content

Commit

Permalink
Update meta examples using 'fit' api
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored and vigsterkr committed Jun 8, 2018
1 parent a048954 commit 0724835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/meta/src/regression/least_angle_regression.sg
Expand Up @@ -13,10 +13,10 @@ Labels labels_test = labels(f_labels_test)
#![preprocess_features]
PruneVarSubMean SubMean()
NormOne Normalize()
SubMean.init(features_train)
SubMean.fit(features_train)
SubMean.apply_to_feature_matrix(features_train)
SubMean.apply_to_feature_matrix(features_test)
Normalize.init(features_train)
Normalize.fit(features_train)
Normalize.apply_to_feature_matrix(features_train)
Normalize.apply_to_feature_matrix(features_test)
#![preprocess_features]
Expand Down

0 comments on commit 0724835

Please sign in to comment.