summarize this into 3 lines: NLP Assignment - Advanced Text Classification Goal: Build a…
Private research annotation
Sign in to add a private research label or note.
- User
summarize this into 3 lines: NLP Assignment - Advanced Text Classification Goal: Build a text classification model to predict the class (category) of an unseen document out of 91 classes. Datasets: Training dataset: a collection of 91 folders where each folder's name represents the class of the contained documents. Test dataset: similar organization to the training dataset, with labeled documents for evaluation. Steps: Data Preprocessing: Word Tokenization: Split the text into uni-gram tokens. Token Normalization: Use Porter's Stemmer to return tokens to their base form. Vocabulary Set Extraction. Feature Encoding: Try different approaches such as tf-idf feature encoding, word embeddings (e.g., Word2Vec, GloVe), etc. Model Selection and Training: Try different machine learning algorithms (e.g., Naïve Bayes, SVM, Random Forest) Resource: Multi-Class Text Classification with Scikit-Learn using TF-IDF model | by Rohit Batra | Medium and deep learning models (e.g., LSTM with embedding) to improve the classification performance. Model Evaluation: Use the macro-averaged F1-score to evaluate the performance of each model. Report: Describe the methodology followed, including data preprocessing, feature encoding, and model selection. Compare the results of different algorithms/models and discuss the impact of different features on the classification performance. Include any insights gained from the analysis and suggest improvements for future work.
Additional Features (Optional): Think of new features that can be included in the classification model to further improve its performance.
- Assistant
The task is to build a text classification model for predicting the class of unseen documents from 91 categories. It involves data processing (tokenization, stemming), feature encoding (tf-idf, word embeddings), and model training using algorithms like Naïve Bayes or LSTM. The model will be evaluated using a macro-averaged F1-score, and the report will compare results and suggest improvements.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.