MCPcopy Create free account
hub / github.com/davisking/dlib / gradient

Method gradient

dlib/statistics/running_gradient.h:63–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 double gradient (
64 ) const
65 {
66 // make sure requires clause is not broken
67 DLIB_ASSERT(current_n() > 1,
68 "\t double running_gradient::gradient()"
69 << "\n\t You must add more values into this object before calling this function."
70 << "\n\t this: " << this
71 );
72
73 return w(0);
74 }
75
76 double intercept (
77 ) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected