(region_sparse, region_dense, base_sparse, base_dense, bias_sparse, bias_dense)
| 16 | |
| 17 | ) |
| 18 | def test_MLRs(region_sparse, region_dense, base_sparse, base_dense, bias_sparse, bias_dense): |
| 19 | model_name = "MLRs" |
| 20 | region_x, y, region_feature_columns = get_test_data( |
| 21 | SAMPLE_SIZE, region_sparse, region_dense, prefix='region') |
| 22 | base_x, y, base_feature_columns = get_test_data( |
| 23 | SAMPLE_SIZE, region_sparse, region_dense, prefix='base') |
| 24 | bias_x, y, bias_feature_columns = get_test_data( |
| 25 | SAMPLE_SIZE, region_sparse, region_dense, prefix='bias') |
| 26 | |
| 27 | model = MLR(region_feature_columns, base_feature_columns, |
| 28 | bias_feature_columns=bias_feature_columns, device=get_device()) |
| 29 | model.compile('adam', 'binary_crossentropy', |
| 30 | metrics=['binary_crossentropy']) |
| 31 | print(model_name + " test pass!") |
| 32 | |
| 33 | |
| 34 | def test_MLR(): |
nothing calls this directly
no test coverage detected