自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 狂神说 Spring5学习笔记

Spring5框架1.spring1.1 简介​ Spring : 春天 —>给软件行业带来了春天​ 2002年,Rod Jahnson首次推出了Spring框架雏形interface21框架。​ 2004年3月24日,Spring框架以interface21框架为基础,经过重新设计,发布了1.0正式版。​ 很难想象Rod Johnson的学历 , 他是悉尼大学的博士,然而他的专业不是计算机,而是音乐学。​ Spring理念 : 使现有技术更加实用 . 本身就是一个大杂烩 , 整合现有的

2020-12-01 00:10:30 1376

转载 狂神说 mybatis笔记

为狂神说中的mybatis笔记Mybatis-9.28环境:JDK1.8Mysql 5.7maven 3.6.1IDEA回顾:JDBCMysqlJava基础MavenJunitSSM框架:配置文件的。 最好的方式:看官网文档;1、简介1.1、什么是Mybatis[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-rBu03wHo-1606699742011)(Mybatis课堂笔记.assets/1569633932712.png)]M

2020-11-30 09:32:49 466

原创 java网络编程的一些基础的知识

1.2网络通信的要素通信双方的地址:ip端口号规则:网络通信协议1.3 IP地址ip地址:InetAddress唯一定位一台主机127.0.0.1 本机localhostip地址的分类ivp4/ipv6ipv4: 32位ipv6: 128位公网(互联网)-私网(局域网)ABCD类地址192.168.XX.XX,专门给组织内部使用(局域网)域名:记忆IP问题package lesson1.com.day1;import ja

2020-09-16 17:13:03 126

原创 笔记(机器学习)

一.np.stack(arrays,axis)x1 = np.arange(9).reshape((3, 3))print('x1:\n', x1, '\n')x2 = np.arange(10, 19, 1).reshape((3, 3))print('x2:\n', x2, '\n')y2 = np.stack((x1, x2), axis=0)print('axis=0时sta...

2020-03-20 16:25:01 107

原创 pandas学习笔记(代码部分)

import pandas as pd# Serise一维数组,DataFrame二维数组# 创建一维Seriest1 = pd.Series([1,3,5,6,8])print(t1, '\n')# 创建一维Series,并修改对应序号t2 = pd.Series(range(5), index=list("abcde"))print(t2, '\n')# 通过字典来创建Ser...

2020-02-11 10:39:31 293

原创 numpy学习笔记(代码)

import numpy as npimport random#用numpy生成数组,t1,t2,t3t1 = np.array([0, 1, 2, 3, 4])print(t1,'\n')t2 = np.array(range(5))print(t2,'\n')t3 = np.arange(5)print(t3,'\n')#用numpy生成的数组的类型为<class...

2020-01-31 22:58:44 185

原创 matplotlib中关于坐标显示汉字的问题解决方法

方法一:import matplotlibfont = {'family': 'Times New Roman', 'weight': 'normal', 'size': '13'}matplotlib.rc('font',**font) #按ctrl+B键到1172行到1176行代码了解又或者#matplotlib.rc("font",family = ...

2020-01-30 22:51:15 1279

原创 matplotlib学习笔记(代码)

"""折线图:绘制10点到12点的气温的折线图x轴为带中文的时间y轴为气温"""from matplotlib import pyplot as pltimport matplotlibfrom matplotlib import font_managerfrom pylab import mpl,textfrom matplotlib.font_manager imp...

2020-01-30 22:43:47 154

原创 python实现贝叶斯

#贝叶斯算法的实现 2020.1.14import numpyclass Bayes: def __init__(self): self.lenght = -1 self.labels_count = dict() #{类别:该类别在总类别中的比例} self.vector_count = dict() #{类别:特征...

2020-01-14 21:25:26 232

原创 python实现KNN,并用KNN实现手写数字识别

python实现KNN,并用KNN实现手写数字识别from numpy import*import operatorfrom PIL import Imagefrom os import listdirdef knn (k,textdata,traindata,labels): traindatasize = traindata.shape[0] #shapr[0]为矩阵的行...

2020-01-14 21:23:27 764

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除