MCPcopy Index your code
hub / github.com/shenweichen/DeepCTR / test_FiBiNET

Function test_FiBiNET

tests/models/FiBiNET_test.py:12–19  ·  view source on GitHub ↗
(bilinear_type)

Source from the content-addressed store, hash-verified

10 "all", "interaction"]
11)
12def test_FiBiNET(bilinear_type):
13 model_name = "FiBiNET"
14 sample_size = SAMPLE_SIZE
15 x, y, feature_columns = get_test_data(sample_size, sparse_feature_num=2, dense_feature_num=2)
16
17 model = FiBiNET(feature_columns, feature_columns, bilinear_type=bilinear_type, dnn_hidden_units=[4, ],
18 dnn_dropout=0.5, )
19 check_model(model, model_name, x, y)
20
21
22@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

FiBiNETFunction · 0.90
get_test_dataFunction · 0.85
check_modelFunction · 0.85

Tested by

no test coverage detected