features and labels calculated

This commit is contained in:
Luis Fernando Molina committed 2021-02-19 08:37:28 +01:00
1 parent a98aec38e0
commit a4050f6c8d
5 files changed
+74 -16

No files matched your search

@@ -280,7 +280,7 @@ exports.newSuperalgosBotModulesLearningSystem = function (processIndex) {
}
/* Here we check if there is a formula to be evaluated */
if ((node.type === 'Formula' || node.type === 'Announcement Formula') && evaluating === 'Formulas') {
if ((node.type === 'Feature Formula' || node.type === 'Label Formula') && evaluating === 'Formulas') {
if (node.code !== undefined) {
/* We will eval this formula */
if (isDescendent === true) {
@@ -405,7 +405,7 @@ exports.newSuperalgosBotModulesLearningSystem = function (processIndex) {
return
} else {
if (value !== undefined) {
if (node.type === 'Formula' && isNaN(value)) {
if ((node.type === 'Feature Formula' || node.type === 'Label Formula') && isNaN(value)) {
docs = {
project: 'Superalgos',