رگرسیون خطی: تمرین برنامه نویسی
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
در تمرین کدنویسی زیر، مدل رگرسیون خطی خود را با استفاده از کتابخانه Keras خواهید ساخت:
تمرینات برنامه نویسی مستقیماً در مرورگر شما اجرا می شوند (بدون نیاز به تنظیم!) با استفاده از پلت فرم Colaboratory . Colaboratory در اکثر مرورگرهای اصلی پشتیبانی میشود و در نسخههای دسکتاپ کروم و فایرفاکس کاملاً آزمایش شده است.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-03-11 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 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)"]]