Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. def select_features_lasso(data, output_feature, input_features = None, user_standardization = True, user_max_iterations = 100,
  2. user_epsilon = 1.35):
  3. """
  4. data(Spark Dataframe): The data needed to perform feature selection on. It
  5. is a precondition that the data be clean and already have the schema the user
  6. wishes to work with
  7.  
  8. output_feature(String): The name of the feature which is to be predicted
  9. (expected for there to be a feature )
  10.  
  11. input_features(String List): A list of the names
  12. """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement