Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python code implementation Build the following RNN architecture to classify names based on their language (Dataset). (This dataset includes the names of people in 18

image text in transcribed

Python code implementation

Build the following RNN architecture to classify names based on their language (Dataset). (This dataset includes the names of people in 18 different languages) Do the preprocessing on the dataset and perform the following experiments - 1. Split the data into train, val, and test (80:10:10). [2] 2. Plot the epoch vs. loss curve for training and validation data. Save your best model after appropriate hyperparameter tuning. [5] 3. Obtain a Confusion Matrix on validation data for your best model. [2] 4. Add three more linear layers to our current RNN architecture and perform 2 \& 3 again.[4] 5. Report test accuracy for both the above architectures. [2] 6. Build a stacked RNN (2 RNN blocks) model and do appropriate hyperparameter tuning. At last, perform inference on the following words and print their language of origin. [5] Build the following RNN architecture to classify names based on their language (Dataset). (This dataset includes the names of people in 18 different languages) Do the preprocessing on the dataset and perform the following experiments - 1. Split the data into train, val, and test (80:10:10). [2] 2. Plot the epoch vs. loss curve for training and validation data. Save your best model after appropriate hyperparameter tuning. [5] 3. Obtain a Confusion Matrix on validation data for your best model. [2] 4. Add three more linear layers to our current RNN architecture and perform 2 \& 3 again.[4] 5. Report test accuracy for both the above architectures. [2] 6. Build a stacked RNN (2 RNN blocks) model and do appropriate hyperparameter tuning. At last, perform inference on the following words and print their language of origin. [5]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago