imLogM

Results 3 issues of imLogM

The compute of IDF in "compute_idf.py" is wrong, now correct it.

euler2.0 wiki中的例子:examples/graphsage/python run_graphsage.py 该例子默认使用 estimator.train() 和 estimator.evaluate() 完成训练和验证。 但如果使用 estimator.train_and_evaluate() 会报错,报错信息为:ValueError: Input graph and Layer graph are not the same: Tensor("MPGather:0", shape=(?, 1433), dtype=float32) is not from the passed-in graph....

问题的背景是希望采样与 源节点的某个属性值相同 的 目标节点。 比如 源节点feature1='a',则希望采样到的节点也是 feature1='a'。 如果使用: tf_euler.sample_node( count, node_type, condition='' ) 但似乎condition的内容是不可变的,不能一会儿 condition='feature1 eq a',一会儿 condition='feature1 eq b'。 如果使用: tf_euler.sample_node_with_src( src_nodes, count ) 则需要将 feature1 作为 node_type,在同时要使用 node_type...