PySMILE released

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

PySMILE released

Post by shooltz[BayesFusion] »

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 »

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: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: PySMILE released

Post by shooltz[BayesFusion] »

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