Coder Social home page Coder Social logo

Comments (3)

vruusmann avatar vruusmann commented on July 17, 2024

importing a PMML model into Spark using pyspark or scala or sparkR?

JPMML-Evaluator-Spark is a Java library, which means that you can call it directly from Scala code.

If you want to call it from PySpark or SparkR/Sparklyr, then you should take time to develop simple Python/R wrappers for it. Otherwise, simply use their Java gateways for communication (eg. in PySpark, you can access it via sc._jvm).

from jpmml-evaluator-spark.

SachinTen11 avatar SachinTen11 commented on July 17, 2024

So, we cannot use this package in Zeppelin or Jupyter notebooks? since JPMML is a java package and it cannot be used with a interpreted language? I am new to spark, please correct me if my understanding is incorrect.

from jpmml-evaluator-spark.

vruusmann avatar vruusmann commented on July 17, 2024

So, we cannot use this package in Zeppelin or Jupyter notebooks?

You can use this package in whatever Apache Spark ML environment you like. However, if you are using non-Java environments such as Python or R, then it would be recommended to create an appropriate Python or R wrapper API on top of the existing Java API to improve end user experience.

I haven't had time to build those Python or R wrapper APIs yet. But it's a fairly short task, maybe one or two days of development work.

from jpmml-evaluator-spark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.