Git Product home page Git Product logo

mai-iml's Introduction

Hi there, I'm Victor Badenas ๐Ÿ‘‹

Machine Learning and AI developer, Sound and Music enthusiast.

ย ย  ย ย  ย ย  ย ย 

About Me

  • ๐Ÿ’ป I am an AI Tech Lead @ SITA [Nov2023 - Present]
  • ๐Ÿ’ป I was an AI Engineer @ Midokura [Feb2022 - Nov2023]
  • ๐Ÿ’ป I was an AI Engineer @ Verbio [May2019 - Feb2022]
  • ๐ŸŒฑ I studied Artificial Intelligence and Deep Learning @ FIB-UPC
  • ๐ŸŒฑ I studied Sound and Music Computing @ MTG-UPF
  • ๐ŸŒฑ I studied Telecommunications Engineering @ ETSETB-UPC
  • ๐Ÿ’ฌ Ask me about deep learning, music, image, video games and sound ๐Ÿ˜Š๐ŸŽต๐Ÿ”Š๐Ÿ“–
  • ๐Ÿ“ซ How to reach me: [email protected]๐Ÿ“ง

๐Ÿ’ปMy Workspace

Packages and Projects

package name language description url version
frarch python Training Framework for Pytorch Experiments https://pypi.org/project/frarch/

mai-iml's People

Contributors

r0n3ldrt avatar rmarrugat avatar victorbadenas avatar

Watchers

 avatar

mai-iml's Issues

kNN Index Ordering

In the kNN algorithm, at the __computeKNNIndex function:

    def __computeKNNIndex(self, distanceMatrix):
        knnIndex = [None]*distanceMatrix.shape[0]
        for i in range(distanceMatrix.shape[0]):
            knnIndex[i] = np.argsort(distanceMatrix[i,:])[::-1][:self.k]
        return np.vstack(knnIndex)

If we assume that np.argsort returns the order of the indices in an ordering where the first index has the minimum value, why are reversing this ordering with [::-1]?

For example:

>>> a = [3, 1, 2]
>>> np.argsort(a)
array([1, 2, 0])

I think this is already the correct ordering as the first indexes should represent the minimum values (of distances). If we inverse the ordering, aren't we getting the indexes of the maximum distances?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.