harrycool12/Mining-misconceptionNew
0
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Mathematical Misconceptions Detector
Overview
This application uses Natural Language Processing (NLP) and machine learning to detect and analyze mathematical misconceptions in student responses. It can identify common misconceptions, help educators understand learning gaps, and provide insights for targeted instruction.
Features
- Misconception Detection: Analyze text responses to identify common mathematical misconceptions
- Batch Analysis: Process multiple responses at once for classroom-wide insights
- Interactive Visualization: View misconception patterns and frequencies
- Model Training: Ability to train on new data to improve detection accuracy
How to Use
- Dashboard: View statistics from previous analyses and model performance
- Analyze Responses: Upload a CSV file of student responses for analysis
- View Results: Review detected misconceptions with detailed explanations and correction strategies
- Scrape Content: Analyze mathematical content from external websites
- Generate Predictions: Test the model on the provided test dataset
- About: Learn more about the project and mathematical misconceptions
Technical Details
- Built with Flask, scikit-learn, and NLTK
- Uses TF-IDF vectorization for feature extraction
- Implements multi-label classification for misconception detection
- Processes mathematical notation in LaTeX format
- Includes web scraping capabilities for analyzing online content
- Features an interactive dashboard with data visualization
- Provides detailed misconception explanations with correction strategies
Deployment
Hugging Face Spaces
This application is designed to be easily deployed to Hugging Face Spaces. The package includes:
- Dockerfile - For containerized deployment
- app.py - Entry point for Hugging Face
- huggingface_requirements.txt - Dependencies list
For detailed deployment instructions, please refer to the included deploy_instructions.md file.
Local Deployment
To run the application locally:
- Install the required dependencies:
pip install -r huggingface_requirements.txt - Download NLTK data:
python download_nltk_data.py - Run the Flask application:
python flask_app.py - Access the app at
http://localhost:5000
