<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251806</link>
    <title>MATLAB Central Newsreader - How to generate randomized weights for network topology?</title>
    <description>Feed for thread: How to generate randomized weights for network topology?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 20 May 2009 14:00:20 -0400</pubDate>
      <title>How to generate randomized weights for network topology?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251806#651186</link>
      <author>Marat </author>
      <description>Hi all!&lt;br&gt;
I need some help in generating values based on co-ordinates. The values are meant as weights for network. For e.g. for nodes 1-&amp;gt;7 it is 23, then for 7-&amp;gt;1 should also be 23. Similarly for a topology of size 20, I want to generate the weights for several nodes. Of course, some of the links can have 0s. Is this possible in matlab? Can someone please point out?&lt;br&gt;
&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Thu, 21 May 2009 08:15:51 -0400</pubDate>
      <title>Re: How to generate randomized weights for network topology?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251806#651367</link>
      <author>Greg Heath</author>
      <description>On May 20, 10:00&#160;am, &quot;Marat &quot; &amp;lt;nemesis_...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hi all!&lt;br&gt;
&amp;gt; I need some help in generating values based on co-ordinates. The values a=&lt;br&gt;
re meant as weights for network. For e.g. for nodes 1-&amp;gt;7 it is 23, then for=&lt;br&gt;
&amp;nbsp;7-&amp;gt;1 should also be 23. Similarly for a topology of size 20,&lt;br&gt;
&lt;br&gt;
I dom't understand what you mean. Your &quot;example&quot; makes no sense to me.&lt;br&gt;
&lt;br&gt;
&amp;gt;I want to generate the weights for several nodes. Of course, some of the l=&lt;br&gt;
inks &amp;gt; can have 0s. Is this possible in matlab? Can someone please point ou=&lt;br&gt;
t?&lt;br&gt;
&lt;br&gt;
Which neural networks? Some (e.g., NEWFF) generate their own random&lt;br&gt;
initial weights.&lt;br&gt;
&lt;br&gt;
Need more info.&lt;br&gt;
&lt;br&gt;
Greg</description>
    </item>
    <item>
      <pubDate>Thu, 21 May 2009 08:17:02 -0400</pubDate>
      <title>Re: How to generate randomized weights for network topology?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251806#651368</link>
      <author>Greg Heath</author>
      <description>On May 20, 10:00&#160;am, &quot;Marat &quot; &amp;lt;nemesis_...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hi all!&lt;br&gt;
&amp;gt; I need some help in generating values based on co-ordinates. The values a=&lt;br&gt;
re meant as weights for network. For e.g. for nodes 1-&amp;gt;7 it is 23, then for=&lt;br&gt;
&amp;nbsp;7-&amp;gt;1 should also be 23. Similarly for a topology of size 20, I want to gen=&lt;br&gt;
erate the weights for several nodes. Of course, some of the links can have =&lt;br&gt;
0s. Is this possible in matlab? Can someone please point out?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&lt;br&gt;
doc init&lt;br&gt;
help init&lt;br&gt;
&lt;br&gt;
Hope this helps.&lt;br&gt;
&lt;br&gt;
Greg</description>
    </item>
    <item>
      <pubDate>Fri, 22 May 2009 02:48:01 -0400</pubDate>
      <title>Re: How to generate randomized weights for network topology?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251806#651572</link>
      <author>Marat </author>
      <description>My apologies for not being clear. I have a network topology of 3 nodes, and I need to have weights for the links between nodes thats is of this pattern:&lt;br&gt;
&lt;br&gt;
0   10   4&lt;br&gt;
10  0   10&lt;br&gt;
4   10   0  &lt;br&gt;
&lt;br&gt;
This represents the weights between nodes, say between nodes 1 and 2 is 20, and since it is bi-directional  the weights between nodes 2 and 1 is also 20. I need help in generating such weights for larger number of nodes.&lt;br&gt;
&lt;br&gt;
Thanks you for your time.</description>
    </item>
    <item>
      <pubDate>Fri, 22 May 2009 10:23:39 -0400</pubDate>
      <title>Re: How to generate randomized weights for network topology?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251806#651633</link>
      <author>Greg Heath</author>
      <description>On May 21, 10:48&#160;pm, &quot;Marat &quot; &amp;lt;nemesis_...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; My apologies for not being clear. I have a network topology of 3 nodes, and I need to have weights for the links between nodes thats is of this pattern:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 0 &#160; 10 &#160; 4&lt;br&gt;
&amp;gt; 10 &#160;0 &#160; 10&lt;br&gt;
&amp;gt; 4 &#160; 10 &#160; 0 &#160;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; This represents the weights between nodes, say between nodes 1 and 2 is 20, and since it is bi-directional &#160;the weights between nodes 2 and 1 is also 20. I need help in generating such weights for larger number of nodes.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks you for your time.&lt;br&gt;
&lt;br&gt;
You are still not clear.&lt;br&gt;
&lt;br&gt;
What type of net do you have?&lt;br&gt;
&lt;br&gt;
For example, an I-H-O FF MLP can be created using&lt;br&gt;
net = newff(p,t,H);&lt;br&gt;
Modifiable weights are contained in net.IW,net.LW and net.b.&lt;br&gt;
&lt;br&gt;
Still need more info.&lt;br&gt;
&lt;br&gt;
Greg</description>
    </item>
    <item>
      <pubDate>Fri, 22 May 2009 12:48:02 -0400</pubDate>
      <title>Re: How to generate randomized weights for network topology?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251806#651653</link>
      <author>Marat </author>
      <description>It is a static network obtained using a separate program, not matlab. The computer network topology is already present. It does not denote neural networks or any other similar types. &lt;br&gt;
&lt;br&gt;
I am just looking for a way to generate the weights representing Quality of service values.&lt;br&gt;
&lt;br&gt;
Thanks again.</description>
    </item>
    <item>
      <pubDate>Fri, 22 May 2009 14:32:01 -0400</pubDate>
      <title>Re: How to generate randomized weights for network topology?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251806#651674</link>
      <author>Alan B</author>
      <description>&quot;Marat &quot; &amp;lt;nemesis_810@yahoo.com&amp;gt; wrote in message &amp;lt;gv66u2$q8r$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; It is a static network obtained using a separate program, not matlab. The computer network topology is already present. It does not denote neural networks or any other similar types. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am just looking for a way to generate the weights representing Quality of service values.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks again.&lt;br&gt;
&lt;br&gt;
If I understand correctly, you can do this:&lt;br&gt;
&lt;br&gt;
a = floor(rand(3)*10)&lt;br&gt;
a = triu(a) + triu(a,1)'</description>
    </item>
  </channel>
</rss>

