自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Vitberi Algorithem

Vitberi Algorithemthe code is in link belowhttps://github.com/US579/DataMining-ProjectHow to runDataset in this case :State_File ='./toy_example/State_File'Symbol_File='./toy_example/Symbol_File...

2019-04-24 09:43:34 703

原创 如何对cprofile生成文件进行分析

2019-04-06 11:17:42 1157

原创 NAT MASQUERADE

SNAT是source network address translation的缩写即源地址目标转换比如,多个PC机使用ADSL路由器共享上网,每个PC机都配置了内网IP。PC机访问外部网络的时候,路由器将数据包的报头中的源地址替换成路由器的ip。当外部网络的服务器比如网站web服务器接到访问请求的时候,他的日志记录下来的是路由器的ip地址,而不是pc机的内网ip。这是因为,这个服务器收到的数...

2019-04-05 09:14:07 643

原创 Multinomial naive bayes classifier

LAB 4Multinomial naive bayes classifier to predict spam SMS.WE implement a unigram model here1.we need to caculate followingwhich is the probility of class_i occur in all document , in this case w...

2019-04-05 09:11:48 591

原创 logistics Regression using Gradient Descent

回归来源于"线性回归"的z=XW,使用线性回归去拟合逼近一个’界’,使得按照这个界进行数据分类后得到的cost最小(决策边界).Function:for two way classification and give it realtive probablities.such asdifferentiate whether it is junk maildistinguish w...

2019-03-26 17:12:00 278

原创 数据变换

数据变换min-max normalizationv is input valuenew_max and new_min 是线性变换后的区间长度, 最小-最大规范化就是对原始数据区间进行线性变换。z-score normalization此情况是在属性 A 的最大和最小值未知,或局外者左右了最大-最小规范化时使用normalization by decimal scaling...

2019-03-19 06:23:18 472

原创 GSOE9820 Project management期中复习

Various definations11.Critical path 选择total slack为0的即2-5-102.整个project duration为critical path的时长,即完成这整个项目所需要最短(也就是需要的最长时间)的时间 为 443.LF(late finish)即为方框右下角的那个数字activity 3Answer :154.FS(Free slack...

2019-03-16 21:41:21 1253

转载 SSL/TLS原理详解

https://segmentfault.com/a/1190000002554673

2019-03-16 13:58:22 457

原创 MAC 和 HMAC 的区别

MACmessage authentication codethe propurse of MAC is to verify the intergrity of the messagesenderuse the hash function to get H(m)concate message and H(m)send the H(m) + m to the receiverrec...

2019-03-16 10:35:39 5892

原创 Optimal binning algorithm using dynamic programming

COMP9318-19T1LAB2Optimal binning algorithm using dynamic programmingError Sum of Squares (SSE)SSE is the sum of the squared differences between each observation and its group’s mean. It can be u...

2019-03-12 20:21:21 727

原创 AES,DES,3DES加密方式的特点

SUMMARYDES:Data Encryption Standard(数据加密标准,又美国国密局,选中的IBM的方案,密钥长度为56,标准提出是要使用64位长的密钥,注意: 实际中DES算法只用了64位中的56位密钥)3DES:trip DES(3级DES,是DES的升级版,主要是为了应对快速发展的计算机能力,能够在24小时内暴力破解传统的56位长度密钥的DES,而3DES相当于对统一数据块...

2019-03-04 20:07:30 3254

原创 WK01: Crypto Building Blocks

@ WK01: Crypto Building BlocksPublic key and Prviate key公钥私钥是不对称的不对称指的是用一把钥匙锁住必须用另一把钥匙打开Alic拥有Bob的公钥,利用Bob的公钥加密plaintext m,再将m发送给Bob,只有用Bob的私钥才能重新获得明文m.(用Bob的公钥解密是解不开的)-为私钥 +为公钥disadvantage: th...

2019-02-23 14:28:56 346

原创 解码器测试流程

测试流程传送prop_list=1参数给decoder发送请求时,需要配置prop_list传1,prop_list传成功的话,解码器的日志里会打印 "set active branch:"字样                                                                                                 ...

2018-12-21 00:01:56 1446

原创 OPEN文件操作(Python)

#OPEN文件操作(Python)f = open('file_name ','读写模式')#读写模式:r只读,r+读写,w新建(会覆盖原始文件如果有的话),a追加,b二进制文件.w = write 写r = read 读b = bytes 二进制a = append 追加‘##### 读写模式类型:’rU 或 Ua 以读方式打开w 以写方式打开,a 以追加模...

2018-10-03 16:35:29 407

空空如也

空空如也

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

TA关注的人

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