by dec0dedab0de · 3y ago · 0 comments
About 10 years ago someone who I thought was pretty smart said it was because dots are nicer to type, fair enough I guess. It just always seemed silly to me to go through setting up a class but not getting the benefits of using methods.
def foo(...):
...
return yhat, sse, aic, bic
yhat, _, _, _ = foo(ytrue)
plot(ytrue, yhat)