Skip to content

Instantly share code, notes, and snippets.

View sdkfz181tiger's full-sized avatar
👾

Kajiru sdkfz181tiger

👾
View GitHub Profile
@sdkfz181tiger
sdkfz181tiger / main.py
Last active March 2, 2024 14:04
ロシアの掛け算
# coding: utf-8
"""
ロシアの掛け算
"""
#==========
# Main
import math
@sdkfz181tiger
sdkfz181tiger / main.py
Last active March 2, 2024 02:40
チャップマンアルゴリズムによる弾道計算
# coding: utf-8
"""
チャップマンアルゴリズムによる弾道計算
"""
#==========
# Main
import math
@sdkfz181tiger
sdkfz181tiger / main.py
Last active February 25, 2024 13:45
Whisperで音声文字起こし
# coding: utf-8
"""
1, Venv
1-1, New
$cd [project dir]
$python3 -m venv [newenvname]
1-2, Activate
@sdkfz181tiger
sdkfz181tiger / main.py
Last active February 25, 2024 13:02
Dockerでずんだもん
# coding: utf-8
"""
1, Docker
1-1, Download DockerDesktop and Install
https://docs.docker.com/desktop/release-notes/
1-2, Run DockerDesktop
Launch DockerDesktop!!
1-3, Check version
docker -v
@sdkfz181tiger
sdkfz181tiger / main_1.py
Last active December 30, 2023 23:15
機械学習入門05_8章
# coding: utf-8
"""
スッキリわかる機械学習入門より
1, Install
$ python3 -m pip install pandas
$ python3 -m pip install scikit-learn
"""
import matplotlib.pyplot as plt
@sdkfz181tiger
sdkfz181tiger / main_1.py
Last active December 29, 2023 23:40
機械学習入門04_7章
# coding: utf-8
"""
スッキリわかる機械学習入門より
1, Install
$ python3 -m pip install pandas
$ python3 -m pip install scikit-learn
"""
import matplotlib.pyplot as plt
@sdkfz181tiger
sdkfz181tiger / main_1.py
Last active December 29, 2023 04:29
機械学習入門03_6章
# coding: utf-8
"""
スッキリわかる機械学習入門より
1, Install
$ python3 -m pip install pandas
$ python3 -m pip install scikit-learn
"""
import matplotlib.pyplot as plt
@sdkfz181tiger
sdkfz181tiger / main_1.py
Last active December 29, 2023 04:27
機械学習入門02_5章
# coding: utf-8
"""
スッキリわかる機械学習入門より
1, Install
$ python3 -m pip install pandas
$ python3 -m pip install scikit-learn
"""
import pandas as pd
@sdkfz181tiger
sdkfz181tiger / main_1.py
Last active December 29, 2023 04:26
機械学習入門01_4章
# coding: utf-8
"""
スッキリわかる機械学習入門より
1, Install
$ python3 -m pip install pandas
"""
import pandas as pd
@sdkfz181tiger
sdkfz181tiger / main.py
Created December 8, 2023 05:58
画像の類似度を計算する
# coding: utf-8
"""
1, Install
$ python3 -m pip install imgsim
$ python3 -m pip install torchvision
"""
import cv2, imgsim
import torchvision.models as models