Easter79 Easter79
3年前
tflearn中计算混淆矩阵方法——需要经过一步转换
defdo_rnn_wordbag(trainX,testX,trainY,testY):y_testtestYtrainXpad_sequences(trainX,maxlen100,value0.)testXpad_sequences(testX,maxle
Stella981 Stella981
3年前
MacOS VSCode 安装 GO 插件失败问题解决
0x00问题重现Installinggolang.org/x/tools/cmd/guruFAILEDInstallinggolang.org/x/tools/cmd/gorenameFAILEDInstallinggolang.org/x/lint/golintFAILEDInst
Wesley13 Wesley13
3年前
Java中使用GRPC(带TLS认证)
0.编写.protosyntax"proto3";optionjava_multiple_filestrue;optionjava_package"io.grpc.examples.helloworld";optionjava_outer_classname"HelloWorl
Stella981 Stella981
3年前
CentOS7.6编译安装redis5.0
yuminstallgccwgethttp://download.redis.io/releases/redis5.0.0.tar.gztarxvfredis5.0.0.tar.gzroot@instance0ihsw5jnjavacd./redis5.0.0/root@ins
Stella981 Stella981
3年前
Linux 下 mysql 重置密码
1.查看服务状态: psef|grepmysqld !(https://static.oschina.net/uploads/space/2017/0705/140416_7Ew0_3434392.png)servicemysqldstatus 
Stella981 Stella981
3年前
Python学习——自己使用类封装操作redis数据库
importredisclassMyRedis:def\_\_init\_\_(self,host,port6379,db0,password):  self.rredis.Redis(hosthost,portport,dbdb,passwordpassword)defop\_str(self,k,vNo
Wesley13 Wesley13
3年前
Java 异常与IO流
一、异常  想想一下代码会发生什么?publicstaticvoidmain(Stringargs){inta10;intb0;System.out.println(a/b);Syst
Wesley13 Wesley13
3年前
3NF分解过程 3NF如何分解 (伪代码)
3NF分解过程(伪代码)letFcbethecanonicalcover(最小函数依赖集)forF,i0foreachFDα→βFcdoif(noneofRj,j1,2,...,icontainsα
Stella981 Stella981
3年前
Leetcode 1024. Video Stitching
classSolution:defhelper(self,l,r,clips)int:maxL,maxR0,0iL,iR1,1fori,cinenumerate(clips):ifc0<la
Stella981 Stella981
3年前
MongoMapper中的update方法
从一个小栗子开始classPageincludeMongoMapper::Documentkey:title,Stringkey:day_count,Integer,:default0key:week_count,Integer,:de