Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 2.06 KB

File metadata and controls

39 lines (29 loc) · 2.06 KB

FeatureVector

"FeatureVector" computes some features of the WolframModel evolution. For now, it only computes properties associated with the causal graph g:

In[] := WolframModel[{{x, y}, {x, z}} -> {{x, z}, {x, w}, {y, w}, {z, w}}, {{0, 0}, {0, 0}}, 5]["FeatureVector"]
Out[] = {22, 42, 0, 2, 2, 2, 6, 6}

The list of properties is:

This property is useful for applying machine learning to Wolfram Models explorations.

Example

inits = Partition[#, 2] & /@ Tuples[ConstantArray[Range[0, 3], 4]];

In[] := FeatureSpacePlot[#["FeatureVector"] -> #[
     "CausalGraph"] & /@ (WolframModel[{{x, y}, {x, z}} -> {{x,
         z}, {x, w}, {y, w}, {z, w}}, #, 6] &) /@ inits]