GithubHelp home page GithubHelp logo

Comments (6)

vruusmann avatar vruusmann commented on June 19, 2024

Is there a way to evaluate the model with both records at once?

Yes there is - it's called "batch prediction":
https://github.com/openscoring/openscoring#post-modelidbatch

The request and response objects are BatchEvaluationRequest and BatchEvaluationResponse, respectively.

Now, the problem is that the Openscoring-Python client library doesn't provide a method for interacting with this endpoint. The following PR might help, though: #6

from openscoring-python.

Tenceto avatar Tenceto commented on June 19, 2024

Thanks for your quick response!

The last link you wrote seems to be the solution. Do you know how can I make it overwrite the current package installation? I've never used GitHub before, sorry if this is too basic.

from openscoring-python.

vruusmann avatar vruusmann commented on June 19, 2024

Do you know how can I make it overwrite the current package installation?

A complete re-install would be the safest option:

pip uninstall openscoring
pip install git+https://github.com/openscoring/openscoring-python.git

from openscoring-python.

Tenceto avatar Tenceto commented on June 19, 2024

I think that's what I used to install the original version of the package. Shouldn't I do something different if I want the Openscoring object to have the evaluateBatch() method that has been added in the PR?

from openscoring-python.

vruusmann avatar vruusmann commented on June 19, 2024

Shouldn't I do something different if I want the Openscoring object to have the evaluateBatch() method that has been added in the PR?

  1. Clone Openscoring-Python to local computer.
  2. Apply this PR.
  3. Install Openscoring-Python from local computer using pip install .

from openscoring-python.

Tenceto avatar Tenceto commented on June 19, 2024

Thanks!

from openscoring-python.

Related Issues (12)

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.