Question: [ 1 6 ] METRICS = BinaryAccuracy ( name = ' 'accuracy' ) , Precision ( name = ' 'precision' ) , Recall ( name
METRICS
BinaryAccuracy name 'accuracy'
Precisionname 'precision'
Recallname'recall'
AUCname prc curvePR # precisionrecall curve
a Next, you will define the deep learning model with BERT and build the model. View the model summary as output.
Your model should include:
an input layer
a BERT preprocessing layer
a BERT layer including inputs, BERT encoder, and outputs
a hidden layer with nodes and reLu activation function
a hidden layer with nodes and reLu activation function
an output layer with node and sigmoid activation function
b Setup the optimizer as in the BERT paper. Set the initial learning rate to
c Compile and fit your model.
a Evaluate the model on both the training and testing sets to evaluate both performance and goodness of fit.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
