Distributions

Utils.plotFcnGridFunction
plotFcnGrid(f, xGrid, xNames, fcnArgs...;ylabel="", title ="", levels = 10,fill=:viridis)

Plotting a function of a 1D or 2D grid.

source
Utils.plotClassifier2DFunction
plotClassifier2D(y, X, predictFunc; gridSize = [100,100], colors = missing, axisLabels = missing)

Plots the decision boundaries of a classifier predictFunc() with two inputs

  • predictFunc should take x1, x2 as inputs and returns a class in unique(y)
  • class labels can be Categorical or Int
source