Created
June 10, 2017 12:37
-
-
Save mbednarski/2a93ec3661fc9709a1d6bc9c5eed9ca8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from src.data import read_raw_data, preprocess_data, get_featues, get_label | |
def test_raw_shape(): | |
dframe = read_raw_data() | |
assert dframe.shape == (150, 5) | |
def test_get_features_shape(): | |
dframe = read_raw_data() | |
processed = preprocess_data(dframe) | |
features = get_featues(processed) | |
label = get_label(processed) | |
assert features.shape == (150, 4) | |
assert label.shape == (150,) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment