Skip to content

File Formats

dragn edited this page Nov 18, 2012 · 1 revision

Formats of various files used by MonsterBid Toolkit are described on this page.

Network description (*.mbn)

Neural network description file. TODO describe format

Test cases files (*.tsc)

This files contain bundles of tests for networks education and validation. The file consists of two sections: headers section followed by data section. The format of header:
FILENAME: filename
INPUT_SIZE: network's input size
OUTPUT_SIZE: output_size

Data section consists of the sequence of lines started with IN: and OUT: with input and output data:
IN: input data: numbers delimited by spaces
OUT: output data

Example of test cases bundle file (mul_test.tsc from repository):

# -------------- #
# Header section #
# -------------- #
FILENAME: Multiplication testing
INPUT_SIZE: 3
OUTPUT_SIZE: 1
# -------------- #
# Data section   #
# -------------- #
IN: 1.2101291224775357 0.1300193249910636 0.40962481587293154
OUT: 0.06445043884423274
IN: 0.5586691710317204 0.0012313667897823734 0.9363335691065393
OUT: 0.0006441288282905215
IN: 0.22684023447793356 0.12904555918905702 0.8127543590214227
OUT: 0.023791534766796327
IN: 1.9749415186173676 0.08647278768462402 0.2661052817184659
OUT: 0.04544511371016935
IN: 3.026591258772662 0.16293855129032725 0.727566977073228
OUT: 0.3587984870367782
IN: 4.649840625443614 0.13565296089757206 0.006787743730139462
OUT: 0.00428146878834303
IN: 2.654945486497953 0.19625742258805157 0.45451645221018766
OUT: 0.2368270511131527
IN: 2.605463840391788 0.07660028507677608 0.4053956433986937
OUT: 0.08090856775900465
...

Clone this wiki locally