@@ -115,7 +115,7 @@ setMethod("spark.glm", signature(data = "SparkDataFrame", formula = "formula"),
115115 })
116116
117117# ' @title Generalized Linear Models (R-compliant)
118- # Fits a generalized linear model, similarly to R's glm().
118+ # ' Fits a generalized linear model, similarly to R's glm().
119119# ' @param formula A symbolic description of the model to be fitted. Currently only a few formula
120120# ' operators are supported, including '~', '.', ':', '+', and '-'.
121121# ' @param data SparkDataFrame for training.
@@ -143,7 +143,6 @@ setMethod("glm", signature(formula = "formula", family = "ANY", data = "SparkDat
143143 spark.glm(data , formula , family , tol = epsilon , maxIter = maxit )
144144 })
145145
146- # ' @title Summary of GLM model
147146# Returns the summary of a model produced by glm() or spark.glm(), similarly to R's summary().
148147# ' @param object A fitted generalized linear model
149148# ' @return \code{summary} returns a summary object of the fitted model, a list of components
@@ -183,7 +182,6 @@ setMethod("summary", signature(object = "GeneralizedLinearRegressionModel"),
183182 return (ans )
184183 })
185184
186- # ' @title Print summary of GLM model
187185# Print the summary of GeneralizedLinearRegressionModel
188186# ' @rdname spark.glm
189187# ' @param x Summary object of fitted generalized linear model returned by \code{summary} function
@@ -215,7 +213,6 @@ print.summary.GeneralizedLinearRegressionModel <- function(x, ...) {
215213 invisible (x )
216214 }
217215
218- # ' @title Make predictions using the produced generalized linear model
219216# Makes predictions from a generalized linear model produced by glm() or spark.glm(),
220217# similarly to R's predict().
221218# ' @param newData SparkDataFrame for testing
@@ -472,7 +469,6 @@ setMethod("write.ml", signature(object = "AFTSurvivalRegressionModel", path = "c
472469 invisible (callJMethod(writer , " save" , path ))
473470 })
474471
475- # ' @title Save fitted GLM model
476472# Save the generalized linear model to the input path.
477473# ' @param path The directory where the model is saved
478474# ' @param overwrite Overwrites or not if the output path already exists. Default is FALSE
0 commit comments