Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
max_cols : int, optional
Max columns to analyze, by default 30
verbose : {0, 1, 2}, optional
0 - it does not print any messages and goes into silent mode
1 - print messages on the terminal and also display
charts on terminal
2 - it will print messages but will not display charts,
it will simply save them.
"""
from autoviz.AutoViz_Class import AutoViz_Class
target = self.target if self.target else ""
AV = AutoViz_Class()
dft = AV.AutoViz(
"",
dfte=self.x_train,
depVar=target,
max_cols_analyzed=max_cols,
max_rows_analyzed=max_rows,
verbose=verbose,
)