- 博客(3)
- 收藏
- 关注
原创 maven配置mybatis第一个程序
1.搭建实验数据库 2.配置maven依赖,pom.xml文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4....
2022-04-16 10:44:50
671
原创 maven配置Mybatis的踩过的坑中坑
1.mysql数据库版本过低 报错:Cause: java.sql.SQLException: java.lang.ClassCastException: class java.math.BigInteger cannot be cast to class java.lang.Long (java.math.BigInteger and java.lang.Long are in module java.base of loader 'bootstrap') <depende..
2022-04-16 01:26:22
839
原创 第一个小算法
Rosenblatt感知器原始算法,激活函数为hardlims. import numpy as np import matplotlib.pyplot as plt # 感知机学习算法的原始形式 # 输入T={(x1, y1), (x2, y2), (x3, y3)}, y属于{1,-1};学习率为lr # 输出w, b; 感知机模型 f(x)=hardlims(w*x+b) 其中w*x表示w与x的内积 # hardlims为激活函数,当w*x+b>=0时,为1,否则为-1 def Per.
2021-10-18 08:41:17
240
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人