We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried read .joblib file for make predictions in my system. but I got problems in here.
private org.dmg.pmml.PMML loadPMML(String pmmlPath) throws Exception { File file = new File(pmmlPath); StreamSource source = new StreamSource(file); // return PMMLUtil.unmarshal(source.getInputStream()); try { return PMMLUtil.unmarshal(source.getInputStream()); } catch (Exception e) { e.printStackTrace(); return null; } }
I need to pass directly InputSource to the unmarshal but it required InputStream. this occurs compile error.
unmarshal
here is the this function call
public AirHumidityModel() throws Exception { String pmmlPath = "../../../../../../../../AI_Models/airHumidity_model.joblib"; this.pmml = loadPMML(pmmlPath); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried read .joblib file for make predictions in my system. but I got problems in here.
I need to pass directly InputSource to the
unmarshal
but it required InputStream. this occurs compile error.here is the this function call
The text was updated successfully, but these errors were encountered: