全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

登錄


全部 新建 登錄

All gists matching topic linear-regression

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新

timmy / 簡單線性回歸股價預測

0 喜歡
0 分支
1 檔案
最後活躍 10 months ago
這段 Python 程式碼 使用 scikit-learn (sklearn) 建立簡單的線性回歸模型,根據 過去幾天蘋果公司的股價 訓練模型,並 預測未來股價變化。
linear-regression machine-learning numpy python scikit-learn stock-prediction
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4
5 """
6 a_simple_linear_regression_model.py: 透過使用 Python 的 sklearn 套件,訓練一個簡單的線性回歸模型,並使用該模型預測蘋果公司的股價變化。
7
8 Author: Timmy
9 Copyright: Copyright 2022, Timmy
10 License: MIT
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 30ms⋅

繁體中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文