|
@@ -1,4 +1,4 @@
|
|
|
-from chia.v2 import components, knowledge, instrumentation
|
|
|
+from chia import components, knowledge, instrumentation
|
|
|
|
|
|
from chillax import information_content
|
|
|
|
|
@@ -10,7 +10,7 @@ import numpy as np
|
|
|
|
|
|
class CHILLAXExtrapolator(instrumentation.Observer, abc.ABC):
|
|
|
def __init__(
|
|
|
- self, knowledge_base: knowledge.KnowledgeBaseV2, apply_ground_truth: bool
|
|
|
+ self, knowledge_base: knowledge.KnowledgeBase, apply_ground_truth: bool
|
|
|
):
|
|
|
self.knowledge_base = knowledge_base
|
|
|
self.knowledge_base.register(self)
|
|
@@ -166,7 +166,7 @@ class DepthStepsCHILLAXExtrapolator(CHILLAXExtrapolator):
|
|
|
self.prediction_targets = {
|
|
|
concept.uid
|
|
|
for concept in self.knowledge_base.concepts(
|
|
|
- flags={knowledge.ConceptFlagV2.PREDICTION_TARGET}
|
|
|
+ flags={knowledge.ConceptFlag.PREDICTION_TARGET}
|
|
|
)
|
|
|
}
|
|
|
|