Skip to content

Commit

Permalink
Merge pull request #5 from CVxTz/feature/add_tests
Browse files Browse the repository at this point in the history
remove untracked file
  • Loading branch information
CVxTz authored Oct 7, 2020
2 parents c02877b + a003887 commit 1a16ffa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_deeptabular.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import numpy as np
import tensorflow as tf
from sklearn.metrics import accuracy_score, mean_absolute_error
import os


def test_build_deeptabular():
Expand Down Expand Up @@ -73,6 +74,8 @@ def test_build_save():
base_model_new = DeepTabular()
base_model_new.load_config("config.json")

os.remove("config.json")

assert base_model.mapping == base_model_new.mapping
assert base_model.cat_cols == base_model_new.cat_cols
assert base_model.num_cols == base_model_new.num_cols
Expand Down

0 comments on commit 1a16ffa

Please sign in to comment.