Skip to content Skip to sidebar Skip to footer
Showing posts with the label Loss Function

Keras Custom Loss Function Not Printing Value Of Tensor

I am writing just a simple loss function in which I have to convert the tensor to numpy array(it… Read more Keras Custom Loss Function Not Printing Value Of Tensor

How To Add Example Based Parameter To Custom Keras Loss Function?

I want to have custom loss function in keras, which has a parameter that is different for each trai… Read more How To Add Example Based Parameter To Custom Keras Loss Function?

Using Sgd Without Using Sklearn (logloss Increasing With Every Epoch)

def train(X_train,y_train,X_test,y_test,epochs,alpha,eta0): w,b = initialize_weights(X_train[0]… Read more Using Sgd Without Using Sklearn (logloss Increasing With Every Epoch)

How To Pass The Input Tensor Of A Model To A Loss Function?

My goal is to create a custom loss function that calculates the loss based on y_true, y_pred and th… Read more How To Pass The Input Tensor Of A Model To A Loss Function?

Which Loss Function To Use In Keras Sequential Model

I am using a Keras sequential model, a prediction output is of the shape (1, 5) (5 features). I hav… Read more Which Loss Function To Use In Keras Sequential Model