杀不死。

越努力,越幸运啊。


  • Home

  • Tags

  • Categories

  • Archives

  • Search

吴恩达《机器学习》——第三次作业:多元分类

Posted on 2019-05-18 | Post modified: 2019-10-16 | In ML
Words count in article: 625 | Reading time ≈ 3

写了好长时间的驼峰命名,最近有点恶心了,决定python用下划线,C++用驼峰。
这次作业是对手写数字的数据集进行训练。多元分类的一个任务。

参考:https://github.com/fengdu78/Coursera-ML-AndrewNg-Notes/tree/master/code

Read more »

用神经网络实现异或运算

Posted on 2019-05-14 | Post modified: 2019-10-16 | In ML
Words count in article: 144 | Reading time ≈ 1

在这里插入图片描述

Read more »

初识动态规划

Posted on 2019-05-14 | Post modified: 2019-10-16 | In 算法
Words count in article: 824 | Reading time ≈ 3

https://mp.weixin.qq.com/s/3h9iqU4rdH3EIy5m6AzXsg
很可爱的漫画。讲的不错,通俗易懂。mark以下,这里就只记一些概念性问题。
动态规划的英文名Dynamic Programming,是一种分阶段求解决问题的数学思想。它不止应用于编程领域,也应用于管理学、经济学、生物学。

Read more »

吴恩达《机器学习》第二次作业——逻辑回归

Posted on 2019-05-10 | Post modified: 2019-10-16 | In ML
Words count in article: 975 | Reading time ≈ 5

 1. 逻辑回归
给的数据集有两个特征变量。
设想你是大学相关部分的管理者,想通过申请学生两次测试的评分,来决定他们是否被录取。现在你拥有之前申请学生的可以用于训练逻辑回归的训练样本集。对于每一个训练样本,你有他们两次测试的评分和最后是被录取的结果。由此建立逻辑回归分类器。

注: https://github.com/fengdu78/Coursera-ML-AndrewNg-Notes/tree/master/code
github上并没有使用梯度下降来优化参数,应该是使用的是其他的优化算法(SciPy’s truncated newton(TNC))。

Read more »

VS2017生成的.exe文件无法在其他电脑上运行的解决方法

Posted on 2019-05-02 | Post modified: 2019-10-16 | In C/C++
Words count in article: 88 | Reading time ≈ 1
  1. 项目->属性–>配置属性–>常规–>MFC的使用。
    将其改为在静态库中使用MFC。然后重新编译。

    1. 具体过程如下图

      Read more »

各种排序算法的python实现

Posted on 2019-04-28 | Post modified: 2019-10-16 | In python
Words count in article: 251 | Reading time ≈ 1

 - 冒泡排序

1
2
3
4
5
6
7
8
9
10
11
def sortBubble(array):
'''冒泡排序'''
for j in range(len(array)):
for i in range(len(array)-1-j):
if array[i] > array[i+1]:
array[i], array[i+1] = array[i+1], array[i]

A = [2,3,5,6,7,23,12,1]

sortBubble(A)
print(A)
Read more »

吴恩达《机器学习》第一次作业——多变量线性回归

Posted on 2019-04-27 | Post modified: 2019-10-16 | In ML
Words count in article: 505 | Reading time ≈ 2

看这里 https://github.com/fengdu78/Coursera-ML-AndrewNg-Notes/tree/master/code
这是一位大神整理的作业代码。我也就是照葫芦画瓢,慢慢来吧。

Read more »

队列的python实现

Posted on 2019-04-26 | Post modified: 2019-10-16 | In python
Words count in article: 163 | Reading time ≈ 1

队列(queue),是一种操作受限的线性表。只允许在队列的一端添加元素,在队列的另一端删除元素。能添加元素的一端称为队尾,能删除元素的一端称为队头。

Read more »

栈的python实现

Posted on 2019-04-26 | Post modified: 2019-10-16 | In python
Words count in article: 175 | Reading time ≈ 1

栈(stack),是一种操作受限的线性表。它的特点是只能在线性表的一端添加元素、删除元素,能进行添加、删除的元素的一端称为栈顶(top),另外一端称为栈底。按照先进后出(LIFO)的原则进行元素操作。

Read more »

python链表操作

Posted on 2019-04-19 | Post modified: 2019-10-16 | In python
Words count in article: 322 | Reading time ≈ 1

python的链表操作

Read more »
1234…6
Chris Xu

Chris Xu

越努力,越幸运啊。

57 posts
14 categories
58 tags
GitHub E-Mail
© 2019 — 2020 Chris Xu
0%