How melodyduplaix/spamsmsduplaixherry works
Key Components to Include in the System Design:
Data Layer
• Different data sources: BD1.txt, DataSmsSpamNH.csv, telegram_spam_dataset.csv
Data Processing Pipeline
• Data Analysis (Analyse/AnalyseDataSet.py)
• Feature Extraction (Automatisation/ExtractFeaturesVectorize.py)
• Dataset Management (Automatisation/DataSetManagement.py)
Model Training Layer
• Model training process:
• Model Creation (Automatisation/CreateBayesModel.py)
• Model Evaluation (Automatisation/EvaluateModelsFeatures.py)
• Model Storage (Models/ directory)
Application Layer
• Both Streamlit applications:
• Original App (AppStreamlit/app.py)
• New App (NewAppStreamlit/app.py)
• [Raw Data] → [Processing] → [Training] → [Model Storage] → [Web Application]
Specific Elements
• Vectorization process
• Feature extraction
• Model serialization/deserialization
• Evaluation metrics flow
Relationships to Highlight:
Data Flow
• How processed data feeds into model training
• Model deployment to the Streamlit application
Component Interaction
• Bidirectional communication between model storage and applications
• Feedback loops in model evaluation
Technical Details to Include:
Technologies
• Scikit-learn for ML implementation
• Joblib for model serialization
• Pandas for data handling
• Streamlit for web interface
Key Processes
• Feature vectorization
• Naive Bayes classification
• Model evaluation metrics
Level of Detail:
High-Level Components
• Keep main components clearly separated
• Primary data and process flows
Sub-Components
• Major processing steps
• File interactions
Special Considerations:
Automation Pipeline
• Automated nature of model creation and evaluation
• How different features and parameters can be tested
Multiple Applications
• Clearly distinguish between the two Streamlit applications
• Shared resources between them
• Symbols for data storage, processing units, and applications