Giter VIP home page Giter VIP logo

dan-tan / iterative-label-spreading Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 10.2 MB

This is an implementation of a semi-supervised/unsupervised clustering method called Iterative Label Spreading. The main algorithm is written in c, and wrapped in cython for use in python. The algorithm is presented in the following paper by Amanda J. Parker and Amanda S. Barnard.

Python 57.47% C 29.32% Cython 13.21%
python semi-supervised-learning unsupervised-learning c cython-wrapper

iterative-label-spreading's Issues

Problems with the assignment of input data points to clusters

Dear Dan-Tan,

First of all, thanks for the wonderful code. It runs smoothly without any error. However, after using your code I have trouble understanding the assignment of the input data point to the output clusters of the code. My motivation is to understand which input data points belong to which cluster. In particular, I do not understand the following which makes the assignment difficult:

  1. I noticed that there is a variable example_ILS.ordering in your code that contains 2999 data point if I originally submit a matrix mit 3000 data points. Is this because the point with index 0 is the same as in the original (unsorted) dataset?

  2. I also struggle to understand the variable "indices", which contains as many elements as clusters found. Initially, I thought that the numbers correspond to the starting point of the clusters (first index of the ordered datapoints for a given cluster). In my example, I obtain 6 values for indices: [816, 2154, 1783, 2280, 2642]. However, I thought the values should become larger from cluster to cluster, but it isn't. I think that I misunderstand something here and I would be very happy if you could tell me how to use this variable.

I am thankful for any help!

Best,
Torben

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.