Module view.NetworkTester
Dialog that allows the user to test the network with a data file.
Functions
NetworkTester.new (parent) | Constructor. |
NetworkTester:prepare (project) | Prepares the dialog for tests. |
NetworkTester:run (project) | Runs the network tester. |
(private) NetworkTester:build_gui (parent) | Builds the interface. |
(private) NetworkTester:test () | Tests the current network with the selected data. |
(private) calc_classification (net, data) | Calculates the % of the data that is classified correctly (only suitable for specific cases). |
(private) get_higher (tbl, first) | Returns the index of the higher element |
Functions
- NetworkTester.new (parent)
-
Constructor.
Parameters
- parent: Parent window
Return value:
New instance of NetworkTester - NetworkTester:prepare (project)
-
Prepares the dialog for tests.
Parameters
- project:
- NetworkTester:run (project)
-
Runs the network tester.
Parameters
- project: Project to use
- (private) NetworkTester:build_gui (parent)
-
Builds the interface.
Parameters
- parent: Parent window
- (private) NetworkTester:test ()
- Tests the current network with the selected data.
- (private) calc_classification (net, data)
-
Calculates the % of the data that is classified correctly (only suitable for specific cases).
Parameters
- net:
- data:
- (private) get_higher (tbl, first)
-
Returns the index of the higher element
Parameters
- tbl:
- first: