Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xehu committed Feb 1, 2024
2 parents 5cdbd72 + 8e3435a commit e5cbe05
Showing 1 changed file with 57 additions and 1 deletion.
58 changes: 57 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,66 @@
# A Conversational Analysis Framework for Predicting Team Success through Team Communication Processes
Our project seeks to answer the question, “which types of team communication processes matter in different team activities?” Depending on the type of task at hand (Straus, 1999) or the context of the research study (Levinthal & Rosenkopf, 2020), some strategies may be more useful than others. Thus, how might we synthesize the myriad studies of team behavior — which take place across many tasks and contexts — into actionable insights for managers? In this project, we will extract team communication processes from the organizational behavior literature (for example, “Positivity,” “Information Exchange,” “Equal Participation”), and then measure these features on real teams’ communication transcripts across a variety of tasks. We will then use these measured features to predict which types of communication are most associated with team success across different activities.

## Getting Started

If you are new to this repository, welcome! Please follow the steps below to get started.

### Step 1: Clone the Repo
First, clone this repository into your local development environment:
```
git clone https://github.com/Watts-Lab/team-process-map.git
```

### Step 2: Download Dependencies
Second, we *strongly* recommend using a virtual environment to install the dependencies required for the project.=
The dependencies of the project are listed in `feature_engine/requirements.txt`: https://github.com/Watts-Lab/team-process-map/blob/main/feature_engine/requirements.txt

**Python Version**: We recommend `python3.11` when running this repository.

Later versions of Python (e.g., 3.12) are currently incompatible with the `sentence-transformers` library. There is an open issue here: https://github.com/google/sentencepiece/issues/968 [Updated as of January 30, 2024]

#### Run Initial Scripts for Dependencies
Before starting the featurizer, you need to run the following to obtain dependencies for the project:

```
python3 -m spacy download en_core_web_sm
```
```
import nltk
nltk.download('nps_chat')
nltk.download('punkt')
```

### Step 3: Add "Hidden" Files
Certain files associated with the project are "hidden" from the public GitHub repo at this time, for
reasons of copyright, research embargo, or other requests.

These are instead saved on our private Google Drive. To access them, click this link: https://drive.google.com/drive/folders/1c-g4d-Pq6kT2el4oaCSiQGsQrtgd3VH3?usp=drive_link
This will take you to a folder called "GitHub Assets." Then do the following:

1. Unzip the folder "lexicons.zip"
2. Replace the folder under `feature_engine/features/lexicons` with the one in the ZIP file.

### Step 4: Initialize the data repository
Test data for the project lives in a separate repository. To populate the data repository when running for the first time, run the following command:

```
git submodule update --init --recursive
```
For more information on updating submodules, refer to [this documentation](https://stackoverflow.com/questions/1030169/pull-latest-changes-for-all-git-submodules).

### Step 5: Run the Featurizers
At this point, you should be ready to run the featurizer! Navigate to the `feature_engine` folder, and use the following command:

```
python3 featurize.py
```
This calls the `featurizer.py` file, which declares a FeatureBuilder object for different dataset of interest, and featurizes them using our framework.

## Documents and Handy Links
- Our Team Email: [email protected] (Ask Emily for the password!)

- Our "master sheet":
- Our "master sheet," where we :
https://docs.google.com/spreadsheets/d/1JnChOKFXkv944LvnYbzI1qrHLEPfCvEMN5XzP1AxvmA/edit?usp=sharing

## Database of Current Communication Features
Expand Down

0 comments on commit e5cbe05

Please sign in to comment.