diff --git a/choice_learn/models/latent_class_base_model.py b/choice_learn/models/latent_class_base_model.py
index b3889636..b2606cff 100644
--- a/choice_learn/models/latent_class_base_model.py
+++ b/choice_learn/models/latent_class_base_model.py
@@ -257,6 +257,7 @@ def fit(self, choice_dataset, sample_weight=None, verbose=0):
return self._fit_with_lbfgs(
choice_dataset=choice_dataset, sample_weight=sample_weight, verbose=verbose
)
+
if self.optimizer.lower() == "adam":
self.optimizer = tf.keras.optimizers.Adam(self.lr)
elif self.optimizer.lower() == "sgd":
@@ -640,6 +641,7 @@ def _fit_with_gd(
)
train_logs["train_loss"].append(neg_loglikelihood)
+
# temps_logs = {k: tf.reduce_mean(v) for k, v in train_logs.items()}
# self.callbacks.on_train_batch_end(batch_nb, logs=temps_logs)
diff --git a/docs/index.md b/docs/index.md
index 2662ece2..d550b26d 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -127,42 +127,19 @@ The use of this software is under the MIT license, with no limitation of usage,
Choice-Learn has been developed through a collaboration between researchers at the Artefact Research Center and the laboratory MICS from CentraleSupélec, Université Paris Saclay.
-
-
-