We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 023982c commit 267814aCopy full SHA for 267814a
dataframe-symbolic-regression/src/DataFrame/SymbolicRegression.hs
@@ -473,7 +473,8 @@ egraphGP cfg nonterminals varnames dataTrainVals dataTests = do
473
pure . Fix $ Bin op l' r'
474
475
printExpr' :: Int -> EClassId -> RndEGraph [String]
476
- printExpr' ix ec = do
+ printExpr' ix ec' = do
477
+ ec <- canonical ec'
478
thetas' <- gets (fmap (_theta . _info) . (IM.!? ec) . _eClass)
479
bestExpr <-
480
(if simplifyExpressions cfg then simplifyEqSatDefault else id)
0 commit comments