All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aima.core.probability.example.FullJointDistributionBurglaryAlarmModel Maven / Gradle / Ivy

Go to download

AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.

The newest version!
package aima.core.probability.example;

import aima.core.probability.full.FullJointDistributionModel;

/**
 * 
 * @author Ciaran O'Reilly
 *
 */
public class FullJointDistributionBurglaryAlarmModel extends
		FullJointDistributionModel {

	public FullJointDistributionBurglaryAlarmModel() {
		super(new double[] {
				// B = t, E = t, A = t, J = t, M = t
				0.000001197,
				// B = t, E = t, A = t, J = t, M = f
				0.000000513,
				// B = t, E = t, A = t, J = f, M = t
				0.000000133,
				// B = t, E = t, A = t, J = f, M = f
				0.000000057,
				// B = t, E = t, A = f, J = t, M = t
				0.00000000005,
				// B = t, E = t, A = f, J = t, M = f
				0.00000000495,
				// B = t, E = t, A = f, J = f, M = t
				0.00000000095,
				// B = t, E = t, A = f, J = f, M = f
				0.00000009405,
				// B = t, E = f, A = t, J = t, M = t
				0.0005910156,
				// B = t, E = f, A = t, J = t, M = f
				0.0002532924,
				// B = t, E = f, A = t, J = f, M = t
				0.0000656684,
				// B = t, E = f, A = t, J = f, M = f
				0.0000281436,
				// B = t, E = f, A = f, J = t, M = t
				0.00000002994,
				// B = t, E = f, A = f, J = t, M = f
				0.00000296406,
				// B = t, E = f, A = f, J = f, M = t
				0.00000056886,
				// B = t, E = f, A = f, J = f, M = f
				0.00005631714,
				// B = f, E = t, A = t, J = t, M = t
				0.0003650346,
				// B = f, E = t, A = t, J = t, M = f
				0.0001564434,
				// B = f, E = t, A = t, J = f, M = t
				0.0000405594,
				// B = f, E = t, A = t, J = f, M = f
				0.0000173826,
				// B = f, E = t, A = f, J = t, M = t
				0.00000070929,
				// B = f, E = t, A = f, J = t, M = f
				0.00007021971,
				// B = f, E = t, A = f, J = f, M = t
				0.00001347651,
				// B = f, E = t, A = f, J = f, M = f
				0.00133417449,
				// B = f, E = f, A = t, J = t, M = t
				0.00062811126,
				// B = f, E = f, A = t, J = t, M = f
				0.00026919054,
				// B = f, E = f, A = t, J = f, M = t
				0.00006979014,
				// B = f, E = f, A = t, J = f, M = f
				0.00002991006,
				// B = f, E = f, A = f, J = t, M = t
				0.000498002499,
				// B = f, E = f, A = f, J = t, M = f
				0.049302247401,
				// B = f, E = f, A = f, J = f, M = t
				0.009462047481,
				// B = f, E = f, A = f, J = f, M = f
				0.936742700619 }, ExampleRV.BURGLARY_RV,
				ExampleRV.EARTHQUAKE_RV, ExampleRV.ALARM_RV,
				ExampleRV.JOHN_CALLS_RV, ExampleRV.MARY_CALLS_RV);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy