GGGiovanni Giacomettiingiogiac.hashnode.dev·Mar 6, 2023 · 8 min readK-Means algorithm from scratchClustering is a data analysis technique whose goal is to partition a dataset into groups of similar samples. In machine learning terms, we would call clustering algorithms unsupervised, since these techniques are applied to unlabeled data points. Typ...00
GGGiovanni Giacomettiingiogiac.hashnode.dev·Feb 23, 2023 · 3 min readUnderstanding PyTorch gather functionPyTorch is one of the main libraries when it comes to Deep Learning in Python. Tensors, the key data structure of the framework, can be manipulated in multiple ways. One of the available methods is the gather function. The following is the signature ...00