Error when running LDA sample on V2.6 RRS feed

  • Question

  • hello,

    when i run LDA sample on infer.net v 2.6 i get this error - can you provide some pointers ?


    {"MessageTransform failed with 1 error(s) and 0 warning(s):\r\nError 0: This model is not supported with VariationalMessagePassing due to Gate.CasesInt(bool[] casesInt, int i, int count). Try using a different algorithm or expressing the model differently in\r\nGate.CasesInt(topic_selector_uses[0], 5)\r\nDetails: System.MissingMethodException: iAverageLogarithm not found in IntCasesOp using parameter types: [casesInt] DistributionStructArray<Bernoulli, bool>,[to_casesInt] DistributionStructArray<Bernoulli, bool>,[i] Discrete,[to_i] Discrete,[count] int,[result] Discrete\r\n"}

    Wednesday, December 10, 2014 12:13 PM

All replies

  • This works fine for me in Visual Studio 2013 on Windows 8.1.  Can you tell us what environment you are using?
    Wednesday, December 10, 2014 1:47 PM
  • fixed the issue  - this is due to Turkish Locale I to ı problem  - adding these two lines fixed the problem

     System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
                System.Threading.Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.InvariantCulture;


    Wednesday, December 10, 2014 2:07 PM