Skip to content

Commit 903f748

Browse files
committed
improve logging
1 parent 0d96de6 commit 903f748

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

util/data_util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pandas as pd
99

1010
from data_set import DataSet
11-
from logging import debug
11+
from logging import vlog
1212

1313
pd.set_option('display.expand_frame_repr', False)
1414

@@ -57,7 +57,7 @@ def to_dataset(df, k, target_column, with_bias):
5757
x[i] = row
5858
y[i] = target[i+k]
5959

60-
debug('Data set: x=%s y=%s' % (x.shape, y.shape))
60+
vlog('Data set: x=%s y=%s' % (x.shape, y.shape))
6161
return DataSet(x, y)
6262

6363

@@ -76,7 +76,7 @@ def to_dataset_for_prediction(df, k, with_bias):
7676
row = np.insert(row, 0, 1)
7777
x[i] = row
7878

79-
debug('Data set for prediction:', x.shape)
79+
vlog('Data set for prediction:', x.shape)
8080
return x
8181

8282

0 commit comments

Comments
 (0)