Python与R语言混合编程方法的研究和应用  被引量:19

RESEARCH AND APPLICATION OF HYBRID PROGRAMMING WITH PYTHON AND R

在线阅读下载全文

作  者:宫薇薇[1] 齐向春[1] 裴世廉 

机构地区:[1]中国铁道科学研究院运输及经济研究所,北京100081 [2]沈阳铁路局信息技术所,辽宁沈阳110002

出  处:《计算机应用与软件》2018年第1期28-31,共4页Computer Applications and Software

基  金:中国铁道科学研究基金项目(2016YJ081;2015YJ080;2014YJ099)

摘  要:在大数据时代,需要大量的算法从杂乱无章的海量数据中挖掘出重要的信息,实现数据的商业价值。Python和R语言都是主流的开源编程工具,定位于数据挖掘和算法编制。Python是一种基于Web、免费、轻量级的解释型语言,而R语言是具有强大算法包的全球流行数理统计软件。结合2种语言的优点,通过Python调用R语言进行混合编程,解析Python调用R的本地和远程两种方法。在阿里云ECS上布置R语言服务器,发挥Python语言强大的胶水功能,在本地机搭建Flask Web框架,实现R语言Holt-Winters预测算法的ECharts网页数据面板的编制。In the era of big data, a large number of algorithms are needed to dig out important information from the chaotic massive data to achieve the commercial value of the data. Python and R language are the mainstream open source programming tools for data mining and algorithmic programming. Python is a Web based, free, lightweight interpretation language and the R language is global popular mathematical statistics software with a powerful algorithm package. We combined with the advantages of two languages and parsed two methods (local and remote) of Python call through the Python call R for mixed programming. With the setup of the R language server on Ali cloud ECS, Python language plays powerful glue function. We achieved the R language Holt-Winters prediction algorithm ECharts web data panel preparation by building Flask Web framework in the local machine.

关 键 词:PYTHON R语言 Rserve PyRserve 混合编程 FLASK 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象