Search found 14 matches

by maghnie
Wed Sep 11, 2024 1:01 pm
Forum: SMILE
Topic: Is it possible to display error messages like in GeNIe when learning?
Replies: 1
Views: 37

Is it possible to display error messages like in GeNIe when learning?

For example, when trying to train a network using the PC algorithm on a dataset with both continuous and discrete time series, this is the output that I get in GeNIe: Can't start learning due to problems with data. ## Selected algorithm supports continuous or discrete columns, but they can't be used...
by maghnie
Tue Aug 13, 2024 3:36 pm
Forum: GeNIe
Topic: Automatic network-data matching based on values?
Replies: 1
Views: 905

Automatic network-data matching based on values?

When testing a new data set on a trained network, is it possible to use node states and column values for automatic matching, instead of just labels? In my use case, network nodes and data set columns that correspond to each other have significantly different labels, so the automatic label-based mat...
by maghnie
Tue Aug 13, 2024 3:08 pm
Forum: SMILE
Topic: PySmile: Compatibiltiy with Pylint?
Replies: 4
Views: 2871

Re: PySmile: Compatibiltiy with Pylint?

Will keep an eye out for the package update! Thank you for the explanation :)
by maghnie
Mon Aug 12, 2024 12:16 pm
Forum: SMILE
Topic: PySmile: Compatibiltiy with Pylint?
Replies: 4
Views: 2871

Re: PySmile: Compatibiltiy with Pylint?

Thanks for the prognosis! Since I may not share the actual code, I've tried to recreate the error locally with just 2 files: tutorial1.py and an __init__.py ( pylint_bayesfusion_mwe.zip ). To recreate the error: Create and activate a conda virtual environment with Python 3.12.4 Run: pip install pyli...
by maghnie
Thu Aug 01, 2024 1:00 pm
Forum: SMILE
Topic: PySmile: Compatibiltiy with Pylint?
Replies: 4
Views: 2871

PySmile: Compatibiltiy with Pylint?

As part of my framework's Git CI pipeline, there's a code quality stage that uses Pylint . However, the CI fails with these warnings and error: Problem importing module async.py: No module named '_pysmile' Problem importing module bad_chained_comparison.py: No module named '_pysmile' Problem importi...
by maghnie
Wed Jul 17, 2024 12:18 pm
Forum: SMILE
Topic: Licenses are per person or per device?
Replies: 1
Views: 1441

Licenses are per person or per device?

So far, I've been working on one machine using one license (academic).

Now I'd like to run some experiments on a cluster — would I need another license for that (possibly also per core), or could I reuse the license from my main machine?
by maghnie
Mon Jul 08, 2024 4:38 pm
Forum: SMILE
Topic: Can learning algorithms be parallelized?
Replies: 2
Views: 1853

Re: Can learning algorithms be parallelized?

Thank you for the update!

Reducing data requirements for structure learning also sounds like a great way to support more use cases.

In the meantime, I could experiment with filtering those 35k records into a more compact and representative set.
by maghnie
Mon Jul 08, 2024 9:03 am
Forum: SMILE
Topic: Can learning algorithms be parallelized?
Replies: 2
Views: 1853

Can learning algorithms be parallelized?

Specifically for PySmile, is it possible to parallelize a function call like pysmile.learning.BayesianSearch.learn(...) ? For example, could we tell SMILE somewhere to use a specific number of threads? Or is there a valid way to divide-and-conquer the learning problem before the "...learn()&quo...
by maghnie
Mon Jul 08, 2024 8:36 am
Forum: SMILE
Topic: Calculating the probability of evidence across equation nodes
Replies: 3
Views: 2645

Re: Calculating the probability of evidence across equation nodes

Thanks for the replies and suggestion!

Chance nodes with small bins seems to be working great for now, but I will keep the discretization idea of equation nodes in mind for future reference.
by maghnie
Thu Jun 13, 2024 1:57 pm
Forum: SMILE
Topic: Calculating the probability of evidence across equation nodes
Replies: 3
Views: 2645

Calculating the probability of evidence across equation nodes

(This post is specifically about the Python wrapper of SMILE) Can prob_evidence(...) be called on a network with equation nodes? For reference, prob_evidence() works for me just fine on networks trained with BS (and CPT nodes). However, after creating a network with PC (using the same training data)...
by maghnie
Mon May 27, 2024 4:23 pm
Forum: GeNIe
Topic: Is it possible to specify equation bounds when learning using PC?
Replies: 4
Views: 5333

Re: Is it possible to specify equation bounds when learning using PC?

That would be yet another great feature - thank you!
by maghnie
Thu May 16, 2024 8:18 am
Forum: GeNIe
Topic: Is it possible to specify equation bounds when learning using PC?
Replies: 4
Views: 5333

Re: Is it possible to specify equation bounds when learning using PC?

Thank you for the quick answer!

My bad, I had tried setting the bounds like that last night, but thought I did something wrong when I saw overflow/underflow warning messages. 😅

I see now from this post and the Autodiscretization help page, that this is mostly normal.
by maghnie
Wed May 15, 2024 6:24 pm
Forum: GeNIe
Topic: Is it possible to specify equation bounds when learning using PC?
Replies: 4
Views: 5333

Is it possible to specify equation bounds when learning using PC?

I used PC to learn the structure and parameters of a BN (see attached screenshot). The raw data contained time series of 4 temperature sensors in an air handling unit. Now, I'd like to set evidence in the outdoor air temperature (ODA), which intuitively would be a temperature in Celsius degrees betw...
by maghnie
Wed May 15, 2024 10:28 am
Forum: GeNIe
Topic: Can the parameters of a DBN be learnt from "regular" time series data sets?
Replies: 2
Views: 3658

Can the parameters of a DBN be learnt from "regular" time series data sets?

I'd like to learn the parameters of a DBN from the following data set: "Time","Valve setpoint","Valve actual","Outdoor air temperature" 2023-12-07 06:00:00,38.0,38.0,2.0 2023-12-07 08:00:00,35.5,35.5,3.3 2023-12-07 10:00:00,34.0,34.0,5.6 2023-12-07 12:00:00,33...