Skip to content

Commit

Permalink
Fixed bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
djgagne committed Feb 28, 2024
1 parent e2ccc0e commit 500f509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlguess/keras/models_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from tensorflow.keras.layers import Dense, LeakyReLU, GaussianNoise, Dropout
from tensorflow.keras.optimizers import Adam, SGD
from mlguess.keras.layers import DenseNormalGamma, DenseNormal
from mlguess.keras.losses import EvidentialRegressionLoss, EvidentialRegressionCoupledLoss, GaussianNLL
from mlguess.keras.losses import EvidentialRegressionLoss, EvidentialRegressionCoupledLoss, gaussian_nll
from mlguess.keras.losses import DirichletEvidentialLoss
from mlguess.keras.callbacks import ReportEpoch
from imblearn.under_sampling import RandomUnderSampler
Expand Down Expand Up @@ -597,7 +597,7 @@ def build_neural_network(self, inputs, outputs):
inputs (int): Number of input predictor variables
outputs (int): Number of output predictor variables
"""
self.loss = GaussianNLL
self.loss = gaussian_nll

nn_input = Input(shape=(inputs,), name="input")
nn_model = nn_input
Expand Down

0 comments on commit 500f509

Please sign in to comment.