Skip to content

Commit

Permalink
use lambda_ instead lf Lambda in pyunit_benign_glm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wendycwong committed Oct 20, 2024
1 parent 73c625d commit 5ddd7b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions h2o-py/tests/testdir_algos/glm/pyunit_benign_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@

def test_benign():
training_data = h2o.import_file(pyunit_utils.locate("smalldata/logreg/benign.csv"))

training_data[3] = training_data[3].asfactor()
Y = 3
X = [0, 1, 2, 4, 5, 6, 7, 8, 9, 10]

model = H2OGeneralizedLinearEstimator(family="binomial", alpha=0, Lambda=1e-5)
model = H2OGeneralizedLinearEstimator(family="binomial", alpha=0, lambda_=1e-5)
model.train(x=X, y=Y, training_frame=training_data)

Expand Down

0 comments on commit 5ddd7b7

Please sign in to comment.