Questions tagged [evaluate]

execution of evaluations of expressions or evaluation functions. Use tag evaluation for rules, algorithms, and strategies of the evaluation.

What is it?

Evaluation is about rules, algorithms and strategies used for the evaluation of expressions or the computation of evaluation functions.

This tag may should be used for the execution of evaluations.

Related tags

  • Prefer the tag if the question is about rules, algorithms and strategies used for the evaluation of expressions or the computation of evaluation functions.
  • For more specific questions use tag

See also:

470 questions
2
votes
1 answer

ColdFusion: Storing tags inside database outputs as string

I am creating a CMS system which has a rewrite rule to use only one page. From that page I am then pulling the content from a database to populate each page based on its url. This all works fine, however, on some pages I also want to use ColdFusion…
user1888614
2
votes
1 answer

Excel Evaluate formula error

My VBA code is Function yEval(entry As String) yEval = Evaluate(entry) Application.Volatile End Function in Sheet1 in cell f4 i have formula =yEval(Sheet2!E19) cell d4 on sheet1 contains number 12 Sheet2!I19 contains string $Q if Sheet2!e19 has…
Dmitrij Holkin
  • 1,995
  • 3
  • 39
  • 86
1
vote
1 answer

What values are evaluated to true and false without strict comparasion?

I want to have a list of all values that will be evaluated to true or false with poor equality check like !=, == or even if() I had one list that I collected throught years, but it died alog with my PC
mithril333221
  • 799
  • 2
  • 9
  • 20
1
vote
2 answers

Get results from xpathnavigator evaluate

Is there a way to check why an xPathNavigator.evaluate() call returns no Nodes? For example given the following xml document: 4 5 and the following xPath…
1
vote
5 answers

Execute coldfusion code stored in a string dynamically?

I have an email body stored as a string in a database, something like this: This is an email body containing lots of different variables. Dear #name#,
Please contact #representativeName# for further details. I pull this field from the…
froadie
  • 79,995
  • 75
  • 166
  • 235
1
vote
1 answer

Evaluate math expressions that have percentages

I am making a Java calculator with graphic interface and have been looking for a function that evaluates a math expression from a string. I found How to evaluate a math expression given in string form?. After simplifying it, because my calculator is…
Zeninツ
  • 175
  • 1
  • 9
1
vote
1 answer

EVALUATE statement: Where does control pass to?

I have a program with multiple (non-nested) EVALUATE statements. The program is not behaving like I expect it to. My suspicion is the EVALUATE statement. (I had a similar problem with a SEARCH ~ END-SEARCH in which control passes to the next…
NicholasM
  • 21
  • 3
1
vote
1 answer

Evaluate a string read from a file in perl

Made up example (perl): my $x = read_input_from_file(); # $x now contains string $ENV{SOMETHING}/dir/$ENV{SOMETHING_ELSE} my $y = eval($x); # doesnt work How can I get value of string contained in $x in the script? So far I have tried using eval…
1
vote
0 answers

How the function evaluate for conv1d works with more than one output value?

I am designing a 1-dimensional convolution network using keras. In my dataset, I have 29 outputs (y_test), which means for every set of features we get 29 outputs. Does the evaluation function work through all of them? I want to know how the MAE…
DRA
  • 165
  • 8
1
vote
2 answers

Dynamic logical expression evaluating

I need to evaluate a dynamic logical expression and I know that in ABAP it is not possible. I found the class cl_java_script and with this class I could achieve my requeriment. I've try something like this: result = cl_java_script=>create(…
1
vote
2 answers

Evaluating strings without eval()

In Python, can I evaluate a string (eg. “math.sin(3)+max(5,3)”) without using the dreaded eval(), and preferably with Decimal precision? Note: it is not a simple mathematical expression such as "3*2", which is easy. Also x = math.sin(3)+max(5,3)…
Bob Gow
  • 11
  • 2
1
vote
0 answers

Android Studio Evaluate Expression most of the variable return NoSuchFieldError

I'm having issue to get my variable value during debug using Evaluate Expression function. Below is what I received when I tried to get the value via Evaluate Expression. abc is a private var inside this class and I had Log the value and the program…
Mike
  • 697
  • 1
  • 9
  • 21
1
vote
1 answer

Sympy function evaluated at symbol

I have a problem with the symbolic Python package Sympy. Perhaps I am missing some obvious tools in Sympy but I have read through the documentation and not come across a solution. My question is can the derivative of g(f(y)) = g(f(x))|_(x=y) with…
Peter L
  • 11
  • 2
1
vote
1 answer

Evaluation of keras model returns loss:0 and accuracy:0

I am trying to learn keras. As tutorial I used this https://machinelearningmastery.com/tutorial-first-neural-network-python-keras/ Why does model.evaluate(X) returns loss:0 and accuracy:0? # first neural network with keras make predictions from…
msba
  • 141
  • 1
  • 8
1
vote
1 answer

(wx)Maxima: how to evaluate lists of symbolic variables?

I'm writing a script that requires a variable number of symbolic variables and am struggling to understand how to evaluate the resulting expressions MWE: (%i1) foo:makelist(f[i],i,3); (foo) [f[1],f[2],f[3]] (%i2) bar:lreduce("*",foo); (bar) …
Rax Adaam
  • 790
  • 3
  • 11