- 博客(0)
- 资源 (1)
- 收藏
- 关注
感知机的对偶形式.py
import numpy as np
import matplotlib.pyplot as plt
class PerceptronDuality():
def __init__(self):
self.alpha = None
self.bias = None
self.W = None
def fit(self, x_train, y_train, learning_rate=1, n_iters=100, plot_train=True):
print("开始训练...")
num_samp
2020-08-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人