In EM and GMM(Theory), I have introduced the theory of em algorithm for gmm. Now lets practice it in matlab! 1. Generate 1000 pieces of random 2-dimen ...
分类:
其他好文 时间:
2017-01-25 17:28:24
阅读次数:
254
1、读取图片两种方式 System.Drawing.Bitmap imgFrom = new System.Drawing.Bitmap(fromImg) System.Drawing.Image gif = System.Drawing.Image.FromFile(fromImg); 2、把图片 ...
分类:
其他好文 时间:
2017-01-18 14:44:32
阅读次数:
195
一.Intent简介 Intent中文是“意图,意向”,它是Android中四大组件通讯的纽带,Intent负责对应用中一次操作的动作、动作涉及数据、附加数据进行描述,Android则根据此Intent的描述,负责找到对应的组件,将 Intent传递给调用的组件,并完成组件的调用。Intent不仅可 ...
分类:
其他好文 时间:
2017-01-09 21:43:11
阅读次数:
228
初始化 tensor相关信息 改变tensor里的元素 tensor的提取 总说:select是直接提取某一维;narrow是取出某一维并进行裁剪; sub就是取出一块,是对取出的所有维进行裁剪。 语法: select(dim, index); narrow(dim, index, num); su ...
分类:
其他好文 时间:
2016-12-29 06:52:01
阅读次数:
536
DataFrame Constructor DataFrame([data, index, columns, dtype, copy]) Two-dimensional size-mutable, potentially heterogeneous tabular data structure wi ...
分类:
其他好文 时间:
2016-12-27 23:11:59
阅读次数:
437
重要的话 开头说,not for the RecyclerView or ListView, for the Any ViewGroup. 本控件不依赖任何父布局,不是针对 RecyclerView、ListView,而是任意的ViewGroup里的childView都可以使用侧滑(删除)菜单。支持 ...
分类:
移动开发 时间:
2016-12-23 14:13:35
阅读次数:
566
一、物体分类: 这里使用的是caffe官网中自带的例子,我这里主要是对代码的解释~ 首先导入一些必要的库: out: out: probabilities and labels: Out[17]: [(0.3124361, 'n02123045 tabby, tabby cat'), (0.2379 ...
分类:
其他好文 时间:
2016-12-22 13:42:00
阅读次数:
3326
There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of the hor ...
分类:
编程语言 时间:
2016-12-18 21:11:55
阅读次数:
468
Problem: You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizo ...
分类:
其他好文 时间:
2016-12-16 14:46:01
阅读次数:
205
GridView:activity_main.xml<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/acti..
分类:
移动开发 时间:
2016-12-14 22:35:00
阅读次数:
421