POLAYOR

随笔分类 -  Python

One Hot Encoding
摘要:One Hot Encoding one method converting categorical variables to convenient variables (e.g. 0-1) using dummy variables Pandas Get dummy columns dummies 阅读全文

posted @ 2023-04-05 23:34 POLAYOR 阅读(88) 评论(0) 推荐(0)

Neural Network
摘要:Neural Network Consist of many layers with coefficients. Divide one part into several subparts and repeat this step for proper times. Train Make a ran 阅读全文

posted @ 2023-03-06 23:17 POLAYOR 阅读(38) 评论(0) 推荐(0)

Gradient Descent
摘要:Gradient Descent Use loops and delta to reduce the difference between y_predict and y import pandas as pd import numpy as np import matplotlib.pyplot 阅读全文

posted @ 2023-03-06 23:16 POLAYOR 阅读(16) 评论(0) 推荐(0)

LinearRegression_1
摘要:Linear Regression packages import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn import linear_model model reg = Linear_ 阅读全文

posted @ 2023-02-22 17:26 POLAYOR 阅读(23) 评论(0) 推荐(0)

迷宫问题
摘要:Stack Method 优点:代码简单 缺点:不一定是最短路径 自己写的 maze = [ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 1, 0, 0, 1, 1, 1, 0, 1], [1, 0, 0, 0, 1, 1, 0, 0, 0, 1], [1, 0, 阅读全文

posted @ 2023-02-09 17:05 POLAYOR 阅读(28) 评论(0) 推荐(0)

YOLOv7
摘要:YOLOv7 CSDN文章 使用Git Bash 输入命令 成功运行keypoint.py #!/usr/bin/env python # coding: utf-8 # In[ ]: import matplotlib.pyplot as plt import torch import cv2 f 阅读全文

posted @ 2022-11-10 11:53 POLAYOR 阅读(216) 评论(0) 推荐(0)

导航