Author Topic: How to classify data  (Read 4998 times)

Offline Ivana Cace

  • Newbie
  • *
  • Posts: 3
    • View Profile
How to classify data
« on: January 30, 2015, 23:25:43 »
I have a Bayesian Network, and i have loaded a data-file. But i cannot find how to classify the data, that is, how to assign a joint probability to each data-point (row) according to the BN.

I am probably missing something obvious.  ???
In the data-window menu i can choose: model > select a run mode model
But when i select my BN nothing happens.





Offline Martin

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 613
    • View Profile
Re: How to classify data
« Reply #1 on: February 02, 2015, 11:28:49 »
Dear Ivana Cace

You need to perform a number of steps to pre-compute probabilities before doing classification.

1) load the network (and switch to run-mode).
2) load data
3) select your network as the 'run mode model'
4) add colum(s) for collecting beliefs
5) process entire data file in batch - this yields numbers in the colums configured in step 4.
6) start the classification

for step 1-4 follow the description in the 'Data Frame' manual page
http://download.hugin.com/webdocs/manuals/Htmlhelp/descr_dataframe.html

and lastly follow the steps described in the 'Data classifier performance' manual page
http://download.hugin.com/webdocs/manuals/Htmlhelp/descr_data_classifier_performance.html


I hope this helps
Martin
Hugin Expert A/S

Offline Ivana Cace

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How to classify data
« Reply #2 on: February 04, 2015, 17:32:08 »
Thank you very much!

As it turns out <ctrl> click (OSX 10.9.5) does not work, but when i connected a two-button mouse i had access to the row and column header menu's.

And now i have two more questions  ;D
1) Is it possible to get something like a multivariate z score (Mahalanobis distance) instead of P(e)? I have a Gaussian network.

2) Is it permitted to use hugin-lite in a scientific publication?

(None of the above really belongs in the GUI section, but this is where the conversation is now. )

Thanks in advance,

Ivana

Offline Martin

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 613
    • View Profile
Re: How to classify data
« Reply #3 on: February 06, 2015, 12:00:19 »
Regarding
Quote
1) Is it possible to get something like a multivariate z score (Mahalanobis distance) instead of P(e)?
Sorry, the answer is no.
Hugin Expert A/S

Offline Anne-Mette

  • HUGIN Expert
  • Newbie
  • *****
  • Posts: 1
    • View Profile
Re: How to classify data
« Reply #4 on: February 06, 2015, 12:42:47 »
Hi Ivana,

2) Is it permitted to use hugin-lite in a scientific publication?

In general it is prohibited to use the free Hugin Lite for any other purpose than the demonstration of capabilities and proof of concept. However, we can allow you to use the Hugin Lite demo version in a Scientific publication, if you mention the use of Hugin Lite in return.

Best regards,
Anne-Mette

Offline Ivana Cace

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How to classify data
« Reply #5 on: February 12, 2015, 19:36:14 »
Hi Anne-Mette and Martin,

Thank you both for your answers!
If i manage to do what i planned (depends mosly on the data), i will of course properly reference Hugin Lite.