No announcements

### What is the difference between VariableArray<double> and Variable<Vector>

and their distributions. VariableArray<double> is used to represent a replicated piece of your graphical model and does not specify any explicit dependency ...
| 1 Replies | 2351 Views | Created by AceHack - Sunday, January 15, 2012 8:01 AM | Last reply by John Guiver - Monday, January 16, 2012 1:45 PM

### Difference between Variable.Dirichlet(double[] u) and Variable.Dirichlet(Range valueRange, double[] u)? (Migrated from community.research.microsoft.com)

apple3101 posted on 07-24-2009 3:32 AM hi everyone, What is the difference between  Variable.Dirichlet(double[] u) and ...
| 2 Replies | 1764 Views | Created by Microsoft Research - Friday, June 3, 2011 5:09 PM | Last reply by Microsoft Research - Friday, June 3, 2011 5:09 PM

### Convert VariableArray<double> to Vector ?

- From Vector to VariableArray<double>, you have Variable.ArrayFromVector(..) - From Variable<double[]> ...
| 1 Replies | 665 Views | Created by wittawatj - Sunday, October 19, 2014 9:09 AM | Last reply by Tom Minka - Sunday, October 19, 2014 10:37 AM

### convert Variable<double>[] to Variable<vector>?

Ho to do this: I found that Vector can be formed in this way: Variable<double[]> emi2; emi2 = ...
| 1 Replies | 2439 Views | Created by invisible911 - Monday, July 2, 2012 1:42 PM | Last reply by Tom Minka - Monday, July 2, 2012 4:15 PM

### How to convert Variable<Vector> to VariableArray<double>? (Migrated from community.research.microsoft.com)

Vector> v = Variable.VectorGaussianFromMeanAndPrecision(new Vector(dim
| 3 Replies | 2559 Views | Created by Microsoft Research - Friday, June 3, 2011 6:13 PM | Last reply by Microsoft Research - Friday, June 3, 2011 6:14 PM

### difference between arrays of random variables (of type Variable<T>[]) and random variable arrays (VariableArray<T>())

Hi Can you please explain what is the difference between arrays of random variables (of type Variable<T>[]) and random ...
| 1 Replies | 826 Views | Created by RazinR - Monday, August 11, 2014 2:35 PM | Last reply by Yordan Zaykov - Tuesday, August 12, 2014 10:41 AM

### L2 norm for Variable<vector>

times.  In your case, 'data' would be a Variable<double> instead of a VariableArray<Vector>.
| 3 Replies | 2400 Views | Created by Rajalakshmi Nandakumar - Friday, December 9, 2011 9:42 AM | Last reply by Tom Minka - Friday, December 9, 2011 11:53 AM

### a variable<vector> sum factor

You need to use the Factor method on Variable<Vector> to incorporate your factor into your model as described in the first paragraph of
| 3 Replies | 3147 Views | Created by invisible911 - Friday, July 13, 2012 2:30 PM | Last reply by John Guiver - Friday, July 20, 2012 7:52 AM

### Is it possible to constrain a Variable<double> with a Variable<int>?

When using Variable<int> to specify ranges for VariableArrays, such as for observed data, it can also be useful to use them to constrain other double ...
| 1 Replies | 639 Views | Created by Andrew Mao - Tuesday, January 13, 2015 7:50 PM | Last reply by Tom Minka - Wednesday, January 14, 2015 9:41 AM

### Accessing to VariableArray<double> elements (Migrated from community.research.microsoft.com)

Variable.Array<double>(Z_Range);         Var_X[X_Range] = Variable
| 2 Replies | 1692 Views | Created by Microsoft Research - Friday, June 3, 2011 5:57 PM | Last reply by Microsoft Research - Friday, June 3, 2011 5:57 PM

### How to multiply Variable<Vector> by a scalar

doesn't work.  I haven't figured out how to multiply a variable of Variable<Vector> type by a scalar. Is there a method to do this or do I ...
| 2 Replies | 757 Views | Created by Evelina Gabasova - Thursday, May 15, 2014 4:49 PM | Last reply by Evelina Gabasova - Friday, May 16, 2014 1:45 PM

### initialize a random variableArray with different distributions in different elements

this: VariableArray<double> x = Variable.Array<double>(xRange).Named("x"); x[xRange] = ...
| 2 Replies | 781 Views | Created by Capli19 - Wednesday, October 15, 2014 4:49 PM | Last reply by Capli19 - Wednesday, October 15, 2014 9:06 PM

### SumWhere and Vector of Bool with VMP vs InnerProd and Vector of double with EP

I'm not sure I fully understand the differences between VariableArray and Variable<Vector>. Why doesn't InnerProduct accept two ...
| 11 Replies | 542 Views | Created by cyentist - Friday, September 15, 2017 2:08 PM | Last reply by Tom Minka - Tuesday, September 19, 2017 11:42 AM

### How to get inner product of 2 VariableArray<double>?

of is to convert one of a or b into a vector, and then do inner product? I don't know if it would work correctly as Variable.InnerProduct(VariableArray<double>, ...
| 2 Replies | 644 Views | Created by colinfang - Thursday, October 16, 2014 12:04 PM | Last reply by colinfang - Thursday, October 16, 2014 8:45 PM

### Constraining a VariableArray

the elements individually to zero) is: Variable<double> total = ...
| 1 Replies | 644 Views | Created by MarkG87 - Tuesday, August 26, 2014 9:00 AM | Last reply by Tom Minka - Tuesday, August 26, 2014 9:50 AM

### What is the different between GridPattern and GridItemPattern

Hi All, Could you let me know what is the different between GridPattern and GridItemPattern? what is the different ...
| 2 Replies | 8924 Views | Created by Kaden Kang - Tuesday, September 15, 2009 9:38 AM | Last reply by Kaden Kang - Tuesday, September 15, 2009 10:17 AM

### What's the difference between SEO and PPC

Hello, search in Google for "seo and ppc meaning". You will find a lot of answers. For example:
| 2 Replies | 858 Views | Created by Abubakar khan - Tuesday, April 2, 2019 7:19 AM | Last reply by Dave Patrick - Tuesday, April 2, 2019 12:40 PM

### Whats the difference between QueryByAttribute and QueryExpression ?

Hi, Whats the difference between QueryByAttribute and QueryExpression ? Can you explain breifly ? Thanks, Srikanth ...
| 3 Replies | 6807 Views | Created by Srikanth_MSCRM - Thursday, August 25, 2011 6:38 AM | Last reply by Sanaullah Khan - Friday, August 26, 2011 3:40 AM