Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
---------------------------------------------------------------------------
Draws the model is the number of predictors is 2 or 3.
Parameters
----------
X: list, optional
List of the predictors to display. The score will stay the same.
tablesample: float, optional
Sample of data to display. If this number is not between 0 and 1 all
the data points will be displayed.
"""
check_types([
("X", X, [list], False),
("tablesample", tablesample, [int, float], False)])
X = self.X if not(X) else X
lof_plot(self.name, X, "lof_score", self.cursor, tablesample)
#---#