OptunaでProphetのパラメータを自動でチューニングする

Optunapip install Optunaサンプルimport osimport yfinance as yfimport pandas as pdfrom prophet import Prophetimport matplotli ...
pandas-datareaderを使って株価データをダウンロードする

インストール
pandas-datareader — pandas-datareader 0.10.0 documentation
pip install pandas-datareaderStooqimport datetime ...pystanを Anacondaを使わない Windows 環境にインストールする

pystan
ソースファイルをダウンロードして自分でコンパイルします
install D:\WinPython\content\httpstan install D:\WinPython\content\pystanMicr ...
過去のデータから株価を予想できるprophetを Anacondaを使わない Windows 環境にインストールする

prophetpip install convertdatepip install lunarcalendarpip install holidayspip install prophet
prophet · PyPI
サンプルi ...過去の CSV 株価データに 株式分割 情報を与えて更新する

Python のプログラムimport pandas as pd# 株価データと分割情報のCSVファイルの読み込みstock_data_csv = 'ticker225.csv' # 株価データのCSVファイルsplit_d ...
PythonでSVGをPNGに変換するCairoSVG

CairoSVG
CairoSVG
pip install CairoSVGGitHub – tschoonj/GTK-for-Windows-Runtime-Environment-Installer: GTK ...
日本語の漢字の書き順アニメーションを含む GIF ファイルを生成

漢字の勉強に便利です
Kanji2GIFGitHub – shuuryou/kanji2gif: Generates GIF files with Japanese kanji stroke order ani ...
タイル状の画像から最小単位を切り取る

プログラムimport cv2import numpy as np# 元画像とテンプレート画像のパスimage_path = "checkerboard.png"# 元画像を読み込むimg = cv2.imread(im ...
OpenCVで漢字や全角文字のファイル名のイメージファイルの読込、書込み

OpenCVではASCIIファイル名のデータしか対応ができません
しかし次のライブラリーを使うことで可能になります
cvplusGitHub – daizyu/cvplus: CV tools
apex を Windows インストールする

インストールgit clone apexpip install -r requirements.txtpip install -v --no-cache-dir --no-build-isolation .
インストールしていない場合 ...