摘要:One Hot Encoding one method converting categorical variables to convenient variables (e.g. 0-1) using dummy variables Pandas Get dummy columns dummies
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Linear Regression packages import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn import linear_model model reg = Linear_
阅读全文
摘要: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,
阅读全文
摘要:YOLOv7 CSDN文章 使用Git Bash 输入命令 成功运行keypoint.py #!/usr/bin/env python # coding: utf-8 # In[ ]: import matplotlib.pyplot as plt import torch import cv2 f
阅读全文