Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

第一章代码示例中prepare_country_stats是一个自定义函数? #105

Open
Petersonjoe opened this issue Dec 2, 2018 · 0 comments

Comments

@Petersonjoe
Copy link

Petersonjoe commented Dec 2, 2018

代码片段:

    # 准备数据
    country_stats = prepare_country_stats(oecd_bli, gdp_per_capita)
    X = np.c_[country_stats["GDP per capita"]]
    y = np.c_[country_stats["Life satisfaction"]]

这里的prepare_country_stats是从哪里来的?还是只是个示例说明,需要用np自己把这两个矩阵粘在一起?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant