Skip to content

Commit

Permalink
add naive bayes and rnn route for personalized training
Browse files Browse the repository at this point in the history
  • Loading branch information
GiseleBr678 committed May 25, 2024
1 parent 2a831dc commit 5dfd7e6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions api/Neural_Network2.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,7 @@ def validate_epoch(model, valid_loader, criterion):

return total_loss / total

<<<<<<< HEAD
def create_and_train_rnn_model(df, name, epochs = 10, batch_size = 32, learning_rate = 0.001):
=======
>>>>>>> dee0a494328004861698578544010c16b2a995da

def create_and_train_model(df, name, epochs=10, batch_size=32, learning_rate=0.001):
# Configurações iniciais e preparações do modelo
dropout_probability = 0.2
n_rnn_layers = 1
Expand Down

0 comments on commit 5dfd7e6

Please sign in to comment.