Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kaggle/docker-python
/ test_linearn_classifier
Method
test_linearn_classifier
tests/test_sklearn.py:14–18 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
12
rf1.fit(X,y)
13
14
def
test_linearn_classifier(self):
15
iris = datasets.load_iris()
16
X, y = iris.data, iris.target
17
lr1 = LinearRegression()
18
lr1.fit(X,y)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected