Comments (3)
With the NumPy 2.0 release, np.NaN was removed and np.nan should be used instead.
The JPMMl-Evaluator-Python package depends on a higher-level Pandas package (eg. from pandas import DataFrame
), not the low(est)-level Numpy package. And as much as I have tested, Pandas 2.2.2 (the latest in PyPI currently) does not work with Numpy 2.0.X.
Of course, this does not mean that one couldn't standardize the representation of Numpy constants in the meantime.
from jpmml-evaluator-python.
And as much as I have tested, Pandas 2.2.2 (the latest in PyPI currently) does not work with Numpy 2.0.X.
This is inconsistent with regards to my work (I am using the latest version of pandas
just fine with numpy
2.0 in the codebase for which I have tested), along with what is stated in the pandas
documentation here:
https://pandas.pydata.org/docs/whatsnew/v2.2.2.html#pandas-2-2-2-is-now-compatible-with-numpy-2-0
It looks like pandas
v2.2.2 does have support for numpy
2.0, and as such, they also do not pin numpy
requirements in their project.
Also, to your point, given that those are just constant representations, it probably is worth updating anyways to the newest convention adopted.
from jpmml-evaluator-python.
@vruusmann Thank you for the fix and update!
from jpmml-evaluator-python.
Related Issues (20)
- Setting JAVA_HOME required although java is installed in PATH HOT 7
- py4j.protocol.Py4JNetworkError: Answer from Java side is empty HOT 2
- Question: Can I use sklearn2pmml plugin in jpmml evaluator for Python? HOT 1
- Using Python equivalent of the basic usage of jpmml-evaluator from Java HOT 2
- Getting subprocess.CalledProcessError: Command '['which', 'javac']' returned non-zero exit status 1 when calling make_evaluator with jnius HOT 7
- PyJNIus backend can't handle `None` dict values HOT 6
- AttributeError: 'Timestamp' object has no attribute '_get_object_id' HOT 5
- Atomic data exchange between Python and Java HOT 1
- Reporting of PMML HOT 2
- Is there a way to turn off `too many input fields` exception? HOT 6
- Reflect Java exception hierarchy in Python HOT 2
- How to handle NaN fields HOT 2
- Problems when inputting values for date/datetime fields HOT 27
- Function "lessOrEqual" cannot accept missing value at position 0 HOT 6
- Using PMML with SkLearn's train-test split workflow HOT 12
- Advice for debugging erroneous input and/or PMML documents HOT 4
- Choosing a default backend depending on the system architecture
- Index of evaluateAll output DF does not match that of input HOT 3
- Convert PMML serialized model to Sklearn HOT 2
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 jpmml-evaluator-python.