在 Python 中使用 NumPy 进行多变量回归? [英] Multi-variate regression using NumPy in Python?

查看:57
本文介绍了在 Python 中使用 NumPy 进行多变量回归?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用 NumPy 在 Python 中执行多变量回归?

Is it possible to perform multi-variate regression in Python using NumPy?

文档here 表明确实如此,但我找不到有关该主题的更多详细信息.

The documentation here suggests that it is, but I cannot find any more details on the topic.

推荐答案

是的,下载这个 ( http://www.scipy.org/Cookbook/OLS?action=AttachFile&do=get&target=ols.0.2.py )来自 http://www.scipy.org/Cookbook/OLS

Yes, download this ( http://www.scipy.org/Cookbook/OLS?action=AttachFile&do=get&target=ols.0.2.py ) from http://www.scipy.org/Cookbook/OLS

或者你可以安装 R 和一个 python-R 链接.R 可以做任何事情.

Or you can install R and a python-R link. R can do anything.

这篇关于在 Python 中使用 NumPy 进行多变量回归?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