{ "info": { "author": "Blake Anderson", "author_email": "blakebanders@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "### pyH2oMojo\n\n#### Unofficial Python wrapper for H2o MOJO's\n\nA lightweight python wrapper around an H2o EasyPredictModelWrapper instance\n\nInstantiating the object will launch the bundled Jar file, and establish a port on localhost on which to communicate with.\n\nDictionaries or JSON strings are passed to the predictor instance over a socket, and the output is read back via the subprocess' stdout pipe.\n\n#### Usage\n\n```\nfrom pyH2oMojo import H2oMojoPredictor\n# pass at minimum, the filename of the MOJO, and the predictor type\npredictor = H2oMojoPredictor(\"my_nn.zip\", \"multivariate\", verbose=True)\n\nprint(H2oMojoPredictor.predict({\"sepal_length\":4.9, \"sepal_width\":3.0, \"petal_length\":1.4,\"petal_width\":0.2}))\n>>> {\"prediction\":\"Iris-setosa\", \"predictionIndex\":1, \"classProbabilities\":[0.0, 0.944, 0.056]}\n\nprint(H2oMojoPredictor.supported_predictors())\n>>> [\"multivariate\", \"regression\", \"ordinal\", \"binomial\", \"autoencoder\", \"clustering\", \"dimreduction\"]\n\n# other constructor parameters include:\n# x_cols=None # List of columns to be passed to predict() - by default everything is passed\n# x_types=None # Dictionary of column name and types ('int', 'real', 'str') - these values will be converted before being sent to the model. \n# connection_timeout=10.0 # Number of seconds to wait for the Java subprocess to start before raising a runtime error\n# prediction_timeout=3.0 # Number of seconds to wait for a response from the Java subprocess before raising a runtime error\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/blakebjorn/pyH2oMojo", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyH2oMojo", "package_url": "https://pypi.org/project/pyH2oMojo/", "platform": "", "project_url": "https://pypi.org/project/pyH2oMojo/", "project_urls": { "Homepage": "https://github.com/blakebjorn/pyH2oMojo" }, "release_url": "https://pypi.org/project/pyH2oMojo/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "H2O MOJO wrapper - allows predictions from python without the webserver overhead.", "version": "0.1.1" }, "last_serial": 4023960, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "28e5aa06522086967ab519d0571528bb", "sha256": "4963cc44c18062475db2a7e518d1342951ddb741f1bad56e5d9d725b3ed2bab9" }, "downloads": -1, "filename": "pyH2oMojo-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "28e5aa06522086967ab519d0571528bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12760058, "upload_time": "2018-07-02T19:20:04", "url": "https://files.pythonhosted.org/packages/6d/df/0eb932ae56bfc54d4170e3ce5f842fb989fec5234748fa6f87ec2b79da20/pyH2oMojo-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0fd7f50facc4cbd9b27ed8bb0d2e19df", "sha256": "96f7a99abcbc002424afd08794a652dc0de2fdac736fe18f865ad2fe3d2c6df3" }, "downloads": -1, "filename": "pyH2oMojo-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0fd7f50facc4cbd9b27ed8bb0d2e19df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12758181, "upload_time": "2018-07-02T19:20:17", "url": "https://files.pythonhosted.org/packages/8d/e0/068260e0837da334e82ec711873af0f282da3ec882207c5358e92c96f46c/pyH2oMojo-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d36fac1287902574e42d6c1737fd6c08", "sha256": "9374bb3a5dcfdebbe1362daf22bfaba472f61075d8e73cad116f0f1b572b527e" }, "downloads": -1, "filename": "pyH2oMojo-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d36fac1287902574e42d6c1737fd6c08", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12758652, "upload_time": "2018-07-02T20:02:04", "url": "https://files.pythonhosted.org/packages/d3/38/94f937c21049d7cc58e7af2db7204981061b1888f10a36a6e223c28e5573/pyH2oMojo-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2b8cc2dba44b642f50cf6704657bc719", "sha256": "76de061740b7669e4c8566a8684c0ff53d8c3db44af357d72cf7ce1ccb71bed7" }, "downloads": -1, "filename": "pyH2oMojo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2b8cc2dba44b642f50cf6704657bc719", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12758326, "upload_time": "2018-07-02T20:02:29", "url": "https://files.pythonhosted.org/packages/ac/27/c273ceba08ccbe02005cb0d0a6ad95146f46fb654eac969509ef7bc95283/pyH2oMojo-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d36fac1287902574e42d6c1737fd6c08", "sha256": "9374bb3a5dcfdebbe1362daf22bfaba472f61075d8e73cad116f0f1b572b527e" }, "downloads": -1, "filename": "pyH2oMojo-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d36fac1287902574e42d6c1737fd6c08", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12758652, "upload_time": "2018-07-02T20:02:04", "url": "https://files.pythonhosted.org/packages/d3/38/94f937c21049d7cc58e7af2db7204981061b1888f10a36a6e223c28e5573/pyH2oMojo-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2b8cc2dba44b642f50cf6704657bc719", "sha256": "76de061740b7669e4c8566a8684c0ff53d8c3db44af357d72cf7ce1ccb71bed7" }, "downloads": -1, "filename": "pyH2oMojo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2b8cc2dba44b642f50cf6704657bc719", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12758326, "upload_time": "2018-07-02T20:02:29", "url": "https://files.pythonhosted.org/packages/ac/27/c273ceba08ccbe02005cb0d0a6ad95146f46fb654eac969509ef7bc95283/pyH2oMojo-0.1.1.tar.gz" } ] }