当前位置: 动力学知识库 > 问答 > 编程问答 >

python - How to convert array data in simple format for apply regression analysis?

问题描述:

I have python output like in array :

array([[ 0.99999317, 0.00369675],

[ 0.99997654, 0.00684911],

[ 0.99998421, 0.00562009],

[ 0.99996399, 0.00848669],

[ 0.99942165, 0.03400545],

[ 0.99997175, 0.00751619],

[ 0.99999078, 0.00429342],

[ 0.99998445, 0.00557591],

[ 0.99998329, 0.00578176],

[ 0.99998918, 0.00465234],

[ 0.99334109, 0.11521062],

[ 0.99998069, 0.00621507],

[ 0.99963457, 0.02703183],

[ 0.99962514, 0.02737829],

[ 0.99998499, 0.00547948]])

I want to use this data for regression analysis,

I want to give names for this array data output,

first array column is a yield(y)

and second column array is rain(x),

How can I do this? any hints?

How to convert this array data in a simple form, where I can use data for regression analysis?

分享给朋友:
您可能感兴趣的文章:
随机阅读: