PySMILE released

The engine.
Post Reply
shooltz[BayesFusion]
Site Admin
Posts: 1241
Joined: Mon Nov 26, 2007 5:51 pm

PySMILE released

Post by shooltz[BayesFusion] » Fri Mar 02, 2018 6:49 pm

We have released PySMILE - Python 2.x wrapper for SMILE. It's available at our download site.

dvrebos
Posts: 6
Joined: Thu Jun 08, 2017 10:24 am

Re: PySMILE released

Post by dvrebos » Tue Mar 06, 2018 12:26 pm

Thanks for the package. Is there allready any documentation available?

It's not clear to me how te create an empty network instance with pysmile to which I can apply network.read_file.

shooltz[BayesFusion]
Site Admin
Posts: 1241
Joined: Mon Nov 26, 2007 5:51 pm

Re: PySMILE released

Post by shooltz[BayesFusion] » Tue Mar 06, 2018 2:08 pm

You can create the empty network instance with pysmile.network(). Here's the example Python 2.x code:

Code: Select all

import pysmile

# use your license instead of the placeholder in the line below this one
pysmile.license((
	"SMILE LICENSE .... "
	"Issued by BayesFusion activation server"
	),[
	0xab,0xcd,0xef,...])

net = pysmile.network()
net.read_file("Hepar.xdsl")
net.get_all_node_ids()

Post Reply