[OT]如何快速的选择算法

36 views
Skip to first unread message

7ym0n.q6e

unread,
May 19, 2016, 1:05:55 AM5/19/16
to sz...@googlegroups.com, cdlug_c...@googlegroups.com, sh...@googlegroups.com, guangzhou-...@googlegroups.com
hi all:
     对于不熟悉算法的人,如何选择算法?
     比如 对数字排序,对人名排序。
     红黑树 平衡二叉树等,如何选择它们。


----------
个人

Github : https://github.com/7ym0n

GMAIL : bb....@gmail.com
 
Q  Q : 289871025


7ym0n.q6e

unread,
May 19, 2016, 3:19:55 AM5/19/16
to sh...@googlegroups.com, sz...@googlegroups.com, cdlug_c...@googlegroups.com, guangzhou-...@googlegroups.com
问题描述有问题,应该说,你会如何选择一个算法?假定条件,当你想到一个算法的时候,是不是还有更好的呢?

我猜,目前业内没人几个敢说精通算法的吧,就好比有人说自己精通神马plusplus一样。 如果你是,那只能膜拜了,神一样级别的。

----------
个人

Github : https://github.com/7ym0n

GMAIL : bb....@gmail.com
 
Q  Q : 289871025



在 2016年5月19日 下午3:04,Yongwei Wu <wuyo...@gmail.com>写道:
同时群发多个邮件列表,还不熟悉算法。是想给自己个坏名声,退出软件行当么?

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout



--
Wu Yongwei
URL: http://wyw.dcweb.cn/

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

D.Y Feng

unread,
May 28, 2016, 3:56:02 AM5/28/16
to guangzhou-...@googlegroups.com
选用什么算法策略?一言蔽之就是 看需求!

然后就是你所说的算法是指数据结构算法(例如我用快排还是堆排)还是解决实际问题的算法(例如我人脸识别使用Haar分类器还是BP神经网络)

对于第一种"算法",我想数据结构课本的第一二章就已经说得很清楚了,怎么从数学上计算一种算法的 复杂度/内存消耗,各种常用算法的特性(排序是否稳定?)

对于第二种"算法",你很难定量分析他的有效性,一般我们拿一堆数据集进行实际测试,哪种效果好,你就选择哪种.靠的是你的个人经验和直觉.而且不同的场景你可能还需要使用不同的优化方法(国内的论文泛滥,小改一下又说是一个新算法了,很多时候就是这种类型)

PS:这种群发多个邮件列表的行为会把时间线搞得乱七八糟,希望题主下次注意.
> --
> --
> 您收到此信息是由于您订阅了 珠三角技术沙龙(http://techparty.org) 论坛。
> 要在此论坛发帖,请发电子邮件到 guangzhou-...@googlegroups.com
> 要退订此论坛,请发邮件至
> guangzhou-tech-p...@googlegroups.com
> 更多选项,请通过
> http://groups.google.com/group/guangzhou-tech-party?hl=zh-CN 访问该论坛
>
> ---
> 您收到此邮件是因为您订阅了Google网上论坛上的“珠三角技术沙龙(TechParty.org)”群组。
> 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到guangzhou-tech-p...@googlegroups.com
> 要查看更多选项,请访问https://groups.google.com/d/optout



--


DY.Feng(叶毅锋)
yyfeng88625@twitter
DYFeng@github
DYFeng@behance
Reply all
Reply to author
Forward
0 new messages