biolab/orange3-educational

Replace "Variance" in Random Data Widget (Normal Distribution) with "Standard Deviation"

Closed this issue · 1 comments

Educational version

0.5.0

Orange version

3.31.1

Expected behavior

Using Random Data Widget to produce sample data with normal distribution, the number in the field called "Variance" should be the variance in the sampled data. Or, the name of the field should be "Standard Deviation".

grafik

Actual behavior

The field is called "Variance", but the number works as standard deviation.

Codesnipped of owrandomdata.py
grafik

Part of Documentation of scipy.stats.norm
grafik

Steps to reproduce the behavior
  • Produce some variables with the radom data widget, for example one uniform distibution as x and one normal distibution as epsilon.
  • Use Feature Constructor to create a target variable out of the data including an additive part of epsilon.
  • Select Columns, so that epsilon is ignored and no longer in the data.
  • train a model and use Test and Score, cross validation to test the model.
  • The variance of epsilon should correspond to MSE in Test and Score, the standard deviation should correspond to RMSE.
Additional info (worksheets, data, screenshots, ...)

grafik
random_data_widget.zip

Fixed. Thank you for reporting this!