No announcements

### Convert VariableArray<double> to Vector ?

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

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

minka replied on 01-14-2011 9:45 AM In version 2.4, there is now a simpler and more efficient way to do this, using Variable.ArrayFromVector.  You can go the other ...
| 3 Replies | 2615 Views | Created by Microsoft Research - Friday, June 3, 2011 6:13 PM | Last reply by Microsoft Research - Friday, June 3, 2011 6:14 PM

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

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 ...
| 2 Replies | 661 Views | Created by colinfang - Thursday, October 16, 2014 12:04 PM | Last reply by colinfang - Thursday, October 16, 2014 8:45 PM

### 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 | 2479 Views | Created by invisible911 - Monday, July 2, 2012 1:42 PM | Last reply by Tom Minka - Monday, July 2, 2012 4:15 PM

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

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

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

Here is a simple way to implement SumWhere for the array case: public static Variable<double> SumWhere(VariableArray<bool> a, ...
| 11 Replies | 604 Views | Created by cyentist - Friday, September 15, 2017 2:08 PM | Last reply by Tom Minka - Tuesday, September 19, 2017 11:42 AM

### convert to double

Hi,I want to convert the idValue to double in javascript  (here new_good_total has a money type )   .What I have to ...
| 2 Replies | 6860 Views | Created by gMary - Wednesday, February 16, 2011 12:26 PM | Last reply by gMary - Wednesday, February 16, 2011 1:50 PM

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

John Guiver replied on 08-05-2010 5:04 AM Hi Amin You cannot write individual elements of a VariableArray. VariableArray is designed to ...
| 2 Replies | 1701 Views | Created by Microsoft Research - Friday, June 3, 2011 5:57 PM | Last reply by Microsoft Research - Friday, June 3, 2011 5:57 PM

### Infer from which of 2 distributions the data was drawn

Infer.Runtime.dll Additional information: Cannot convert distribution type DistributionStructArray<Bernoulli,bool> to type ...
| 2 Replies | 1998 Views | Created by M.Arnold - Friday, October 28, 2011 10:52 AM | Last reply by M.Arnold - Friday, October 28, 2011 2:34 PM

### Constraining a VariableArray

Hello, I'm trying to constrain a VariableArray such that the sum of all the elements equals zero. How can I do this in Infer.net? The code I've tried (which ends ...
| 1 Replies | 656 Views | Created by MarkG87 - Tuesday, August 26, 2014 9:00 AM | Last reply by Tom Minka - Tuesday, August 26, 2014 9:50 AM

### Inference not supported with EP due to MMath.Logistic(double logistic, double x)

)).Named("W"); // bias term is normally distributed. Variable<double> bias = Variable.GaussianFromMeanAndPrecision(0, ...
| 3 Replies | 921 Views | Created by wittawatj - Wednesday, January 21, 2015 8:49 PM | Last reply by wittawatj - Thursday, January 22, 2015 1:57 PM

### vector declaration

is it right to declare a vector like this: vector<string> imageNames[2]; if it's right ... what ...
| 1 Replies | 1274 Views | Created by salmaNegm - Saturday, March 21, 2015 11:29 PM | Last reply by Julie Sheets - Sunday, March 22, 2015 12:06 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 | 3218 Views | Created by invisible911 - Friday, July 13, 2012 2:30 PM | Last reply by John Guiver - Friday, July 20, 2012 7:52 AM

### Vector Images

MSCRM theme. The CRM 4.0 SDK Design guide does help with defining the reflections and lighting, but it would be really nice to get the system icons in vector format for rapid ...
| 2 Replies | 7264 Views | Created by gklas - Friday, April 4, 2008 5:01 PM | Last reply by Imran [MVP-MS CRM] - Monday, April 7, 2008 11:08 AM

### Vector creation problem

about creating the vector from the predicted values as they are a Variable<double>[] array instead of a double[] array that is used in the BPM example. ...
| 8 Replies | 970 Views | Created by MarkG87 - Monday, May 19, 2014 12:30 AM | Last reply by MarkG87 - Monday, May 19, 2014 2:58 PM

### Precision of Vector type (Migrated from community.research.microsoft.com)

sungchul kim posted on 01-11-2011 9:40 PM Hi all, To checked the data set, I recorded data before (double[]) and after changing it into ...
| 1 Replies | 1705 Views | Created by Microsoft Research - Friday, June 3, 2011 6:11 PM | Last reply by Microsoft Research - Friday, June 3, 2011 6:11 PM

### Double to days conversion ?

it displays 0.31 days. please suggest me to convert this value into days  Thanks, C ...
| 4 Replies | 925 Views | Created by C Mahone - Friday, November 8, 2013 3:07 PM | Last reply by John - Project - Friday, November 8, 2013 7:21 PM

### Initializing VariableArray and setting its' priors runtime

Grammarly extension really messed up the post. I try to edit them out but the post gets flagged as spam... what to do?
| 2 Replies | 431 Views | Created by usptact - Friday, August 25, 2017 11:26 PM | Last reply by Tom Minka - Saturday, August 26, 2017 9:25 AM