MCPcopy Create free account
hub / github.com/Accagain2014/TextMatching / __init__

Method __init__

DSSM/dssm.py:17–78  ·  view source on GitHub ↗

paras: hash_tokens_nums: word hash后词的个数 dnn_layer_nums: dnn的层数 dnn_hidden_node_nums: dnn的结点个数 feature_nums: 最终输出的特征的个数 batch_size: 每个batch的大小 neg_nums: 负样本的个数 learning_rate: 学

(self, hash_tokens_nums=3000, dnn_layer_nums=1, dnn_hidden_node_nums=50, feature_nums=50,
                batch_size=10, neg_nums=4, learning_rate=0.5, max_epochs=200, loss_kind='mcl', w_init=0.1, \
                 save_model_path='./', mlp_hidden_node_nums=32, mlp_layer_nums=2, input_is_sparse=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

create_model_opMethod · 0.95
create_log_loss_opMethod · 0.95
create_train_opMethod · 0.95

Tested by

no test coverage detected