Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions howso/hierarchy.amlg
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,7 @@
;else it's just the number of cases
(call !GetNumTrainingCases)
)
has_inactive_features (size !inactiveFeaturesMap)
))

;clear all query caches
Expand Down Expand Up @@ -970,6 +971,10 @@
(contained_entities subtrainee (query_exists !internalLabelSession))
)

(if (size (call_entity subtrainee "debug_label" (assoc label "!inactiveFeaturesMap")))
(assign (assoc has_inactive_features .true))
)

;move all sessions over from subtrainee to trainee
(map
(lambda
Expand Down Expand Up @@ -1007,8 +1012,10 @@
))
(call !UpdateRegionalMinSize (assoc dataset_size (call !GetNumTrainingCases) ))
(call !ClearCachedDataProperties)
(if !inactiveFeaturesMap
(assign_to_entities (assoc !inactiveFeaturesNeedCaching .true ))

;if this trainee or any of the subtrainees had inactive features, make sure they are recomputed here
(if has_inactive_features
(call !UpdateInactiveFeatures)
)

(accum_to_entities (assoc !dataMassChangeSinceLastAnalyze (- new_dataset_size pre_combine_dataset_size) ))
Expand Down
Loading