<jupyter_start><jupyter_text>Convergence analysisThis notebook shows what happens "begind the scenes" when the Alternating Least Squares ends up in local minimum.None of those plots ended up in the paper.The plots are generated based on precomputed data that is produced when solver is run with the option `verbose=True`.<jupyter_code>param = np.pi/18
generate_plots(5, 1, 0, 2*param)
plt.show()
f1, f2 = generate_plots(7, 1, 1, np.degrees(2*param))
plt.title("evolution of error over time, degree 7, with noise")
f1.savefig("pol_iter_params.pdf")
f2.savefig("pol_iter_erros.pdf")
plt.show()
generate_plots(7, 1, 0, 2*param)
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10827067669172932, 'fraction_numerical': 0.02857142857142857, 'mean_word_length': 6.4, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '500333', 'license': 'MIT', 'n_tokens_mistral': 249, 'n_tokens_neox': 224, 'n_words': 74, 'path': 'convergence_analysis.ipynb', 'repo_name': 'micha7a/surface-reconstruction', 'size': '665'}