This class processes the information about the current state of the learning process and presents it in form of a graph.
More...
|
| __init__ (self, learnerFilename="learner_progress.eps", solverFilename="solver_progress.eps") |
| Constuctor.
|
|
| handleLearningEvent (self, subject, status) |
| Handles events from Learner.
|
|
| handleSolvingEvent (self, subject, status) |
| Handles events from Linear Solver.
|
|
|
int | LEARNER_FIGURE = 1 |
| The constant figure ID of the plot with learner information.
|
|
int | SOLVER_FIGURE = 2 |
| The constant figure ID of the plot with solver information.
|
|
This class processes the information about the current state of the learning process and presents it in form of a graph.
In order to use this class the matplotlib library is required.
◆ __init__()
python.controller.InfoToGraph.InfoToGraph.__init__ |
( |
|
self, |
|
|
|
learnerFilename = "learner_progress.eps" , |
|
|
|
solverFilename = "solver_progress.eps" |
|
) |
| |
Constuctor.
- Parameters
-
learnerFilename | file name where learner progress information has to be stored (eps file) |
solverFilename | file name where solver progress information has to be stored (eps file) |
References python.controller.InfoToGraph.InfoToGraph.__learnerFigure, python.controller.InfoToGraph.InfoToGraph.__learnerFilename, python.controller.InfoToGraph.InfoToGraph.__learnerTestResiduum, python.controller.InfoToGraph.InfoToGraph.__learnerTrainResiduum, python.controller.InfoToGraph.InfoToGraph.__solverFigure, python.controller.InfoToGraph.InfoToGraph.__solverFilename, python.controller.InfoToGraph.InfoToGraph.__solverResiduum, python.controller.InfoToGraph.InfoToGraph.LEARNER_FIGURE, and python.controller.InfoToGraph.InfoToGraph.SOLVER_FIGURE.
◆ handleLearningEvent()
python.controller.InfoToGraph.InfoToGraph.handleLearningEvent |
( |
|
self, |
|
|
|
subject, |
|
|
|
status |
|
) |
| |
Handles events from Learner.
- Parameters
-
subject | Learner object |
status | Event Status of type LearnerEvents |
◆ handleSolvingEvent()
python.controller.InfoToGraph.InfoToGraph.handleSolvingEvent |
( |
|
self, |
|
|
|
subject, |
|
|
|
status |
|
) |
| |
Handles events from Linear Solver.
- Parameters
-
subject | Linear Solver object |
status | Event Status of type LinearSolverEvents |
◆ LEARNER_FIGURE [1/2]
int python.controller.InfoToGraph.InfoToGraph.LEARNER_FIGURE = 1 |
|
static |
◆ LEARNER_FIGURE [2/2]
python.controller.InfoToGraph.InfoToGraph.LEARNER_FIGURE |
◆ SOLVER_FIGURE [1/2]
int python.controller.InfoToGraph.InfoToGraph.SOLVER_FIGURE = 2 |
|
static |
◆ SOLVER_FIGURE [2/2]
python.controller.InfoToGraph.InfoToGraph.SOLVER_FIGURE |
The documentation for this class was generated from the following file: