AI
matdodo
use knowledge to make the world better.
展开
-
多视图聚类(multi-view clustering)简介
由于自我表示学习算法在创建图(graph construction)与谱嵌入(spectral embedding)过程中有着O(n^3)甚至更高的复杂度,其难于在大尺度的数据上进行应用。即不同的视图对应着不同的基本矩阵,导致产生的子空间存在着内部不一致性。此时,人们就引入了矩阵分解的方法,将输入分解为基本矩阵和低秩的系数矩阵,同时与子空间方法进行融合。其次,k个被选中的锚点被多个视图共有可以保证融合的子空间的一致性,形成多个视图间的信息互补。首先,如果我们需要k个锚点,算法的时间复杂度就由O(n。原创 2023-08-24 09:12:43 · 2301 阅读 · 0 评论 -
recognition mnist handwriting digits
identification mnist handwriting digitsdownload mnist and load dataMNIST can be downloaded in this website http://yann.lecun.com/exdb/mnist/.After download data set, unzip it like this: tar -xzvf ‘****原创 2016-08-11 23:55:34 · 2339 阅读 · 5 评论 -
Detection Spam Emails
There are many emails downloaded from Internet.The emails are labeled with spam or ham.This article will demonstrate the theory of Naive Bayes Filter. Email DataThere are nn labeled emails with corresp原创 2017-01-07 15:56:44 · 615 阅读 · 0 评论 -
Detection Green Balls
利用多元高斯分布进行颜色识别分割图片。Utilize Multivariate Gaussian Model to detection green balls and segment pictures.原创 2017-01-25 20:25:05 · 636 阅读 · 0 评论 -
在tensorflow中保存模型参数
想要保存训练之后得到的神经网络参数,一般有两种办法。第一种,可以将tensor对象转换为numpy数组进行保存。即,numpy.savetxt('weight.txt', weight.eval())第二种,是利用tensorflow自带的Saver对象。import tensorflow as tf#########################原创 2017-03-08 01:10:24 · 9127 阅读 · 3 评论 -
[tensorflow]TypeError: Fetch argument .+ has invalid type
TypeError: Fetch argument * has invalid type type 'numpy.float32'>, must be a string or Tensor. (Can not convert a float32 into a Tensor or Operation.)原创 2017-03-06 23:59:22 · 8951 阅读 · 8 评论 -
[tensorflow] feed_dict 传入序列
当前, tensorflow(1.0)还不是很人性化。在session中传入序列参数到图模型中并不是很方便。所以,现在只能将序列中每一个元素对应的tensor和实际值对应写入dict进行传送。比如, 定义图时,把将填入的tensor,先用placeholder占位: with graph.as_default(): nn_weights = [tf.原创 2017-03-08 23:24:29 · 14998 阅读 · 3 评论 -
无bug版本的生物信息学c++工具包 BALL 1.1.1
BALLBALL project 1.1.1 bugs-free version下载链接: 点击我修改了下源码可以直接编译成功了。现在的版本就是可正常编译的版本。当然,版权归BALL-Project 团队所有。Welcome to BALL-1.1.1This is the BALL-1.1.1 bugs-free version.原创 2017-04-28 20:37:06 · 1020 阅读 · 0 评论 -
tensorflow 中对数组元素的操作
上个月没咋写文章。这个月开始,多进行进行总结分享。tensorflow中对tensor对象进行像numpy数组一样便捷的操作是不可能的, 至少对1.2以及之前的版本而言。从issue上看到,有不少人希望tensorflow能及早实现这些操作,但近期来看是不太可能了。但是,这样的操作的确可以实现。下面我来向大家介绍几种常用的操作,以及其在tensorflow中原创 2017-07-06 19:53:22 · 21711 阅读 · 7 评论 -
[action]tensorflow 深度学习实战(1) deep learning 清洗数据
Deep Learning 深度学习清洗数据学习简单的数据处理经验, 熟悉以后常用的数据集The objective of this assignment is to learn about simple data curation practices, and familiarize you with some of the data we’ll be reusing later.本文使用notM原创 2016-08-02 23:59:28 · 10513 阅读 · 13 评论 -
Common motion planning algorithms 常用机器人运动规划算法
Common motion planning algorithms1.Configuration space searchEvery point in configuration space represents a work state.Configuration space search will find a path from initial state原创 2016-09-08 10:32:34 · 4583 阅读 · 0 评论 -
ubuntu 14.04 搭建GPU深度学习 tensorflow 平台
1. 安装ubuntu 14.04 LTS注意不要进行任何update2. 安装cuda7.5这一步呢,坑很多,我装了两天都失败了. 不小心便会出现ubuntu反复登录,或是黑屏只有命令行的现象。一定要小心。有没有双显卡笔记本在Ubuntu下使用cuda的解决方案https://www.zhihu.com/question/48027732知乎用户林逸洲给了在u原创 2016-08-01 13:26:07 · 5223 阅读 · 0 评论 -
[note][reinforcement-learning] (0) using reinforcement to solve frozen-lake
using reinforcement to solve frozen-lakewe will use GYM library to solve frozen-lake problem.GYM provides an easy way to experiment with agents in a grid game.The frozen-lake environment consi转载 2016-08-29 00:58:59 · 2371 阅读 · 0 评论 -
[note] deep learning tensorflow lecture 2 notes 深度学习笔记 (2) 解决过拟合
1. linear model complexityLogistic Model is defined as: X*W + b = yparameter W and b should be determined by optimization method. X is 1 by 784. 784 = 28*28W is 784 by 10b is 1 by 10原创 2016-08-07 11:46:08 · 1822 阅读 · 0 评论 -
[action] deep learning 深度学习 tensorflow 实战(2) 实现简单神经网络以及随机梯度下降算法S.G.D
在之前的实战(1) 中,我们将数据清洗整理后,得到了'notMNIST.pickle'数据。本文将阐述利用tensorflow创建一个简单的神经网络以及随机梯度下降算法。# These are all the modules we'll be using later. Make sure you can import them# before proceeding further.原创 2016-08-04 17:39:19 · 8680 阅读 · 2 评论 -
[note] deep learning tensorflow lecture 1 notes 深度学习笔记 (1)
1. logistic classifiermodel: W*X + b = Ywhere W is the Weights Vector, X is input vector, b is bias and Y is output.Y, the output vector is a numeric vector.As show in picture原创 2016-08-03 21:26:11 · 2451 阅读 · 2 评论 -
[action]tensorflow 深度学习实战(3) regularization
explore regularization techniques.# These are all the modules we'll be using later. Make sure you can import them# before proceeding further.from __future__ import print_functionimport numpy as n原创 2016-08-07 16:54:26 · 2826 阅读 · 1 评论 -
[note] 深度学习 tensorflow 笔记(3) cnn 卷积神经网络
假设我们想要辨识一张图片里面是不是有猫咪的存在。这只猫咪可以在图片的任何位置。什么办法才能辨别这个图片里面有没有猫呢?一个很简单的想法就是:将图片分成一些子图片的集合,逐个辨别子图片里面有没有猫咪。的确,卷积神经网络就是这样做的。但是,分割好后如何辨别子图片有没有猫咪呢?这就要看卷积的作用了,图片是二维数组(这里指的是灰度图像),即二维离散变量。卷积能将其中的特征提取出原创 2016-08-08 22:16:04 · 3684 阅读 · 0 评论 -
[action]tensorflow深度学习实战 (4) 实现简单卷积神经网络
我们首先导入已经清洗好的数据。这个清洗过程在之前的博文实战(1)。# These are all the modules we'll be using later. Make sure you can import them# before proceeding further.from __future__ import print_functionimport numpy as原创 2016-08-09 17:00:29 · 7070 阅读 · 1 评论 -
ubuntu 14.04 双显电脑 安装 cuda7.5
ubuntu 14.04 双显电脑 安装 cuda7.51. download .run fileenter the web page: http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.runsave file cuda_7.5.18原创 2016-08-01 02:27:03 · 932 阅读 · 0 评论