<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ExternalModelParameters</title><link>https://sourceforge.net/p/deepmethod/wiki/ExternalModelParameters/</link><description>Recent changes to ExternalModelParameters</description><atom:link href="https://sourceforge.net/p/deepmethod/wiki/ExternalModelParameters/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 03 Feb 2021 06:28:02 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/deepmethod/wiki/ExternalModelParameters/feed" rel="self" type="application/rss+xml"/><item><title>ExternalModelParameters modified by KKozlov</title><link>https://sourceforge.net/p/deepmethod/wiki/ExternalModelParameters/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -55,7 +55,7 @@

 ###  parmtypes=1; 0; 0;

- * type of parameters: 1 - integer values to be produced by rounding, 2 - integer values to be produced by sorting, 0 - real values; 4 - integer values to be produced by special rounding. Methods a re described in [ConvertDoubleToInt]
+ * type of parameters: 1 - integer values to be produced by rounding, 2 - integer values to be produced by sorting, 0 - real values; 4 - integer values to be produced by special rounding. Methods are described in [ConvertDoubleToInt]

 ###  maskvals=0; 0; 0; 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KKozlov</dc:creator><pubDate>Wed, 03 Feb 2021 06:28:02 -0000</pubDate><guid>https://sourceforge.nete8d7af9afd7bdfe4e809bced0758791774d63e0f</guid></item><item><title>ExternalModelParameters modified by KKozlov</title><link>https://sourceforge.net/p/deepmethod/wiki/ExternalModelParameters/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -55,7 +55,7 @@

 ###  parmtypes=1; 0; 0;

- * type of parameters: 1 - integer as rounding, 2 - integer as sorting, 0 - real
+ * type of parameters: 1 - integer values to be produced by rounding, 2 - integer values to be produced by sorting, 0 - real values; 4 - integer values to be produced by special rounding. Methods a re described in [ConvertDoubleToInt]

 ###  maskvals=0; 0; 0; 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KKozlov</dc:creator><pubDate>Wed, 03 Feb 2021 06:27:16 -0000</pubDate><guid>https://sourceforge.netd9cece65ff53be7d284da8cbd0c5da2e3970efed</guid></item><item><title>ExternalModelParameters modified by KKozlov</title><link>https://sourceforge.net/p/deepmethod/wiki/ExternalModelParameters/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -37,7 +37,53 @@
 ### hbound | valhbound

   * **hbound=0;0;...;0;** is the upper bound for each parameter individually. 
-  * **valhbound=0** is the upper bound for all parameters. 
+  * **valhbound=0** is the upper bound for all parameters.
+
+Another form of definition:
+
+###  partnames=x;beta;MB;
+
+ * names of groups of parameters
+
+###  partsizes=60; 55; 1;
+
+ * number of parameters in each group
+
+###  parmvals=200; 5; 5;
+
+ * initial values for each group
+
+###  parmtypes=1; 0; 0;
+
+ * type of parameters: 1 - integer as rounding, 2 - integer as sorting, 0 - real
+
+###  maskvals=0; 0; 0; 
+
+  * values for masks
+
+###  tweakvals=1; 1; 1; 
+
+ * define if the value can be changed. 
+
+###  dparmvals=200; 5.5; 5;
+
+ * initial values for each group
+
+###  lboundvals=0; -10; 0.01;
+
+ * lower bound for each group
+
+###  hboundvals=1924; 10; 9;
+
+ * upper bound for each group
+
+###  limitvals=1; 1; 1;
+
+ * defines if parameters are limited
+
+###  scalevals=1; 1; 1;
+
+ * scale factor for aparameters

 ### command

@@ -48,10 +94,14 @@
 Defines the parameter's file format. The following formats are supported: 

   * **convert=sdf** for molecules. 
-  * **convert=gemstat** for gemstat program. 
-  * **convert=subset**
-  * **convert=subsubset**
-  * **convert=octave**
+  * **convert=gemstat** for gemstat program: one line in a file, starting with parameter name, parameters are delimited by space
+  * **convert=dgemstat** two lines in a file, starting with parameter name, parameters are delimited by space
+  * **convert=subset** for integer indices
+  * **convert=subsubset** for subset of integer indices
+  * **convert=octave** to use in Octave with source command
+  * **convert=r** to use in R with source command
+  * **convert=ini** ini format to use with Qt framework
+  * if this option is not given parameters are printed to the command line 

 ### delimiters

@@ -65,17 +115,23 @@

   * defines the reordering of keys 

+Example:
+    
     [default_model]
