Cognitive Cluster
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
Metadata
Release files for cognitivecluster 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cognitivecluster-0.2.1.tar.gz | 14.6 kB | Without provenance | Details for cognitivecluster-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cognitivecluster-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for cognitivecluster-0.2.1-py3-none-any.whl |
Total release size: 52.6 kB
Release files / cognitivecluster-0.2.1.tar.gz
| Download URL | cognitivecluster-0.2.1.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48d53d89d8d1df04b701b45bf4af4a11b14dda4bfbfbff6e84d942c291d6ce60
|
|
BLAKE2b-256 checksum How to use checksums |
8cb541418e5fd90d42c9b3ac1b772dc3777fb4017a36034ff7879c0ca1bf6304
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.6.8 Darwin/18.2.0
|
Release files / cognitivecluster-0.2.1-py3-none-any.whl
| Download URL | cognitivecluster-0.2.1-py3-none-any.whl |
|---|---|
| Size | 38.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26f4776bf8220534ccdab793835678d85a39f2086dda707fd8a2f670c6e5bdbf
|
|
BLAKE2b-256 checksum How to use checksums |
4c83fe07425470bc1fb06b0c5b70d161d64f4a881d8410ae94a5f4a5c14ba872
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.6.8 Darwin/18.2.0
|
Security for cognitivecluster 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.