You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example.zip contains the following code and opens Iris.csv, the dataset. Why does podatki_mnozica.squash(0.999, similarity="euclidean") result in more data (750) than original data (150).
importnumpyasnpfromarm_preprocessing.datasetimportDatasetpodatki_mnozica=Dataset(filename="Iris", format='csv')
podatki_mnozica.load()
podatki_mnozica.data.drop('Species', axis=1, inplace=True)
podatki_mnozica.dataset_statistics()
print(len(podatki_mnozica.data))
podatki_mnozica.squash(0.999, similarity="euclidean")
podatki_mnozica.dataset_statistics()
print(len(podatki_mnozica.data))
print("Zakaj je končnih več kot začetnih?")
Activity