Permalink
Browse files

Re-seed the initialization every time TICC is called

  • Loading branch information...
davidhallac committed Apr 16, 2018
1 parent 8ffaa5b commit 95648a68cdcbdb35a1d1f92731abac8da647981a
View
@@ -17,7 +17,7 @@
#######################################################################################################################################################################
pd.set_option('display.max_columns', 500)
np.set_printoptions(formatter={'float': lambda x: "{0:0.4f}".format(x)})
np.random.seed(102)
# np.random.seed(102)
#####################################################################################################################################################################################################
@@ -37,6 +37,7 @@ def solve(window_size=10, number_of_clusters=5, lambda_parameter=11e-2,
- prefix_string: output directory if necessary
- input_file: location of the data file
'''
np.random.seed(102)
assert maxIters > 0 # must have at least one iteration
num_blocks = window_size + 1
num_stacked = window_size

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 95648a6

Please sign in to comment.