cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
varunkale
Helper I
Helper I

Load custom ML model into Power BI Desktop

I have this model saved in both, pickle and hdf5 (.pkl, .hdf5) format

 

Is there a way I can load this either of these into Power BI and then use these to make predictions on new data?

 

Please let me know!

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @varunkale ,

If your model is saved in pickle format, can you try to run python scripts in Desktop?

Reference: Run Python Scripts in Power BI Desktop - Power BI | Microsoft Docs

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @varunkale ,

If your model is saved in pickle format, can you try to run python scripts in Desktop?

Reference: Run Python Scripts in Power BI Desktop - Power BI | Microsoft Docs

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@varunkale , There is a method given here to create an API call, see if that can be used and you can call an API in power bi

https://towardsdatascience.com/deploy-ml-models-at-scale-151204549f41

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!