mob-ai commented on a change in pull request #26124: [SPARK-29224][ML]Implement
Factorization Machines as a ml-pipeline component
URL: https://github.com/apache/spark/pull/26124#discussion_r338951244
##########
File path: python/pyspark/ml/regression.py
##########
@@ -2126,6 +2127,181 @@ def __repr__(self):
return self._call_java("toString")
+@inherit_doc
+class FactorizationMachines(JavaPredictor, HasMaxIter, HasStepSize, HasTol,
HasSolver, HasLoss,
+ JavaMLWritable, JavaMLReadable):
+ """
+ Factorization Machines.
+
+ loss Supports:
+
+ * logisticLoss (default)
Review comment:
> Dumb question but does this render correctly in python docs? I'm not sure
this is how bulleted lists work, but am not sure
I refer to the LinearRegression docs (regression.py: line51). In my
experience, python \_\_doc\_\_ just a string, it won't render as a list. But I
have not idea, whether spark will use \_\_doc\_\_ to generate docs html.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]