Machine Learning in Power BI
HTML-код
- Опубликовано: 11 сен 2024
- We can utilize Python and Scikit-Learn machine algorithms in Power with the Run Script option. In this example, we will do churn analysis using classification with the Logistic Regression package from Scikit_learn.
Check me out on LinkedIn
You can find the dataset here:
github.com/Gae...
This was exactly what I needed to integrate my machine learning scripts into my Power BI reports. Awesome content!
Thank you! This is exactly what i needed to see
Thank you so so much! Excellent presentation skills and pace (and content!!)
Great, short presentation. However, you cannot use the labelencoder on the department like that. You need to have one column pr department containing a binary variable. Please be aware of this, you can use one hot encoding in Python for this.
This is really important otherwise the model will assume employees with a higher department value are weighted more.
@@chrisau2159 agreed. Should have individual columns with binary values for each. Message me if you need the code for binary columns.
@@chrisau2159 with binary will the model still not just do the same and weight based on the quantity (occurrence of each department)? Just starting with Python here
Man, you're awesome!!!!Thanks!!!
Great. Excellent Work. One Query- How can we do What if scenario here? For example if we increase salary what will happen on prediction
Each feature has a coefficient so you can get the coefficient for salary and see to what degree 1 unit of salary changes the prediction,
@@absentdata Thanks for your reply. I do not have much knowledge on this, can you explain how the salary coefficient be achieved.
Great explanation. Helpful!
Thank you!
Great video. Very informative and clear
Awesome! One question please. What if you wanted to make a prediction for new rows that aren't in the original dataset? Do you refresh the data set in power bi with the new info??
You would simply add new rows to the dataset . the model is trained and will make the predictions on the new rows in the dataset
@@absentdata thanks for answering!!
@@juangut4531 Hi Juan, Have you been able to do that?
This was great, thank you!
thanks for the great explaination
Thanks you for video :)
Is it possible to share this dashboard with friends without them having to install python? if they have PowerBI
Hi...The answer is yes you can have them access the dashboard online through Power BI services. They will only need to interact with it. The data and code environment exist on your PC at that point
@@absentdata But if i am building a time series model that needs to be updated every month (i.e. new data comes in every month) is this possible to still do it through powerbi and that the client can interact with the new data?
All times error
DataSource.Error: ADO.NET: Python script error.
Traceback (most recent call last):
File "PythonScriptWrapper.PY", line 2, in
import os, pandas, matplotlib
ModuleNotFoundError: No module named 'matplotlib'
I am not able to run my script completely. I am getting No module sklearn. I am getting stuck at the import part from sklearn. Please guide how to resolve
Try this video it should help you out: ruclips.net/video/EtQWXg-XofI/видео.html
Thanks for the excellent presentation. Can you please share the data set used for this exercise? Thanks
www.absentdata.com/power-bi/python-machine-learning-in-power-bi
@@absentdata I think this link is broken.. could you, please, send a new link??
Hi, please i want to connect power bi to python, every time i have multiple errors
Here is a way for you to easily avoid this. I will make a video on this hopefully soon. www.absentdata.com/power-bi/avoid-python-errors-in-power-bi/
At 10:56 I can't see how you load the new table. help!!
Sorry for the late reply . The last part of the code should produce a dataframe that you can open up
Thank you, Donald Trump.. this was very useful 😇
Glad you enjoyed it!
You are testing on your whole data 😂 you should only test on y_test or use cross validation
Hi sir , I urgently need your help. I have this exact dataset you're working on , except that I'm working on with Pycaret library. is it okay to contact you and send you the pbix file ?