Skip to content
Snippets Groups Projects
Commit 15992a93 authored by vkarve2's avatar vkarve2
Browse files

Modified results dataframe to fix an error.

parent e85cd7eb
No related branches found
No related tags found
No related merge requests found
...@@ -115,9 +115,10 @@ def factorize(data_array, ...@@ -115,9 +115,10 @@ def factorize(data_array,
log.info('W, H chosen') log.info('W, H chosen')
iterations = 0 iterations = 0
results = pd.DataFrame()
column_names = ['error', 'sparsity', 'diff_W', 'diff_H', 'W_minmax', column_names = ['error', 'sparsity', 'diff_W', 'diff_H', 'W_minmax',
'H_0th', 'H_25th', 'H_50th', 'H_75th', 'H_100th'] # For results DataFrame 'H_0th', 'H_25th', 'H_50th', 'H_75th', 'H_100th'] # For results DataFrame
results = pd.DataFrame(columns = column_names)
diff_W = 100 diff_W = 100
diff_H = 100 diff_H = 100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment