How to use the verticapy.learn.plot.lof_plot function in verticapy

To help you get started, we’ve selected a few verticapy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vertica / Vertica-ML-Python / verticapy / learn / neighbors.py View on Github external
---------------------------------------------------------------------------
	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)
	#---#