-
-
Save sararob/822becb156d081af58f96addce762310 to your computer and use it in GitHub Desktop.
Feature columns for fraud detection blog post
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
[IndicatorColumn(categorical_column=VocabularyListCategoricalColumn(key='type', vocabulary_list=('CASH_IN', 'TRANSFER', 'CASH_OUT', 'PAYMENT', 'DEBIT'), dtype=tf.string, default_value=-1, num_oov_buckets=0)), | |
NumericColumn(key='step', shape=(1,), default_value=None, dtype=tf.float32, normalizer_fn=None), | |
NumericColumn(key='amount', shape=(1,), default_value=None, dtype=tf.float32, normalizer_fn=None), | |
NumericColumn(key='oldbalanceOrg', shape=(1,), default_value=None, dtype=tf.float32, normalizer_fn=None), | |
NumericColumn(key='newbalanceOrig', shape=(1,), default_value=None, dtype=tf.float32, normalizer_fn=None), | |
NumericColumn(key='oldbalanceDest', shape=(1,), default_value=None, dtype=tf.float32, normalizer_fn=None), | |
NumericColumn(key='newbalanceDest', shape=(1,), default_value=None, dtype=tf.float32, normalizer_fn=None)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment