专栏名称: 大数据应用
数据应用学院被评为2016北美Top Data Camp, 是最专业一站式数据科学咨询服务机构,你的数据科学求职咨询专家!
目录
相关文章推荐
大数据文摘  ·  一手硬科技,一手软实力,Deepseek和L ... ·  3 天前  
数据派THU  ·  微软等提出「模型链」新范式,与Transfo ... ·  4 天前  
51好读  ›  专栏  ›  大数据应用

每日一练 | Data Scientist & Business Analyst 面试题 158

大数据应用  · 公众号  · 大数据  · 2017-08-12 08:52

正文

请到「今天看啥」查看全文


Using the following variable:

x=cbind(c(1,2,3,4,9,7,4,3),c(3,1,2,5,3,6,5,3))

x

type a for() loop that calculate y=3 8 18 44 126 140 100 84, such that:

y[1]=x[1,1]*x[1,2]

y[2]=x[2,1]*sum(x[1:2,2])

y[3]=x[3,1]*sum(x[1:3,2])

.

.

.

y[8]=x[8,1]*sum(x[1:8,2])

欲知答案如何?请见下期分解!

Day 57 答案揭晓

DS Interview Questions

Talk about how K-D Tree improve the KNN.

The k-d tree is a binary tree in which every node is a k-dimensional point. Every non-leaf node can be thought of as implicitly generating a splitting hyperplane that divides the space into two parts, known as half-spaces. Points to the left of this hyperplane are represented by the left subtree of that node and points right of the hyperplane are represented by the right subtree. The hyperplane direction is chosen in the following way: every node in the tree is associated with one of the k-dimensions, with the hyperplane perpendicular to that dimension's axis.







请到「今天看啥」查看全文