Questions tagged [black-box]

A black box is a device, system or object which can be viewed in terms of its input, output and transfer characteristics without any knowledge of its internal workings.

  • In computer programming and software engineering, black box testing is used to check that the output of a program is as expected, given certain inputs.[4] The term "black box" is used because the actual program being executed is not examined.
  • In computing in general, a black box program is one where the user cannot see its inner workings (perhaps because it is a closed source program) or one which has no side effects and the function of which need not be examined, a routine suitable for re-use.
  • Also in computing, a black box refers to a piece of equipment provided by a vendor, for the purpose of using that vendor's product. It is often the case that the vendor maintains and supports this equipment, and the company receiving the black box typically are hands-off.

http://en.wikipedia.org/wiki/Black_box

67 questions
0
votes
0 answers

Does RISE accept greyscale images?

I am trying to implement RISE (https://github.com/eclique/RISE) for greyscale images. The base achtitecture is trained with 1 channel. However, in easystart.ipynb with def load_img (see below), the input size is automatically converted from…
Daan
  • 1
  • 1
0
votes
1 answer

Black box optimization with Scikit Optimize

I have to optimize a black-box problem that depends on external software (no function definition neither derivatives) that is quite expensive to evaluate. It depends on several variables, some of them are real and some other are integers. I think…
0
votes
2 answers

Unit test 'structure' of method?

Sorry for the long post... While being introduced to a brown field project, I'm having doubts regarding certain sets of unit tests and what to think. Say you had a repostory class, wrapping a stored procedure and in the developer guide book, a…
jaspernygaard
  • 3,098
  • 5
  • 35
  • 52
0
votes
1 answer

Can You Decorate a Black Box?

I have a quick, very uninformed question about the Decorator pattern. If I have a class called BlackBox that I cannot edit in any way - can't add an interface, can't make any of the methods virtual, etc. - can this object be decorated using the…
user15486
0
votes
1 answer

How to use Black Box Test with stdin/stdout with python

I like TDD, so I try to write my Black Box Test at first. This is a python programme that deal with stdin and output to stdout like this (I try to write my own language that just deal with stdin and stdout): $ python3 ./minor.py >>> print,…
Peterlits Zo
  • 476
  • 1
  • 4
  • 17
0
votes
0 answers

How do I find minima of a costly blackbox function given I know a point which is close to the minima using python?

As stated in the question I need a way to optimise a costly blackbox function which I cannot compute too many times. Can you point me to some ways of doing this? While somehow closing in on the global minima would be best, it would also be okay if…
gst1502
  • 306
  • 1
  • 10
0
votes
1 answer

Is it obligatory converting categorical data to numerical data to use interpret (Microsoft package)?

I am new to the open source InterpretML Python package and I want to know if it is essential converting categorical data to numerical ones in order to use any glass/black box thank you!
baddy
  • 369
  • 1
  • 3
  • 23
0
votes
1 answer

How to secure the source code and database structure in Container as a Service (caas)?

Container as a Service (caas) is a buzz we hear around us. But there are some confusion about this model that I didn't find over the internet. Actually, we provide a service to our customers that include sensitive data (financial documents etc).…
Abdul Jabbar
  • 366
  • 2
  • 9
0
votes
1 answer

JavaScript — Unit Testing Subtasks

They say: "You should test the interface, not the implementation." In other words, you should be concerned with the end result, not with how it is accomplished (black box testing). It is also said that you should not test private functions, rather…
Matthew
  • 2,158
  • 7
  • 30
  • 52
0
votes
1 answer

filter profilable scripts in DevTools (blackboxing)

i try to investigate bug on existing site so i use devtools "Perfomance" and JavaScript profiler to understand chain of call. the problem that too many scripts are in report. when debugging there is a good feature - blackboxing, which help to hide…
vei nen
  • 39
  • 3
0
votes
0 answers

Minimize a non linear and differentiable black-box function, with linear constraints. - Python

I'm starting in python and I'm trying to solve a problem that Fmincon solves in Matlab. Basically, my problem has 12 variables, and a list of 2000 values is created (linearly) and my objective is to maximize the largest value of this list. In…
0
votes
1 answer

Objective function(black-box function) evaluation by an optimization solver irrespective of the algorithms it uses?

The main idea here is to know how black-box functions are used in objective function definition and how optimization algorithms call these functions. Let' assume that we have a function defined as follows: f is an objective function to be minimized…
Janson 7
  • 1
  • 2
0
votes
0 answers

Using fmincon() in blackbox optimization

I have a blackbox optimization problem, meaning, I have a shared-object file that I can call from within a Matlab function supplying it with input variable x and I can get the objective value obj as well as constraint-violations cv. The following…
Abhinav
  • 1,882
  • 1
  • 18
  • 34
0
votes
1 answer

JUnit how to blackbox test a function without inputs and outputs? Java

My problem is: i have a function triggered by a daily Timer that is supposed to send emails to a list of addresses stored in a database, even the text of the email is an array of datas retrieved by queries in a database. The function doesn't have…
Simone
  • 11
  • 2
0
votes
1 answer

Android APK test - blackbox

I have an apk file and I want to develop and run some tests on it (I just have the apk file, I don't have access to source code). I found a tutorial about this here and I found a video here but both are for Eclipse and I can't make this work with…
TFC
  • 151
  • 7