Comments (6)
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.
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.
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.
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.
Shouldn't I do something different if I want the Openscoring object to have the evaluateBatch() method that has been added in the PR?
- Clone Openscoring-Python to local computer.
- Apply this PR.
- Install Openscoring-Python from local computer using
pip install .
from openscoring-python.
Thanks!
from openscoring-python.
Related Issues (12)
- Add Pandas' DataFrame support to CSV evaluation function
- Connection refused HOT 6
- the same question 0.5.0 xgbValue is not defined HOT 1
- The web server at http://localhost:8080/openscoring did not identify itself as Openscoring/2.0 service HOT 5
- ConnectionError: HTTPConnectionPool(host='localhost', port=8080) HOT 9
- No JSON Object could be decoded HOT 3
- Batch csv evaluation returns NULL id's HOT 5
- The `Openscoring.deploy` method throws exception "No Json Object could be decoded" HOT 2
- Package requirements not updated
- Openscoring for Regression Pmml model prediction HOT 3
- How to get prediction probabilities? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openscoring-python.