Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/scikit-learn/scikit-learn
/ func
Function
func
sklearn/utils/tests/test_optimize.py:22–24 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
20
x0 = np.ones(10)
21
22
def
func(x):
23
Ax = A.dot(x)
24
return
0.5 * (Ax).dot(Ax)
25
26
def
grad(x):
27
return
A.T.dot(A.dot(x))
Callers
8
test_fill_and_add_to_diagonal
Function · 0.70
wrapper
Function · 0.50
_apply_on_subsets
Function · 0.50
check_pipeline_consistency
Function · 0.50
check_fit_score_takes_y
Function · 0.50
wrapper
Function · 0.50
_modify_in_place_if_numpy
Function · 0.50
_newton_cg
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…