ALiPy icon indicating copy to clipboard operation
ALiPy copied to clipboard

The axis of plot_learning_curves is not integer, which is awkward.

Open evanzhu2013 opened this issue 6 years ago • 1 comments

The axis of plot_learning_curves is not integer, which is awkward. What can I do to revise it ?

image

evanzhu2013 avatar Mar 04 '19 07:03 evanzhu2013

Hi, Evan Zhu.

The plot_learning_curves() function only provides a simple preview of your results.

To customize your figure:

  1. WIll be updated in v1.0.3 analyser.plot_learning_curves(show=False) will return the matplotlib.pyplot object, you can follow the instructions in https://matplotlib.org/ to modify any attributes of the figure.

  2. You can get the raw data for plotting by analyser.get_extracted_data(method_name). It will return the performance matrix of the specified method_name which is a 2d array with k-fold rows, and q-queries columns. Then you can manage the plot as you like.

tangypnuaa avatar Mar 04 '19 08:03 tangypnuaa