data.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:uai2017_learning_to_acquire_information 作者: evanthebouncy 项目源码 文件源码
def get_instance(test=False):
  ge_fail, link_fail = random_fail(G_E)
  path_chg = path_changed(G_E, ge_fail, G_OBS)


  return link_fail, path_chg, ge_fail 
  # img, _x = gen_crack()
  # img = gaussian_filter(img, 1.0)
  # return img, _x

# a trace is named tuple
# (Img, S, Os) 
# where Img is the black/white image
# where S is the hidden hypothesis (i.e. label of the img)
# Os is a set of Observations which is (qry_pt, label)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号