![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Algorithm
EmoC001
这个作者很懒,什么都没留下…
展开
-
opencv 转 matplotlib 坐标
2D opencv -> 2D matplotlibwidth = 200height = 200points = [[100,120],[130,140],[150,180]]mask = np.zeros((200,200))cv2.circle(mask,tuple(points[0]),3,(255,255,0),-1)cv2.circle(mask,tuple(points[1]),3,(255,255,0),-1)cv2.circle(mask,tuple(points[2]原创 2022-03-24 17:15:45 · 3854 阅读 · 0 评论 -
General Algorithm
Y or NSilly Board GameString SortingFind the smallest char in a stringInteger SortingPairsY or NSilly Board Game2 opponents: A&B. To represent a board by String[] board原创 2017-12-20 15:08:44 · 246 阅读 · 0 评论 -
General Algorithms - Graph
BFSRed Knights Shortest Path - World CodeSprint 12 -DFSEven TreeRoads and LibrariesMSTKruskal MST Really Special SubtreeABFSRed Knight’s Shortest Path - Wo原创 2017-12-17 22:54:32 · 461 阅读 · 0 评论 -
General Algorithm - Dynamic/Recursive
DynamicStock MaximizeThe Maximum SubarrayRecursiveCrossword PuzzleDynamicStock Maximize For the first case, you cannot obtain any profit because the share price never rises. $0For the second case原创 2017-12-22 00:41:47 · 209 阅读 · 0 评论 -
Math For CS
CombinationMultinomial TheoremBookkeeper RuleCombinationMultinomial TheoremBookkeeper Rule确定组合总数:记String的Char个数为n, 则结果为:n!,10!;分类Char并排序:如:Bo1o2k1k2e1e2pe3r B o_1 o_2 k_1 k_2 e_1 e_2 pe_3 r \; o有原创 2018-01-03 16:20:39 · 345 阅读 · 0 评论 -
LintCode
两个字符串是变位词比较字符串两个字符串是变位词import java.util.Arrays;public class Solution { /** * @param s: The first string * @param b: The second string * @return true or false */ public boo原创 2016-06-30 11:59:17 · 426 阅读 · 0 评论 -
Machine Learning Week2
Matlab for MAC 下载 address:ClickHereMatlab for MAC 学习地址:ClickHereMultivariate Linear Regression当有更多信息提供来预测时用multivariate linear regression : n: 有多少已知信息(feature) x^(i): 第i 个training example的已知信息(指第i行的原创 2016-07-10 01:00:06 · 288 阅读 · 0 评论 -
Machine Learning week1
Week1:Machine Learning definition:Machine learning is a type of artificial intelligence (AI) that provides computers with the ability to learn without being explicitly programmed. (Ref)Super原创 2016-06-19 19:43:00 · 296 阅读 · 0 评论 -
Installing (安装) Octave For Mac
下载地址[Click Here] 下载后解压,打开解压后的文件夹:step1:将用于uninstall的一个app(文件以.app结尾)拖入Application(应用) step2:继续解压这个文件夹里的一个压缩文件,点击后自动弹出安装向导(load 向导内容慢,等待约1分多钟),按照指示一直点”continue”(或下一步),向导窗户关闭后没什么提示(说明安装完了) step原创 2016-07-15 19:04:37 · 5558 阅读 · 0 评论 -
Graph
在国外有个像Gson viewer的可视小应用:https://d3c33hcgiwev3.cloudfront.net/_d09434285f7ac02400afc0632bd38798_OSM_Graph_Viewer.0.1.4.html?Expires=1455062400&Signature=OSg-bMxxJ-rULdcUXRoJmECvi4t2TCFZuEUBMU4HZx5SJx原创 2016-02-08 17:41:35 · 488 阅读 · 0 评论 -
安装Eclipse for MAC 苹果版
安装Eclipse 需要:(1)进入: https://www.eclipse.org/downloads/(2)(3)(4)(5)下载这个很快,接着安装JDK(6)进入:http://www.oracle.com/technetwork/java/javase/downloads/index.html(7)(8)(9)不知道是不是自己网速慢,这个过原创 2016-02-08 14:19:09 · 66141 阅读 · 0 评论