Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/python-for-matlab-development
/ model_function
Function
model_function
code/statistics/predict_interval.py:65–66 ·
view source on GitHub ↗
(x, m, b)
Source
from the content-addressed store, hash-verified
63
return
lpb, upb
64
65
def
model_function(x, m, b):
66
return
m*x + b
67
68
m = 3.77
# true slope
69
b = -5.5
# true intercept
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected