Forum Discussion
Greemreb
3 years agoRegular Visitor
Regarding ML for forecast using ARIMA model
Hello everyone, I'm using a code written in Jupyter Notebook for forecasting demand and on the Jupyter Notebook it's working just fine, When I tried to streamline the process by using this code in s...
Anonymous
3 years agoNot applicable
Hi Greemreb Thanks for posting your question in Microsoft Fabric Community
Can you please share some screenshots of the error and the exact steps you have followed
Regards
Geetha
Angliss1
2 years agoRegular Visitor
Hi, I have encountered a similar issue. The code works fine in Juptyer Notebooks but not when in Fabric environment. Mine looks like this:
Any help would be much appreciated as struggling to find any answers
- Anonymous2 years agoNot applicable
Hi!
I saw the answer in another page. Run this on a cell
import com.fasterxml.jackson.core.JsonParser.Feature; import com.fasterxml.jackson.databind.ObjectMapper; StatusResponses loginValidator = null; ObjectMapper objectMapper = new ObjectMapper(); objectMapper.configure(Feature.AUTO_CLOSE_SOURCE, true); try { String res = result.getResponseAsString();//{"status":"true","msg":"success"} loginValidator = objectMapper.readValue(res, StatusResponses.class);//replaced result.getResponseAsString() with res } catch (Exception e) { e.printStackTrace(); }
the autor doesn't know how it worked, but it worked.It worked for me. I had the same problem
- Angliss12 years agoRegular Visitor
Thanks for the advice! I'm getting this error message when running that, did you come across anything similar?