Machine Learning
边城量子96
这个作者很懒,什么都没留下…
展开
-
Supervised Learning 002: k-Nearest Neighbor - Classify Algorithm for Matrix
Pseudocode: get the input data inX which is determined 获取输入待判定数据 for every piece data of our example data set: 针对样本集中的每一条数据 calculate the distance between inX and the current piece data 计算这翻译 2017-06-10 22:00:58 · 259 阅读 · 0 评论 -
Supervised Learning 003: k-Nearest Neighbor - True useful case
Use Case: The case is about the number recognition. 关于数字识别的例子 There are some training data for classifier, they are all files and every file present a number structure. all files is 32*32翻译 2017-06-17 17:44:13 · 228 阅读 · 0 评论 -
Supervised Learning 001: k-Nearest Neighbor - What is kNN?
What is k-Nearest Neighbors(kNN)? It is classifying with distance measurements. 基于距离计算的分类方式。 We have an existing set of example data, we call it training set. All of these data have ca翻译 2017-06-10 21:44:37 · 283 阅读 · 0 评论 -
概率机器人 第二章第2道习题 马尔可夫链 答案
#coding=utf-8 # 用于按概率生成随机数 import numpy as np # 函数;生成未来若干天的天气 # now : 今天天气, 0-晴天 1-多云 2-雨 # count: 返回多少天之后的天气的序列,默认只返回第二天 # trans: 转移矩阵 # 返回:天气list def gen_weather( now, count, trans): weather_l...原创 2018-12-20 20:53:45 · 2080 阅读 · 0 评论