Coder Social home page Coder Social logo

mdcgenpy's Introduction

Documentation Status

mdcgenpy

mdcgenpy is a Multidimensional Dataset for Clustering Generator. This tool is aimed at researchers looking for synthetic datasets, in particular for testing clustering algorithms. A variety of customization options are available, in order to allow for a wide range of use cases.

Using the generator is simple, and can even be used without parameters:

import mdcgenpy

# Initialize cluster generator (all parameters are optional)
cluster_gen = mdcgenpy.clusters.ClusterGenerator()

# Get tuple with a numpy array with samples and another with labels
data = cluster_gen.generate_data()

Installation

The package can be installed with pip:

$ pip install git+https://github.com/CN-TU/mdcgenpy

Generating data outside Python

It is also possible to use mdcgenpy without knowing python.

To do this, you just need to give as input a JSON file (check specification details here). Using the mdcgenpy.py script, the output will be sent in CSV format to stdout.

Example:

$ ./mdcgenpy.py input_parameters.json > output.csv

Features

  • Efficient code, compatible with Python 2 and Python 3.
  • Various possible distributions for the clusters are available out-of-the-box, and custom distributions are also allowed.
  • Parameters allow for control over the overlap of the clusters, outliers, noise, correlation inside each cluster, etc.

Documentation

Documentation for this project can be found at https://mdcgenpy.readthedocs.io.

mdcgenpy's People

Contributors

dcferreira avatar

Watchers

James Cloos avatar

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.