K-mean Cluster
1 2 3 4 5 6 7 8 9 10 11 12 13 #Importing the required libraries import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns from sklearn.cluster import KMeans import geopandas as gpd from descartes import PolygonPatch %matplotlib inline from matplotlib.pylab import rcParams import pygmt 1 2 3 4 #import the required dataset #df_full = pd.read_csv("Data gempa bumi pulau jawa....