<commit_before><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
	content="An intuitive and user friendly user interface for building, training and deploying Artificial Neural Networks.">
<meta name="keywords" content="Dianne, IoT, Internet of Things">
<meta name="author" content="<NAME> and <NAME>">
<title>Dianne Neural Network Builder</title>

<!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<!-- Styles -->
<link rel="stylesheet" href="css/jquery.mCustomScrollbar.min.css">
<link rel="stylesheet" href="css/dianne.css">
<!-- icon -->
<link rel="icon" type="image/png" href="images/icon.png">

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script src="js/html5shiv.min.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
	<!-- Spinner -->
	<div id="spinnerwrap">
		<div class="spinner"></div>
	</div>
	
	<div class="site-wrapper">

		<header class="navbar-fixed-top custom-navbar">
	
		
			<a href="#"><img class="logo" src="images/dianne.png" title="Go to the dashboard" onclick="redirect()"/></a>
			<div class="inner">
				<nav class='controls'>
	                <ul id="save-load" class="nav save-load-nav control-group">
						<li><a href="#" id="menu-load" onclick="showLoadDialog();return false;">Load</a></li>
						<li><a href="#" id="menu-save" onclick="showSaveDialog();return false;">Save</a></li>
						<li><a href="#" id="menu-recover" onclick="showRecoverDialog();return false;">Recover</a></li>
	                </ul>
                </nav>
				
				<nav class='controls'>
					<ul id="actions" class="nav masthead-nav control-group">
						<li><a href="#" id="menu-build" class="active" onclick="setModus('build');return false;">Build</a></li>
						<li><a href="#" id="menu-deploy" onclick="setModus('deploy');return false;">Deploy</a></li>
						<li><a href="#" id="menu-learn" onclick="setModus('learn');return false;">Learn</a></li>
						<li><a href="#" id="menu-run" onclick="setModus('run');return false;">Run</a></li>
					</ul>
				</nav>
			</div>
		</header>

		<div class="container-fluid">
			<div id="builder" class="row">
				<div id="toolbox" class="col-xs-4 col-md-2"></div>
				<div id="canvas" class="col-xs-8 col-md-10">
					<div id="alerts">
					</div>
				</div>
			</div>
		</div>

		<footer class="navbar-fixed-bottom custom-footer">
			<img class="footer-image" src="images/iminds.png" />
			<div class="inner">
				<p>Copyright &copy; 2015-2016 iMinds - IBCN - UGent</p>
			</div>
		</footer>
	</div>

	<!-- Templates -->
	<script type="x-tmpl-mustache" id="module">
	<div class="module" type="{{type}}" category="{{category}}" mode="{{mode}}" name="{{name}}">
		<strong>{{name}}</strong>
	</div>
	</script>

	<script type="x-tmpl-mustache" id="dialog">
	<div class="modal fade module-modal {{type}}" id="dialog-{{id}}" tabindex="-1" role="dialog">
		<div class="modal-dialog module-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">
						<span>&#215;</span>
					</button>
					<h4 class="modal-title">{{title}}</h4>
				</div>
				<div class="modal-body">
					<div class="content"></div>
					<br/>
					<form role="form" class="form-horizontal">
						<input class="module-id" type="hidden" name="id" value="{{id}}"/>
						<div class="form-items"></div>
					</form>
				</div>
				<div class="modal-footer">
					<button class="cancel btn btn-danger pull-left">{{cancel}}</button>
					<button class="submit btn btn-primary">{{submit}}</button>
				</div>
			</div>
		</div>
	</div>
	</script>

	<script type="x-tmpl-mustache" id="form-item">
	<div class="form-group">
		<label class="col-sm-3 control-label">{{name}}</label>
		<div class="col-sm-7">
			<input type="text" class="form-control" name="{{id}}" value="{{value}}" />
		</div>
	</div>
	</script>
	
	<script type="x-tmpl-mustache" id="form-dropdown">
	<div class="form-group">
		<label class="col-sm-3 control-label">{{name}}</label>
		<div class="col-sm-7">
			<select class="form-control options">
			</select>
		</div>
	</div>
	</script>
	
	<script type="x-tmpl-mustache" id="form-checkbox">
	<div class="form-group">
		<div class="col-sm-6 checkbox">
        <label>
          <input type="checkbox" class="{{id}}" {{checked}}>{{name}}
        </label>
    </div>
	</script>
	
	<script type="x-tmpl-mustache" id="dataset-learn">
		<div class="row">
			<div class="col-sm-3">
				<div class="slider" style="height:200px;width:80px"></div>
			</div>		
			<div class="col-sm-9">
				<form role="form" class="form-horizontal">
					<input class="module-id" type="hidden" name="id" value="{{id}}"/>
					<div class="form-group">
						<label class="col-sm-4 control-label">Dataset:</label>
						<div class="col-sm-4">
							<p class="form-control-static" id="dataset" name="dataset">{{dataset}}</p>
						</div>
					</div>
					<br/>
					<div class="form-group">
						<label class="col-sm-4 control-label">Train set:</label>
						<div class="col-sm-4">
							<p class="form-control-static" id="train" name="train">{{train}}</p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Test set:</label>
						<div class="col-sm-4">
							<p class="form-control-static" id="test" name="test">{{test}}</p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Validation set:</label>
						<div class="col-sm-4">
							<p class="form-control-static" id="validation" name="validation">{{validation}}</p>
						</div>
					</div>
					<br/>
				</form>
			</div>
		</div>
	</script>

	<script type="x-tmpl-mustache" id="form-train">
	<div class="trainer-options">
		<div class="form-group">
			<label class="col-sm-3 control-label">Method:</label>
			<div class="col-sm-7">
				<select class="form-control options" id="method" name="method">
					<option value="SGD">Stochastic Gradient Descent</option>
					<option value="Adadelta">Adadelta</option>
					<option value="Adagrad">Adagrad</option>
					<option value="RMSprop">RMSprop</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">Loss:</label>
			<div class="col-sm-7">
				<select class="form-control options" id="loss" name="loss">
					<option value="MSE">Mean Squared Error</option>
					<option value="NLL">Negative Log Likelihood</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">Learning rate:</label>
			<div class="col-sm-7">
				<input type="text" class="form-control" id="learningRate" name="learningRate" value="{{learningRate}}" />
			</div>
		</div><commit_msg>fix GD method selection in builder<commit_after><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
	content="An intuitive and user friendly user interface for building, training and deploying Artificial Neural Networks.">
