Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A library to cluster partners based on metacognitive diversity

Project description

Cognitive Cluster

PyPI Build Status

Cognitive Cluster is a library for clustering written metacognitive exercises based on document embeddings. This is useful for creating cross-cluster partnerships to increase the diversity of problem solving techniques in teams.

Installation

To instal cognitivecluster, run pip install cognitivecluster. The library currently supports Python 3.6+.

Usage

To cluster people based on writing samples, pass either a Numpy array or a Pandas series to cognitivecluster.sentence_vector_clusters.

Examples

>>> import cognitivecluster
>>> cognitivecluster.sentence_vector_clusters(np_sentence_array)
array([0, 0, 1, 1, 2, 2], dtype=int32)
>>> df['cluster'] = cognitivecluster.sentence_vector_clusters(df.metacognitive_exercises)
>>> df
  metacognitive_exercises  cluster
0          I like carrots        0
1         I like potatoes        0
2              I am a cat        1
3              I am a dog        1
4          This is a test        2
5      This is a sequence        2

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cognitivecluster-0.2.1-py3-none-any.whl (38.1 kB) Copy SHA256 hash SHA256 Wheel py3
cognitivecluster-0.2.1.tar.gz (14.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page