cognitivecluster-0.2.1
توضیحات
A library to cluster partners based on metacognitive diversity
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cognitivecluster-0.2.1 |
| نام | cognitivecluster |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | ['Michael Simpson'] |
| ایمیل نگهدارنده | ['michael@snthesis.com'] |
| نویسنده | Michael Simpson |
| ایمیل نویسنده | michael@snthesis.com |
| آدرس صفحه اصلی | https://github.com/mjs2600/cognitivecluster |
| آدرس اینترنتی | https://pypi.org/project/cognitivecluster/ |
| مجوز | - |
# Cognitive Cluster
[](https://pypi.org/project/cognitivecluster/)
[](https://travis-ci.org/mjs2600/cognitivecluster)
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
```python
>>> 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
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.12,<2.0 | tensorflow |
| >=0.2.0,<0.3.0 | tensorflow-hub |
| >=0.20.2,<0.21.0 | scikit-learn |
| >=1.16,<2.0 | numpy |
| >=0.24.1,<0.25.0 | pandas |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl cognitivecluster-0.2.1:
pip install cognitivecluster-0.2.1.whl
نصب پکیج tar.gz cognitivecluster-0.2.1:
pip install cognitivecluster-0.2.1.tar.gz