Skip to content

Commit

Permalink
ENH: default n_epochs for Latent models is now 100 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAuriau authored Jul 10, 2024
1 parent be1a5b5 commit a1ec487
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions choice_learn/models/latent_class_mnl.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Latent Class MNL models."""

import copy

import tensorflow as tf
Expand All @@ -15,7 +16,7 @@ def __init__(
self,
n_latent_classes,
fit_method,
epochs,
epochs=100,
add_exit_choice=False,
tolerance=1e-6,
intercept=None,
Expand Down Expand Up @@ -127,7 +128,7 @@ def __init__(
n_latent_classes,
fit_method,
coefficients=None,
epochs=1,
epochs=100,
add_exit_choice=False,
tolerance=1e-6,
optimizer="Adam",
Expand Down

0 comments on commit a1ec487

Please sign in to comment.