MCPcopy Create free account
hub / github.com/ScottfreeLLC/AlphaPy / get_plot_directory

Function get_plot_directory

alphapy/plots.py:188–204  ·  view source on GitHub ↗

r"""Get the plot output directory of a model. Parameters ---------- model : alphapy.Model The model object with directory information. Returns ------- plot_directory : str The output directory to write the plot.

(model)

Source from the content-addressed store, hash-verified

186#
187
188def get_plot_directory(model):
189 r"""Get the plot output directory of a model.
190
191 Parameters
192 ----------
193 model : alphapy.Model
194 The model object with directory information.
195
196 Returns
197 -------
198 plot_directory : str
199 The output directory to write the plot.
200
201 """
202 directory = model.specs['directory']
203 plot_directory = SSEP.join([directory, 'plots'])
204 return plot_directory
205
206
207#

Callers 7

plot_calibrationFunction · 0.85
plot_importanceFunction · 0.85
plot_learning_curveFunction · 0.85
plot_roc_curveFunction · 0.85
plot_confusion_matrixFunction · 0.85
plot_validation_curveFunction · 0.85
plot_boundaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected