Member-only story
How to do Clustering Analysis in Microsoft Power BI with two lines of Python code?
Step by step guide for clustering analysis in Power BI using Python
Introduction
In this tutorial you will learn how to do clustering analysis in Microsoft Power BI using a Python library called PyCaret.
Power BI is a business analytics solution that lets you visualize your data and share insights across your organization, or embed them in your app or website. In this tutorial, we will use Power BI Desktop for machine learning by importing the PyCaret library into Power BI.
If you have used Python before, it is likely that you already have Anaconda Distribution installed on your computer. If not, click here to download Anaconda Distribution with Python 3.7 or greater.
Create a new anaconda environment
Open Anaconda Prompt from start menu and run the following code:
conda create --name myenv python=3.7