Questions tagged [infer.net]

5 questions
1
vote
0 answers

How to deals with infer.net and pythonnet?

I am trying to use infer.net (https://dotnet.github.io/infer/) in Python 3.6. To do that I've installed pythonnet package and I've downloaded the dll file that I need to use infer.net. The imports of files/package, the use of new types are working,…
JandSy
  • 11
  • 2
1
vote
1 answer

How to install Infer.NET to Unity 2018.3

I have a fresh Unity project and following the instructions in Using .NET 4.x in Unity, i've downloaded Microsoft.ML.Probabilistic.Compiler NuGet package from the gallery and copied the DLL to Assets/Plugins. After this Unity outputs an error…
Matti Jokipii
  • 561
  • 1
  • 6
  • 20
0
votes
1 answer

Converting a .NET type (System.Converter) to a Python type with Python.NET

I am trying to write the Python.NET equivalent of this C# code: Util.ArrayInit(motifPositionData[i], j => backgroundDist.Sample()); However, the Util.ArrayInit() method accepts an int and a Converter Delegate --- of which I have no…
Christabella Irwanto
  • 1,161
  • 11
  • 15
0
votes
1 answer

GaussianProductOp.ProductAverageConditional - has quality band Experimental which is less than the recommended quality band (Preview)

I have a quite simple rule and I get already the quality band issue. Can someone explain why this is happening? I have read the docs about Quality bands but I don't understand it. This is the code I wrote that produces the warning: Gaussian…
Visores
  • 4,008
  • 4
  • 18
  • 29
0
votes
1 answer

How to get the value of a Variable in Infer.Net?

I have a double variable defined like this: Variable myValue = 100; Now I want to print the value on the command-line, but I can't find a way how to do it. I tried to just print it, but nothing was printed: Console.WriteLine("Value:…
Visores
  • 4,008
  • 4
  • 18
  • 29