Changeset 10042:a8ced38d2fd1 in orange


Ignore:
Timestamp:
02/08/12 09:48:18 (2 years ago)
Author:
Miha Stajdohar <miha.stajdohar@…>
Branch:
default
rebase_source:
b30d09654a00ec85f3eaecfc535ccf7a680d9841
Message:

Set the numpy random seed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/lasso-example.py

    r9841 r10042  
    11# Description: Lasso regression 
    22# Category:    regression 
    3 # Uses:        housing 
    4 # Referenced:  Orange.regression.lasso 
    5 # Classes:     Orange.regression.lasso.LassoRegressionLearner Orange.regression.lasso.LassoRegression 
    63 
    74import Orange 
     5import numpy 
     6 
     7numpy.random.seed(0) 
    88 
    99housing = Orange.data.Table("housing") 
Note: See TracChangeset for help on using the changeset viewer.