自定义博客皮肤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)
  • 资源 (5)
  • 收藏
  • 关注

原创 Sigmoid python实现

# ----------# # As with the previous perceptron exercises, you will complete some of the core# methods of a sigmoid unit class.## There are two functions for you to finish:# First, in activate(),

2017-05-23 22:54:47 14329

原创 使用感知机创建XOR网络

使用感知机创建XOR网络的重点是使用and 和 or规则进行组合来完成。# ----------## In this exercise, you will create a network of perceptrons that can represent# the XOR function, using a network structure like those shown in the

2017-05-23 21:22:09 893

原创 感知机更新规则 python

其中需要注意的一点事感知机的更新规则 的计算公式# ----------## In this exercise, you will update the perceptron class so that it can update# its weights.## Finish writing the update() method so that it updates the weigh

2017-05-22 22:13:44 1779

原创 创建感知机 python

# ----------# # In this exercise, you will add in code that decides whether a perceptron will fire based# on the threshold. Your code will go in lines 32 and 34. ## ----------import numpy as npcl

2017-05-22 20:18:57 478

原创 F1分数

F1分数:既然已经讨论了precise(精确率)recall(回召率),接下来将使用一个新的机器学习指标F1分数,F1分数会同时考虑精确率和回召率,以便重新计算新的分数。F1分数可以理解为:精确率和召回率的加权平均值。其中F1分数的最佳为1,最差为0;F1 = 2 * (precise * recall) / (precise + recall)

2017-05-10 00:33:13 9319

原创 准确率的概念

准确率最基本和最常见的分类指标就是准确率。在这里,准确率被描述为在特定类的所有项中正确分类或标记的项的数量。举例而言,如果教室里有 15 个男孩和 16 个女孩,人脸识别软件能否正确识别所有男孩和所有女孩?如果此软件能识别 10 个男孩和 8 个女孩,则它的识别准确率就是 60%:准确率 = 正确识别的实例的数量/所有实例数量有关准确率和如何在 sklearn 中使

2017-05-09 16:12:00 1681

翻译 pandas中loc、iloc、ix的区别

1. loc——通过行标签索引行数据1.1 loc[1]表示索引的是第1行(index 是整数)[python] view plain copy print?import pandas as pd  data = [[1,2,3],[4,5,6]]  index = [0,1]  columns=['a','b','c']

2017-05-08 19:27:18 10629 1

原创 贝塞尔矫正

贝塞尔矫正

2017-05-07 22:38:28 1098

原创 项目 0: 预测泰坦尼克号乘客生还率

项目 0: 预测泰坦尼克号乘客生还率1912年,泰坦尼克号在第一次航行中就与冰山相撞沉没,导致了大部分乘客和船员身亡。在这个入门项目中,我们将探索部分泰坦尼克号旅客名单,来确定哪些特征可以最好地预测一个人是否会生还。为了完成这个项目,你将需要实现几个基于条件的预测并回答下面的问题。我们将根据代码的完成度和对问题的解答来对你提交的项目的进行评估。提示:这样的文字将会指导你如何使用

2017-05-06 15:52:23 3517 1

翻译 Jupyter Notebook 的快捷键

Jupyter Notebook 的快捷键Jupyter Notebook 有两种键盘输入模式。编辑模式,允许你往单元中键入代码或文本;这时的单元框线是绿色的。命令模式,键盘输入运行程序命令;这时的单元框线是灰色。命令模式 (按键 Esc 开启)Enter : 转入编辑模式Shift-Enter : 运行本单元,选中下个单元Ctrl-Enter : 运行本单元Alt-Enter :

2017-05-05 21:05:19 355

原创 Replace space

description: Write a method to replace all spaces in a string with %20. The string is given in a characters array, you can assume it has enough space for replacement and you are given the true length

2017-05-03 21:28:44 529

原创 Two Strings are Anagram

2. Two String Are Anagramdescription: Write a method anagram(s,t) to decide if two strings are anagrams or not.class solution { public boolean anagram(String s, String t) { if (s.length() !

2017-05-03 20:31:51 357

原创 Unique Charcters

//2017.5.21. Unique Charctersdescription: Implement an algorithm to determine if a string has all unique characters.public class Solution {    /**     * @param str: a string     *

2017-05-03 20:18:22 311

转载 EMD分解解析

项目上的理论研究看到一种方法EMD+SVD方法识别,看了下EMD算法意义跟傅立叶变换差不多,也是将信号分解为不同的频率,但是区别与傅立叶无线长时间与小波变换选定小波基的问题,EMD给出了自适应分解方法。关于时间序列平稳性的一般理解:所谓时间序列的平稳性,一般指宽平稳,即时间序列的均值和方差为与时间无关的常数,其协方差与时间间隔有关而也与时间无关。简单地说,就是一个平稳的时间序列指的

2017-05-02 11:33:01 22437 3

机器学习(吴恩达)week2编程作业

机器学习(吴恩达)week2编程作业

2017-07-23

研究生“计算机通信新技术”课程复习题(2016年)

研究生“计算机通信新技术”课程复习题(2016年)

2017-01-11

基于Hessian滤波器的血管增强算法

基于Hessian滤波器的血管增强算法

2017-01-02

颜色相关图

颜色相关图

2015-11-07

空空如也

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

TA关注的人

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