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
1
vote
1 answer

why is different between model.evaluate() and computed loss by myself based on model.predict()?

I am running neural network by keras. There is my code: import numpy as np from keras import Model from keras.models import Sequential from keras.layers import Dense from keras import backend as K def mean_squared_error(y_true, y_pred): return…
haidan li
  • 49
  • 6
1
vote
1 answer

the JS in evaluate function can't been executed

I'm new here.When I try to use casperjs.evaluate() to execute the JS,I find the events were not executed. The code like casper = require("casper").create(); casper.start("https://www.google.com/",function(){ …
1
vote
2 answers

PHP: how do i properly evaluate a nested variable variable in a loop?

ok. here's the basics: for ($k=1;$k<3;$k++) { ${'var'.$k} = 'foo'; } // so far so good for ($j=1;$J<3;$j++) { $dbq .= "stuff {$var{$k}} "; } // problem here ^^ ^^ i'm looking for $dbq to render out to "stuff foo stuff foo". but i'm not…
WhiteRau
  • 818
  • 14
  • 32
1
vote
1 answer

evaluate mathematical expression faster for a dataframe

I am using sympy sympify function for evaluating a formula (dynamic) for data present in a dataframe. import sympy as sy def evaluate_function(formula,dataframe): gfg_exp = sy.sympify(formula) dataframe_dict=dataframe.to_dict() gfg_exp =…
learn_more
  • 189
  • 3
  • 13
1
vote
1 answer

Model Evaluate in Keras

I am training a model to perform a binary classification through Keras. After my model is trained, I tried evaluate it, like this: # Evaluate the model print('Evaluate on test data') loss, acc = model.evaluate(X_test, y_test, verbose=2) print('Test…
Murilo
  • 533
  • 3
  • 15
1
vote
1 answer

Problem at using the data from tf.data.csv in model.evaluate method at Tensorflow.js

How I can use returned values of 'tf.data.csv' in the evaluation method 'evaluate()' in Tensorflow.js? I wanted to train a simple model on TFJS. First I read the data from a CSV file. Then I trained the model and finally I calculated the loss and…
1
vote
1 answer

Evaluate an (almost algebraic) expression without the '*' symbol in python

I have the following content in the value.txt: 2A-25X-8A+34X-5B+11B If I use MetaFont via terminal bash how below: #mf This is METAFONT, Version 2.7182818 (TeX Live 2019/Arch Linux) (preloaded…
7beggars_nnnnm
  • 697
  • 3
  • 12
1
vote
1 answer

Evaluate the Maximum Length amongst variable length strings in an one-dimensional Array using Excel VBA

I have a one-dimensional Array that contains variable length strings. I want to find the maximum length amongst these strings using a combination of the EVALUATE, MAX & LEN functions. I know for a worksheet Range declared Rng, the following code…
sifar
  • 1,086
  • 1
  • 17
  • 43
1
vote
2 answers

Java Expression Evaluate

I am trying to develop a parser to parse simple logical relationship expressions, which includes "(", ")", ">", "<", "," as token. An example might be: a < (b > c > (x, y, z)) From the above expression, I would deduct that: a relies on b b is a…
Gelin Luo
  • 14,035
  • 27
  • 86
  • 139
1
vote
1 answer

How to retrieve a measure from SSAS tabular project using DAX script in SSMS?

I have a tabular project with one fact table and few dimension tables. The fact table Fact1 has a measure called Number_of_Children. How to retrieve that measure using EVALUATE statement is SSMS? evaluate(values('Fact1…
BenThomas
  • 53
  • 5
1
vote
1 answer

How can I pass the for loop variable to c in puppeteer

I want to pass the for loop variable to page.evaluate in puppeteer, in order to get the all gages of a gallery. But it doesn't work. It always reports UnhandledPromiseRejectionWarning: Error: Evaluation failed. The following is a example of my…
Kaol
  • 431
  • 2
  • 7
  • 16
1
vote
0 answers

VBA Evaluate function failing on simple test

I'm trying to use Evaluate() to run an if statement in my code and store the result in an array, but every time I tried it returned a #VALUE! error. I thought this may have been because I was incorrectly using variables, so I gave it a simpler…
PL200
  • 741
  • 6
  • 24
1
vote
2 answers

FDDB evaluation code

I'm studying opencv and dlib, for a face detector to use on a university project, and I'm really new at this whole thing of machine learning and computer vision. How can I use the evaluation code from FDDB to evaluate my code for face detection? I'm…
Erick
  • 147
  • 2
  • 7
1
vote
0 answers

Chromeless - click(selector) doesn't always work

After creating new chromeless object: const chromeless = new Chromeless( { implicitWait: true, scrollBeforeClick: true }) When I use chromeless.click(selector) on some element in the DOM, for example: await…
N. David
  • 11
  • 1
1
vote
2 answers

Evaluating same column data.table in r

How can I evaluate a column of a data.table with values of the same column, each value against the value of the next two positions. The following example ilustrates the problem and desired result. library(data.table) dt <- data.table(a = c(2, 3, 2,…
Ushuaia81
  • 495
  • 1
  • 6
  • 14