Export

Hello! Is there any way for me to be able to export the predicted data?

1 Like

Hello @TheRoundEyes The predicted data is returned as a string usually in a form of * We are 91.0% confident the value of "Result" is 0. There is an additional interface that you can call on the result returned from predictor called explanation as in this example. It will return the dictionary as
{'Result': {'predicted_value': '0', 'confidence': 1.0, 'explanation': {'prediction_quality': 'very confident', 'important_missing_information': ['Name', 'Surname']}, 'prediction_quality': 'very confident', 'important_missing_information': ['Name', 'Surname']}}.
So, you can just wrap up the predicted result from mindsdb in a file object. The same goes for mindsb_server if you are using /predict endpoint.

1 Like

Thanks for this! Will try it out!

1 Like