Update Deprecated Pandas Function Call
Update Deprecated Pandas Function Call

Pandas.DataFrame.as_matrix is deprecated since version 0.23.0 (see docs
and PR 18458). According to the documentation for Pandas 0.25.1, the
recommended function is DataFrame.to_numpy() in place of DataFrame.values
or DataFrame.as_matrix().

https://github.com/pandas-dev/pandas/pull/18458
https://pandas.pydata.org/pandas-docs/version/0.23/generated/pandas.DataFrame.as_matrix.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.values.html

ustunb/risk-slim,ustunb/risk-slim