Skip to content
Snippets Groups Projects
Commit 89173a39 authored by Edward Mawuko Samlafo-Adams's avatar Edward Mawuko Samlafo-Adams
Browse files

Merge branch 'main' of mygit.th-deg.de:es01580/sas-en-test

parents d674714c 8e7a6ba5
No related branches found
No related tags found
No related merge requests found
......@@ -132,94 +132,55 @@ _For more details, see the Wiki chapter: Data._
streamlit run app.py
```
3. Open the app in your browser at http://localhost:8501.
Then call the Streamlit URL, e.g., `http://localhost:8501`, in your browser.
---
## Implementation of the Requirements
### Multi-page Web App (Streamlit)
- **Pages**:
- **Home**: Overview of the app's features.
- **Data Analysis**: Visualizations for job distributions and trends.
- **Model Training**: Predict job categories.
- **Chatbot**: Offers career advice and tips.
- **Contributions**:
- Designed the layout and navigation.
- Implemented dynamic components for data visualization and prediction.
### Machine Learning Models
- **Models**:
The web app features multiple pages accessible through the navigation bar on the left.
- Random Forest Classifier.
- Logistic Regression.
# Implementation of the Requests
- **Functionality**:
This chapter describes how the requests described in the file 'material/sas-ws-24-25-recommendation-requests-en.pdf' (chapter Part2 Requests) are implemented.
- Predicts job categories using encoded features.
- Provides insights into feature importance.
1. The pages are in the **app_pages/** folder of the Streamlit project.
- **Contributions**:
- Developed and optimized models for accuracy.
2. See the Wiki (link above).
### Chatbot
3. See **Wiki chapter: User Personas**.
- **Integration**:
4. See **Wiki chapter: Use Cases**.
- Rasa for natural language understanding and intent classification.
5.-7. The files are stored in the project root directory including the `venv`.
- **Custom actions for**:
8. See the **data section** of this README.
- Resume and cover letter tips.
- Career advice for academia-to-industry transitions.
- Motivational support for job seekers.
- **Implementation**:
- Trained NLU model with intents and responses.
- Added conversation flows for dynamic interactions.
### Data Handling
9. Data is loaded in the **app.py** and used across the app.
- **Preprocessed Kaggle dataset**:
10. See **app_pages/data_analysis.py**.
- Cleaned null values and duplicates.
- Encoded categorical fields for machine learning.
11-13. See **data chapter** in the Wiki for job distribution and salary analysis.
- **Created visualizations for**:
- Job distribution across locations.
- Salary Distribution
14. Data augmentation widgets are implemented in **app_pages/data_analysis.py**.
---
15. Input widgets for model training are primarily in **app_pages/data_analysis.py**.
## Documentation
16. Scikit-Learn models (Random Forest and Logistic Regression) are implemented for job category prediction in **app_pages/model_training.py**.
_For additional details, refer to the project's Wiki:_
17. The "right fit" for chatbot use cases is discussed in the **Wiki chapter: Chatbot Argument**.
- User Personas
- Use Cases
- Chatbot Argument
- Dialog Flow
- Sample Dialogs
- Model Training & prediction
- Data
- System Persona
18. The **system persona** is described in detail in the Wiki under the **System Persona** chapter.
---
19. See **Wiki chapter: Sample Dialogs** for interactions covering the use cases.
## Testing
20. Dialog flow is documented in the **Wiki chapter: Dialog Flow**.
Run tests using:
21. Rasa implementation consists of the following key files:
```bash
pytest tests/
```
- `domain.yml`
- `data/nlu.yml`
- `data/stories.yml`
- `actions/actions.py`
---
22. The screencast can be located:
## Work Done
# Work Done
All work was completed by Edward Mawuko Samlafo-Adams.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment