:: python</span>

<span class="sd">            import pandas as pd</span>

<span class="sd">            from geoanalytics.clustering import Gaussianmixture</span>

<span class="sd">            df = pd.read_csv(&quot;input.csv&quot;)</span>

<span class="sd">            gm = Gaussianmixture(df)</span>

<span class="sd">            output = gm.clustering(n_components=3)</span>

<span class="sd">            labels_df = output[0]</span>

<span class="sd">            weights = output[1]</span>

<span class="sd">