Skip to content

Commit

Permalink
Cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Mar 10, 2024
1 parent 565bc3c commit 2b8545d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public PythonObject getLoss(){
try {
return get("_loss", LossFunction.class);

// SkLearn 1.4.0+
// SkLearn 1.4.0+
} catch(IllegalArgumentException iae){
return get("_loss", sklearn.loss.BaseLoss.class);
}
Expand Down

0 comments on commit 2b8545d

Please sign in to comment.