ofs_aif.scenario_models.red_flags package

Submodules

ofs_aif.scenario_models.red_flags.CCPTRNSFRFREQ module

class CCPTRNSFRFREQ(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

This feature combines the diversity of credit counterparties with the frequency of money transfers

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.CCPTRXNCT module

class CCPTRXNCT(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

This feature measures how many counterparties credit funds to an account.

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.CDBAL module

class CDBAL(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

This feature measures the balance between the number of credit and the number of debit transactions

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.CDBALTRXNSPIKE module

class CDBALTRXNSPIKE(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

This feature combines the credit-debit count balance with the presence of a transaction spike

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.CDHRG module

class CDHRG(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

This feature combines the credit-debit amount balance with the amount transacted against HRG

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.CDR module

class CDR(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

Credit and Debit Ratio

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.CDRROUNDED module

class CDRROUNDED(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

Credit and Debit Ratio for rounded amounts

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.CDS module

class CDS(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

Credit and Debit Speed

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.CUSTNWAVGINDTRXN module

class CUSTNWAVGINDTRXN(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

This feature combines the total transaction amount in units of customer’s NW and the average size of individual transactions

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.DAVGTRANSNW module

class DAVGTRANSNW(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

This feature measures the average size of outgoing transactions and compare it to the customer’s NW

fit(X)
transform(X)

ofs_aif.scenario_models.red_flags.KYCR module

class KYCR(key_var='ENTITY_ID')

Bases: sklearn.base.BaseEstimator, sklearn.base.TransformerMixin

KYC Risk

fit(X)
transform(X)

Module contents