由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - A blackbox function f(x)
相关主题
我对G有心理阴影。。how to query in the universal hash table?
谁能言简意赅解释下为什么page rank算法肯定converge微软onsite面经
微软onsite刚面完A家,给留了一个coding assignment, 今天晚上必须发过去,这是什么节奏?
版上有Goldman的程序员的面经么恳请各位帮我编一下简历,叩谢
一个工作机会现在很多小破公司都要搭个hadoop环境,有啥作用?
一道有意思的Google面试题hardware engineer为啥没人讨论?前途怎么样?
这两道题(CareerCup 150)的答案是不是有问题啊?回馈本版~ 最近面的面经和收集来的面经~
抛砖引玉:Careercup 150题中的错误求问2个小公司:Machine Zone and Springpath.
相关话题的讨论汇总
话题: blackbox话题: function话题: probe话题: any话题: use
进入JobHunting版参与讨论
1 (共1页)
H*M
发帖数: 1268
1
ask you to find x s.t. f(x) = 0
f is blackbox.
What will you do?
I will use something similar to binary search, but how to probe the range of
x??
Any ideas?
n******r
发帖数: 1247
2
I think this question is to test your knowledge of global optimization and
is an open question.
If it is the case, then any optimization tenique only makes sense after you
giving out the proper assumptions. For example, make the assumptions such as
the blackbox function is continuous, the function is unimodal etc. before
talking about binary search.

of

【在 H*M 的大作中提到】
: ask you to find x s.t. f(x) = 0
: f is blackbox.
: What will you do?
: I will use something similar to binary search, but how to probe the range of
: x??
: Any ideas?

l*****k
发帖数: 1059
3
Google "fixed-point" iterations.
s*******s
发帖数: 1568
4
use newton's method to achieve quadratic converge.

of

【在 H*M 的大作中提到】
: ask you to find x s.t. f(x) = 0
: f is blackbox.
: What will you do?
: I will use something similar to binary search, but how to probe the range of
: x??
: Any ideas?

C***n
发帖数: 452
5
if you don't know f'(x), how could use Newton's method?

【在 s*******s 的大作中提到】
: use newton's method to achieve quadratic converge.
:
: of

s*******s
发帖数: 1568
6
use finite difference approximation, the converging rate is golden ratio.
This is a interview question I was
asked by bloomberg and morgan stanley.

【在 C***n 的大作中提到】
: if you don't know f'(x), how could use Newton's method?
C***n
发帖数: 452
7
that makes sense, the convergence rate will be partly decided by the finite
difference chosen

【在 s*******s 的大作中提到】
: use finite difference approximation, the converging rate is golden ratio.
: This is a interview question I was
: asked by bloomberg and morgan stanley.

H*M
发帖数: 1268
8
how will you probe the initial range a? if it is blackbox

【在 s*******s 的大作中提到】
: use finite difference approximation, the converging rate is golden ratio.
: This is a interview question I was
: asked by bloomberg and morgan stanley.

s*******s
发帖数: 1568
9
we want full solution? then it is very difficult. If you just need one, you
can peak 0 as initial guess

【在 H*M 的大作中提到】
: how will you probe the initial range a? if it is blackbox
1 (共1页)
进入JobHunting版参与讨论
相关主题
求问2个小公司:Machine Zone and Springpath.一个工作机会
问个startup的RSU问题一道有意思的Google面试题
[合集] google 面试题这两道题(CareerCup 150)的答案是不是有问题啊?
问一道老题抛砖引玉:Careercup 150题中的错误
我对G有心理阴影。。how to query in the universal hash table?
谁能言简意赅解释下为什么page rank算法肯定converge微软onsite面经
微软onsite刚面完A家,给留了一个coding assignment, 今天晚上必须发过去,这是什么节奏?
版上有Goldman的程序员的面经么恳请各位帮我编一下简历,叩谢
相关话题的讨论汇总
话题: blackbox话题: function话题: probe话题: any话题: use