Skip to content

Commit

Permalink
Update linear_models
Browse files Browse the repository at this point in the history
  • Loading branch information
rushter committed Nov 12, 2016
1 parent b066f72 commit 3192136
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions mla/linear_models.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import logging
import math

import autograd.numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from autograd import elementwise_grad
from autograd import grad

from mla.base import BaseEstimator
from mla.metrics.metrics import mean_squared_error, logloss, binary_crossentropy
from mla.metrics.metrics import mean_squared_error, binary_crossentropy

np.random.seed(1000)

Expand All @@ -21,7 +17,7 @@ def __init__(self, lr=0.001, penalty='None', C=0.01, tolerance=0.0001, max_iters
----------
lr : float, default 0.001
Learning rate.
penalty : str, {'l1','l2',None'}, default None
penalty : str, {'l1', 'l2', None'}, default None
Regularization function name.
C : float, default 0.01
The regularization coefficient.
Expand Down

0 comments on commit 3192136

Please sign in to comment.