- 博客(5)
- 收藏
- 关注
原创 verilog 新手导航
写在前面verilog不同于其他编程语言,它是一种硬件描述语言。我在verilog的学习中、烧板中走过了许多弯路。试过写个简单的ALU花了15h+的时间,几天几夜debug无数次。也试过写学号循环,仿真通过了,烧板时灯完全不亮。期间各种google和stackoverflow,最终才渐渐地对verilog有所感悟。我略总结了几条准则,在写verilog时应该反复在心里确认。把verilog看成硬件描
2017-05-17 13:08:14 1028
原创 快速排序
快速排序简介快排的基本思路是,在一个乱序数组中选择一个基准(pivot),把比基小的元素放到基的左边,大的放到右边。递归地重复这个操作,直到子数组的长度为1为止。如上图所示,每一次递归都将数组分为三个部分。实现设arr[]为乱序数组,pivot为基,beg end标记待排序的区间[beg,end] 实现的其中一种方法是:取arr[end]为pivot从左到右遍历数组(此时数组为arr[beg]
2016-12-20 23:23:50 331
原创 Machine Learning Week Three
Classification Logistic Function(also called sigmoid function) is in the formg(z)=11+e−z g(z) = \frac{1}{1 +e^{-z}} which map real number to (0,1) interval. new form of hypotheses hθ(x)h_\theta(x)
2016-12-13 21:05:39 453
翻译 Machine Learning Week Two
notationx(i)jx^{(i)}_jdenotes value of feature j in the ith training examplenn denotes the number of features The multivariable form of the hypothesis function is hθ(x)=θ0+θ1x1+...+θnxnh_\theta
2016-12-06 15:40:46 234
转载 Machine Learning Week One
Keep updating This passage summarize the knowledge in web https://www.coursera.org/learn/machine-learning/ Supervised learning In supervised learning, we are given a data set and already know what
2016-11-29 20:57:40 290
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人