SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Manuel W. <man...@gm...> - 2009年12月30日 11:13:31
Hi,
I want to do a linear regression with my Data but couldn't find a
ready-to-use matplotlib- or numpy-function. If there is no function
for linear regression in matplotlib/numpy, could somebody explain to
me how to code lin. reg. as a function?
Regards,
Manuel Wittchen
From: Pierre de B. <pd...@ul...> - 2009年12月30日 11:27:10
Hello,
Numpy is capable of simple fitting of polynomials, see for a 
definition and an example:
http://docs.scipy.org/doc/numpy/reference/generated/numpy.polyfit.html
Alternatively, there is an entry in the SciPy Cookbook: http:// 
www.scipy.org/Cookbook/FittingData
Regards,
Pierre
Le 30 déc. 09 à 12:07, Manuel Wittchen a écrit :
> Hi,
>
> I want to do a linear regression with my Data but couldn't find a
> ready-to-use matplotlib- or numpy-function. If there is no function
> for linear regression in matplotlib/numpy, could somebody explain to
> me how to code lin. reg. as a function?
>
> Regards,
>
> Manuel Wittchen
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /