mlstatpy.ml.MlGridBenchMark (self, name, datasets, clog = None, fLOG = <function noLOG at 0x7f8b4303d8c8>, path_to_images = “.”, cache_file = None, progressbar = None, graphx = None, graphy = None, params)
The class tests a list of model over a list of datasets.
mlstatpy.ml.ROC (self, y_true = None, y_score = None, sample_weight = None, df = None)
Helper to draw a ROC curve.
mlstatpy.ml.voronoi_estimation_from_lr (L, B, C = None, D = None, cl = 0, qr = True, max_iter = None, verbose = False)
Determines a Voronoi diagram close to a convex partition defined by a logistic regression in n classes. a row matrix . Every border between two classes i and j is defined by: .
The function looks for a set of points from which the Voronoi diagram can be inferred. It is done through a linear regression with norm L1. See Régression logistique, diagramme de Voronoï, k-Means.