线性回归:编程练习
bookmark_border
bookmark
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
在以下编码练习中,您将使用 Keras 库构建自己的线性回归模型:
编程练习会直接在浏览器中运行(无需设置!),使用 Colaboratory 平台。大多数主流浏览器都支持 Colaboratory,并且在桌面版 Chrome 和 Firefox 上进行了最全面的测试。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-11。
[null,null,["最后更新时间 (UTC):2025-03-11。"],[[["\u003cp\u003eThis exercise focuses on building a linear regression model using the Keras library to predict values.\u003c/p\u003e\n"],["\u003cp\u003eThe coding exercise utilizes Google Colaboratory, a platform that allows you to run code directly in your browser without any setup.\u003c/p\u003e\n"],["\u003cp\u003eColaboratory is compatible with most browsers but works best with desktop versions of Chrome and Firefox.\u003c/p\u003e\n"],["\u003cp\u003eUsers can find more support and information on the Google Machine Learning Education Help Center.\u003c/p\u003e\n"]]],[],null,["# Linear regression: Programming exercise\n\nIn the following coding exercise, you'll build your own linear regression model\nusing the [Keras](https://keras.io/) library: \n[Open linear regression exercise](https://colab.research.google.com/github/google/eng-edu/blob/main/ml/cc/exercises/linear_regression_taxi.ipynb?utm_source=mlcc&utm_campaign=colab-external&utm_medium=referral&utm_content=linear_regression)\n\nProgramming exercises run directly in your browser (no setup\nrequired!) using the [Colaboratory](https://colab.research.google.com)\nplatform. Colaboratory is supported on most major browsers, and is most\nthoroughly tested on desktop versions of Chrome and Firefox. \n[Help Center](https://support.google.com/machinelearningeducation)"]]