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 goal is to build a text classification model to categorize unseen documents into one of 91 classes using a dataset divided into 91 folders by class for training and testing. The process involves data preprocessing through tokenization and normalization, exploring various feature encoding methods like tf-idf and word embeddings, and experimenting with machine learning and deep learning algorithms for higher accuracy, evaluated using the macro-averaged F1-score. A report summarizing methodology, algorithm performance comparison, feature impact analysis, and potential improvements, along with suggestions for new classification features, is required.
- User
make it shorter
- Assistant
Build a text classification model to categorize documents into 91 classes using preprocessing, various encoding methods, and machine/deep learning algorithms. Evaluate models with the macro-averaged F1-score. Report to cover methodology, performance comparison, and suggest enhancements and new features for better accuracy.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.