<meta name="keywords" content="Dianne, IoT, Internet of Things">
<meta name="author" content="<NAME> and <NAME>">
<title>Dianne Neural Network Builder</title>

<!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<!-- Styles -->
<link rel="stylesheet" href="css/jquery.mCustomScrollbar.min.css">
<link rel="stylesheet" href="css/dianne.css">
<!-- icon -->
<link rel="icon" type="image/png" href="images/icon.png">

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script src="js/html5shiv.min.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
	<!-- Spinner -->
	<div id="spinnerwrap">
		<div class="spinner"></div>
	</div>
	
	<div class="site-wrapper">

		<header class="navbar-fixed-top custom-navbar">
	
		
			<a href="#"><img class="logo" src="images/dianne.png" title="Go to the dashboard" onclick="redirect()"/></a>
			<div class="inner">
				<nav class='controls'>
	                <ul id="save-load" class="nav save-load-nav control-group">
						<li><a href="#" id="menu-load" onclick="showLoadDialog();return false;">Load</a></li>
						<li><a href="#" id="menu-save" onclick="showSaveDialog();return false;">Save</a></li>
						<li><a href="#" id="menu-recover" onclick="showRecoverDialog();return false;">Recover</a></li>
	                </ul>
                </nav>
				
				<nav class='controls'>
					<ul id="actions" class="nav masthead-nav control-group">
						<li><a href="#" id="menu-build" class="active" onclick="setModus('build');return false;">Build</a></li>
						<li><a href="#" id="menu-deploy" onclick="setModus('deploy');return false;">Deploy</a></li>
						<li><a href="#" id="menu-learn" onclick="setModus('learn');return false;">Learn</a></li>
						<li><a href="#" id="menu-run" onclick="setModus('run');return false;">Run</a></li>
					</ul>
				</nav>
			</div>
		</header>

		<div class="container-fluid">
			<div id="builder" class="row">
				<div id="toolbox" class="col-xs-4 col-md-2"></div>
				<div id="canvas" class="col-xs-8 col-md-10">
					<div id="alerts">
					</div>
				</div>
			</div>
		</div>

		<footer class="navbar-fixed-bottom custom-footer">
			<img class="footer-image" src="images/iminds.png" />
			<div class="inner">
				<p>Copyright &copy; 2015-2016 iMinds - IBCN - UGent</p>
			</div>
		</footer>
	</div>

	<!-- Templates -->
	<script type="x-tmpl-mustache" id="module">
	<div class="module" type="{{type}}" category="{{category}}" mode="{{mode}}" name="{{name}}">
		<strong>{{name}}</strong>
	</div>
	</script>

	<script type="x-tmpl-mustache" id="dialog">
	<div class="modal fade module-modal {{type}}" id="dialog-{{id}}" tabindex="-1" role="dialog">
		<div class="modal-dialog module-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">
						<span>&#215;</span>
					</button>
					<h4 class="modal-title">{{title}}</h4>
				</div>
				<div class="modal-body">
					<div class="content"></div>
					<br/>
					<form role="form" class="form-horizontal">
						<input class="module-id" type="hidden" name="id" value="{{id}}"/>
						<div class="form-items"></div>
					</form>
				</div>
				<div class="modal-footer">
					<button class="cancel btn btn-danger pull-left">{{cancel}}</button>
					<button class="submit btn btn-primary">{{submit}}</button>
				</div>
			</div>
		</div>
	</div>
	</script>

	<script type="x-tmpl-mustache" id="form-item">
	<div class="form-group">
		<label class="col-sm-3 control-label">{{name}}</label>
		<div class="col-sm-7">
			<input type="text" class="form-control" name="{{id}}" value="{{value}}" />
		</div>
	</div>
	</script>
	
	<script type="x-tmpl-mustache" id="form-dropdown">
	<div class="form-group">
		<label class="col-sm-3 control-label">{{name}}</label>
		<div class="col-sm-7">
			<select class="form-control options">
			</select>
		</div>
	</div>
	</script>
	
	<script type="x-tmpl-mustache" id="form-checkbox">
	<div class="form-group">
		<div class="col-sm-6 checkbox">
        <label>
          <input type="checkbox" class="{{id}}" {{checked}}>{{name}}
        </label>
    </div>
	</script>
	
	<script type="x-tmpl-mustache" id="dataset-learn">
		<div class="row">
			<div class="col-sm-3">
				<div class="slider" style="height:200px;width:80px"></div>
			</div>		
			<div class="col-sm-9">
				<form role="form" class="form-horizontal">
					<input class="module-id" type="hidden" name="id" value="{{id}}"/>
					<div class="form-group">
						<label class="col-sm-4 control-label">Dataset:</label>
						<div class="col-sm-4">
							<p class="form-control-static" id="dataset" name="dataset">{{dataset}}</p>
						</div>
					</div>
					<br/>
					<div class="form-group">
						<label class="col-sm-4 control-label">Train set:</label>
						<div class="col-sm-4">
							<p class="form-control-static" id="train" name="train">{{train}}</p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Test set:</label>
						<div class="col-sm-4">
							<p class="form-control-static" id="test" name="test">{{test}}</p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Validation set:</label>
						<div class="col-sm-4">
							<p class="form-control-static" id="validation" name="validation">{{validation}}</p>
						</div>
					</div>
					<br/>
				</form>
			</div>
		</div>
	</script>

	<script type="x-tmpl-mustache" id="form-train">
	<div class="trainer-options">
		<div class="form-group">
			<label class="col-sm-3 control-label">Method:</label>
			<div class="col-sm-7">
				<select class="form-control options" id="method" name="method">
					<option value="SGD">Stochastic Gradient Descent</option>
					<option value="ADADELTA">Adadelta</option>
					<option value="ADAGRAD">Adagrad</option>
					<option value="RMSPROP">RMSprop</option>
					<option value="ADAM">Adam</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">Loss:</label>
			<div class="col-sm-7">
				<select class="form-control options" id="loss" name="loss">
					<option value="MSE">Mean Squared Error</option>
					<option value="NLL">Negative Log Likelihood</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">Learning rate:</label>
			<div class="col-sm-7">
				<input type="text" class="form-control" id="learningRate" name="learningRate" value="{{learningRate}}" />
			</div>
		</div>
{'fraction_non_alphanumeric': 0.22455992706360894, 'fraction_numerical': 0.0072936391051265865, 'mean_word_length': 3.6570868713259306, 'pattern_counts': {'":': 0, '<': 503, '<?xml version=': 0, '>': 503, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4933968', 'n_tokens_mistral': 5872, 'n_tokens_neox': 4880, 'n_words': 996}