Skip to main content

Clustering for high dimensional neural data

Project description

Installation instructions

Install Python using the Anaconda distribution.

Install KlustaKwik using pip install klustakwik2.

On Windows, you will need a copy of MS Visual Studio Express 2008 for Python, available for free download here.

Usage

To cluster a pair of files name.fet.n, name.fmask.n run the command:

kk2_legacy name n

This will generate a name.klg.n and name.clu.n file.

You can specify additional options to this script. The major ones are explained below:

  • max_iterations=1000: the maximum number of full iterations to carry out before giving up.

  • max_possible_clusters=1000: the maximum number of clusters to output at the end. At the moment, this option limits RAM usage but in a future version there will be no such limit.

  • drop_last_n_features=0: don’t use the last N features of the fet file for clustering.

  • save_clu_every=None: how often (in minutes) to save a temporary .clu file.

  • num_starting_clusters=500: how many initial clusters to use (should probably be higher than the number of final clusters you expect to find).

  • start_from_clu=None: if specified, start the clustering from a previously saved .clu file.

  • use_mua_cluster=True: whether or not to use “black hole” MUA cluster variant of the algorithm. This is designed to improve clustering on noisier data sets, but you can turn it off if you are having problems with it. Note that if this is on, cluster 2 will be the MUA cluster, and the first ‘normal’ cluster will be cluster 3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

klustakwik2-0.1.0b0.zip (48.5 kB view hashes)

Uploaded Source

klustakwik2-0.1.0b0.tar.gz (31.8 kB view hashes)

Uploaded Source

klustakwik2-0.1.0b0.tar.bz2 (27.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page