Author Topic: cross-validation  (Read 20758 times)

Offline znjsdu

  • Newbie
  • *
  • Posts: 14
    • View Profile
cross-validation
« on: March 22, 2011, 13:17:28 »
when i perform cross-validation, An error occurred.The error is "Inconsistency detected.Data contains one or more cases which are "impossible".Eg.A node is observed to be in a state that has zero probability."why did it happen.how can i do with it?
thank you in advance!

Offline Anders L Madsen

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 2295
    • View Profile
Re: cross-validation
« Reply #1 on: March 22, 2011, 22:21:09 »
The evidence in one of the cases has zero probability. It is "impossible" under the model you are using. The analysis wizard in version 7.0 does not support such cases.

If you have constructed your model from data using EM learning, the you can ensure a non-zero probability of all cases using experience counts as described here:
http://forum.hugin.com/index.php?topic=18.0
HUGIN EXPERT A/S

Offline znjsdu

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: cross-validation
« Reply #2 on: April 02, 2011, 09:52:27 »
Thank you very much!
I want to use k-fold cross validation to estimate the quality of the model.how i  can do with with
Hugin 7.0.I can't find this function with Hugin7.0.

Offline Anders L Madsen

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 2295
    • View Profile
Re: cross-validation
« Reply #3 on: April 02, 2011, 09:58:11 »
cross validation is not yet in the HUGIN tool (and not in 7.0).

A cross validation function is included in Patterns & Predictions.

Update: Patterns & Predictions has reached end of life: http://forum.hugin.com/index.php?topic=268.0
« Last Edit: September 05, 2012, 11:07:53 by Anders L Madsen »
HUGIN EXPERT A/S

Offline MarcoGV

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: cross-validation
« Reply #4 on: April 21, 2022, 16:59:44 »
Are there any updates on the possibility of a cross-validation tool in Hugin?  I would find it very useful to complement the existing classifier performance tool.