3/7/2024 0 Comments Pca return column![]() ![]() Tbl_spark: When x is a tbl_spark, a transformer is constructed then immediately applied to the input tbl_spark, returning a tbl_spark Ml_pipeline: When x is a ml_pipeline, the function returns a ml_pipeline with the transformer or estimator appended to the pipeline. ![]() The object contains a pointer to a Spark Transformer or Estimator object and can be used to compose Pipeline objects. Spark_connection: When x is a spark_connection, the function returns a ml_transformer, a ml_estimator, or one of their subclasses. The object returned depends on the class of x. ml_pca() is a wrapper around ft_pca() that returns a ml_model. In the case where x is a tbl_spark, the estimator fits against x to obtain a transformer, which is then immediately used to transform x, returning a tbl_spark. Length-one character vector used to prepend names of components. ![]() The columns to use in the principal components analysis. ) Arguments ArgumentsĪ spark_connection, ml_pipeline, or a tbl_spark.Ī character string used to uniquely identify the feature transformer. ) ml_pca(x, features = tbl_vars(x), k = length(features), pc_prefix = "PC". Ft_pca( x, input_col = NULL, output_col = NULL, k = NULL, uid = random_string( "pca_"). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |