Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design and develop two feedforward neural network using two different configurations as given below. You can use any number of layers [2, 3, 4] and
Design and develop two feedforward neural network using two different configurations as given below. You can use any number of layers [2, 3, 4] and any number of neurons [128, 256, 64, 32, 16] in each layer. You are given 20 newsgroup datasets for classification. The dataset high-level details are given below. You must submit your source code (python notebook) along with your answer for this question.
Classes | 20 |
Samples total | 18846 |
Dimensionality | 130107 |
Features | real |
- Compute f1, precision, recall and accuracy to evaluate your feedforward neural classifiers.
- Compare performance of your classifiers by plotting a single bar graph showing all four metrics for two classes. Please write down the reasoning behind performing better or worst performance for each classifier.
- Show case (plotting a line curve) and explain the effect of different learning rate effects of your best performing classifier designed above. Assume learning rate varies from [10, 1, 0.1, 0.05, 0.01, 0.0015, 0.001] for a fixed number of epochs.
- Assume you have 70-30 split of your dataset, where 70% data (13193 samples) used for training and 30% data (5653 samples) used for testing. Randomly select 5, 10, 20, 30, 40, 50 % of your training data and change the actual labels with incorrect labels (you can do it randomly) and train your best performed network for this different noisy training dataset. Evaluate your noisy models and compare performance using the metrics (acc, f1, precision, recall). Explain your reasoning in detail why performing better or worst. If any trend exists in the performance due to adding noise in the training data, then explain the reason in detail?
Step by Step Solution
★★★★★
3.38 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
Designing and developing neural networks for text classification involves several steps including data preprocessing model architecture design hyperpa...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started