Script for input sensitivity analysis of neural nets

This forum is dedicated to everything about MemBrain Scripting. All Questions or other contributions with respect to scripting should be placed here.
Especially, if you have an interesting script that you might want to share with other MemBrain users, please post it within a new topic in this forum. Try to choose a title for your topic that allows other users to quickly identify the basic purpose of your script.
User avatar
TJetter
Posts: 260
Joined: Sat 13. Oct 2012, 11:04

Script for input sensitivity analysis of neural nets

Postby TJetter » Wed 5. Jul 2017, 19:16

This script analyzes the currently loaded net with respect to the sensitivity of all its inputs with respect to all outputs.
For all the inputs the corresponding activation range of the neurons is scanned and the net reaction is recorded. For this purpose, all other inputs are either set to the mean value of their related activation range or the activation values are used which were effective when the script was started. The corresponding choice for either option can be made in the constant section of the script.

All results are exported into a csv file. This csv file can optionally automatically be opened in the application registered at Windows for csv files. Finally, the script provides the option to visualize the recorded sensitivity curves in the Pattern Error Viewer of MemBrain.

More useful comments are provided in the header of the script.
Attachments
SensitivityAnalysis.as
Script for neural net input sensitivity analysis
(8.91 KiB) Downloaded 1 time
Thomas Jetter

Return to “Scripting”