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

Function probability_that_sequence_is_increasing

tools/python/src/other.cpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103// ----------------------------------------------------------------------------------------
104
105double probability_that_sequence_is_increasing (
106 py::object arr
107)
108{
109 DLIB_CASSERT(len(arr) > 2);
110 return probability_gradient_greater_than(python_list_to_vector<double>(arr), 0);
111}
112
113// ----------------------------------------------------------------------------------------
114

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85

Tested by

no test coverage detected