7
$\begingroup$

What is "Verbose" in scikit-learn package of Python? In some models like neural network and svm we can set it's value to true. This is the documentation:

verbose : bool, default: False Enable verbose output. Note that this setting takes advantage of a per-process runtime setting in libsvm that, if enabled, may not work properly in a multithreaded context.

What is this option?

$\endgroup$

closed as off-topic by Sycorax, Michael Chernick, Stephan Kolassa, jbowman, AdamO Feb 21 '18 at 21:47

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain." – Sycorax, Michael Chernick, Stephan Kolassa, jbowman, AdamO
If this question can be reworded to fit the rules in the help center, please edit the question.

6
$\begingroup$

As Matthew states it is generally an option for producing detailed logging information. You should be aware, and will probably notice if you enable verbose > 0, that printing to the screen is generally a very slow process. The algorithm may run an order of magnitude slower, or more, with verbose enabled. Also, in multi-threaded applications, input/output operations are often disabled. Thus as the documentation advises, writing to the standard output may not work in a multi-threaded context.

$\endgroup$
8
$\begingroup$

Verbose is a general programming term for produce lots of logging output. You can think of it as asking the program to "tell me everything about what you are doing all the time". Just set it to true and see what happens.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.