Note
Click here to download the full example code
import numpy as np import matplotlib.pyplot as plt import lmlib as lm from L1_costs import getSEAverage # import cost computation functions from L1_plots import plotFigsCR0 # import plotting functions NOF_X = 100 J_MAX = 100 y = np.array([.2, 1.1, 3.4, 5.1, 6.5, 7.2, 8.5]) (k, x_range, J, ind_x) = getSEAverage(y, NOF_X, J_MAX) plotFigsCR0(y, k, ind_x, x_range, J, J_MAX) plt.show()
Total running time of the script: ( 0 minutes 0.171 seconds)
Gallery generated by Sphinx-Gallery