How to use MLlib in spark SQL -
lately, i've been learning spark sql, , wanna know, there possible way use mllib in spark sql, :
select mllib_methodname(some column) tablename;
here, "mllib_methodname" method mllib method. there example shows how use mllib methods in spark sql?
thanks in advance.
the new pipeline api based on dataframes, backed sql. see
http://spark.apache.org/docs/latest/ml-guide.html
or can register predict method mllib models udfs , use them in sql statement. see
Comments
Post a Comment