-    parts=hb;2;Kr;2;gt;2;kni;2;bcd;2;cad;2;tll;2;basal_transcription =;1;hb hb;1;Kr Kr;1;gt gt;1;kni kni;1;bcd bcd;1;cad cad;1;tll tll;1;
-    mask=1;0;0;0;0;0;0;0;0;0;0;0;0;0;1;1;0;0;0;0;0;0;
-    parms=0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;
-    dparms=0.964910;1.011700;1.056578;1.099454;0.154759;1.699184;1.699184;1.699184;1.699184;1.699184;1.699184;1.699184;1.699184;1.699184;1.257495;0.705276;1.858218;0.566396;1.420308;0.660813;0.356575;0.014055;
-    tweak=1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;
-    lbound=0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.0001;
-    hbound=100;100;100;100;100;100;100;100;100;100;100;100;100;100;500;500;500;500;500;500;500;0.1;
-    command=./script
-    convert=gemstat
-    delimiters= ,\n\t\s
-    keys=23;
-    mapping=0;
-    
+    partnames=x;beta;MB;
+    partsizes=60; 55; 1;
+    parmvals=200; 5; 5; 
+    parmtypes=1; 0; 0;
+    maskvals=0; 0; 0;
+    tweakvals=1; 1; 1;
+    dparmvals=200; 5.5; 5; 
+    lboundvals=0; -10; 0.01;
+    hboundvals=1924; 10; 9; 
+    limitvals=1; 1; 1;
+    scalevals=1; 1; 1;
+    command=script 
+    delimiters=\n=
+    keys=0;1;2;
+    convert=ini
+    mapping=0;0;1;2;
+    type=command
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KKozlov</dc:creator><pubDate>Wed, 21 Oct 2020 10:27:27 -0000</pubDate><guid>https://sourceforge.netef6c1c7b092a5a620ce79ee53ea7697b2d8a54fd</guid></item><item><title>ExternalModelParameters modified by KKozlov</title><link>https://sourceforge.net/p/deepmethod/wiki/ExternalModelParameters/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="" href="../ExternalModelParameters?action=diff&amp;amp;version=9"&gt;Last modified&lt;/a&gt; &lt;a class="" href="/trac/DEEP/timeline?from=2015-01-15T13%3A04%3A06%2B04%3A00&amp;amp;precision=second"&gt;4 weeks&lt;/a&gt; ago&lt;/p&gt;
&lt;h2 id="parameters-for-external-model"&gt;Parameters for External Model&lt;/h2&gt;
&lt;p&gt;Section xmmodel defines external model. No consistency checks are performed for parameters. The order of parameters should be as below. &lt;/p&gt;
&lt;h3 id="parts"&gt;parts&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;is the list of headers in par file with the number of parameters in each line &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mask-nummask"&gt;mask | nummask&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;mask=1;0;...;0;&lt;/strong&gt; is an array of 0 and 1 of the length that is the number of parameters (not used). &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;nummask=31&lt;/strong&gt; specifies the number of 1 in the array. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="parms-numparms"&gt;parms | numparms&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;parms=2;3;1;...;5;&lt;/strong&gt; are the values of the parameters as integers (not used). &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;numparms=40&lt;/strong&gt; number of parameters. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="dparms-numdparms"&gt;dparms | numdparms&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;dparms=0.1;0.2;...;0.9&lt;/strong&gt; are the values of parameters as doubles (in case of convert=gemstat in par file in the left-to-right up-to-bottom order). &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;numdparms=40&lt;/strong&gt; number of parameters. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="tweak-numtweak-valnottweak"&gt;tweak | numtweak | valnottweak&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;tweak=1;0;1;...;1;&lt;/strong&gt; define if the value can be changed. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;numtweak=16&lt;/strong&gt; number of parameters to tweak. 1 will be inserted in first &lt;em&gt;numtweak&lt;/em&gt; places, all others will be set to 0. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;valnottweak=1;34;15;&lt;/strong&gt; is the list of indices to be set to 0, all others will be set to 1; &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="lbound-vallbound"&gt;lbound | vallbound&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;lbound=0;0;...;0;&lt;/strong&gt; is the lower bound for each parameter individually. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;vallbound=0&lt;/strong&gt; is the lower bound for all parameters. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="hbound-valhbound"&gt;hbound | valhbound&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;hbound=0;0;...;0;&lt;/strong&gt; is the upper bound for each parameter individually. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;valhbound=0&lt;/strong&gt; is the upper bound for all parameters. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="command"&gt;command&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;is run to get the score. The par file is simply appended to this string. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="convert"&gt;convert&lt;/h3&gt;
&lt;p&gt;Defines the parameter's file format. The following formats are supported: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;convert=sdf&lt;/strong&gt; for molecules. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;convert=gemstat&lt;/strong&gt; for gemstat program. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;convert=subset&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;convert=subsubset&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;convert=octave&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="delimiters"&gt;delimiters&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;are used to parse the output of the command &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="keys"&gt;keys&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;defines the indices of the elements of the parsed output that we need &lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mapping"&gt;mapping&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;defines the reordering of keys &lt;/p&gt;
&lt;p&gt;&lt;span&gt;[default_model]&lt;/span&gt;&lt;br /&gt;
parts=hb;2;Kr;2;gt;2;kni;2;bcd;2;cad;2;tll;2;basal_transcription =;1;hb hb;1;Kr Kr;1;gt gt;1;kni kni;1;bcd bcd;1;cad cad;1;tll tll;1;&lt;br /&gt;
mask=1;0;0;0;0;0;0;0;0;0;0;0;0;0;1;1;0;0;0;0;0;0;&lt;br /&gt;
parms=0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;&lt;br /&gt;
dparms=0.964910;1.011700;1.056578;1.099454;0.154759;1.699184;1.699184;1.699184;1.699184;1.699184;1.699184;1.699184;1.699184;1.699184;1.257495;0.705276;1.858218;0.566396;1.420308;0.660813;0.356575;0.014055;&lt;br /&gt;
tweak=1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;&lt;br /&gt;
lbound=0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.01;0.0001;&lt;br /&gt;
hbound=100;100;100;100;100;100;100;100;100;100;100;100;100;100;500;500;500;500;500;500;500;0.1;&lt;br /&gt;
command=./script&lt;br /&gt;
convert=gemstat&lt;br /&gt;
delimiters= ,\n\t\s&lt;br /&gt;
keys=23;&lt;br /&gt;
mapping=0;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KKozlov</dc:creator><pubDate>Wed, 11 Feb 2015 12:39:36 -0000</pubDate><guid>https://sourceforge.net1b6170caf11ead3fdf5f340ad59ed585ebcc9043</guid></item></channel></rss>