diff --git a/day_3/RuNNerMD.ipynb b/day_3/RuNNerMD.ipynb new file mode 100644 index 0000000000000000000000000000000000000000..2dac058f04b1204751b182315bb1e79e2b0c316f --- /dev/null +++ b/day_3/RuNNerMD.ipynb @@ -0,0 +1,364 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "extended-alliance", + "metadata": {}, + "outputs": [], + "source": [ + "from pyiron import Project" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "heard-leone", + "metadata": {}, + "outputs": [], + "source": [ + "pr = Project('md_run')" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "boolean-grammar", + "metadata": {}, + "outputs": [], + "source": [ + "import pandas as pd" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "civilian-trigger", + "metadata": {}, + "outputs": [], + "source": [ + "import os" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "id": "hungry-invite", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "input.nn scaling.data\tweights.029.data weights.029.out\n" + ] + } + ], + "source": [ + "!ls fit" + ] + }, + { + "cell_type": "code", + "execution_count": 46, + "id": "animal-elite", + "metadata": {}, + "outputs": [], + "source": [ + "custom_potential = pd.DataFrame({\n", + " 'Name': ['Cu'],\n", + " 'Filename': [[f'{os.getcwd()}/fit/input.nn', f'{os.getcwd()}/fit/weights.029.data', f'{os.getcwd()}/fit/scaling.data']],\n", + " 'Model': ['Custom'],\n", + " 'Species': [['Cu']],\n", + " 'Config': [['pair_style nnp dir \"./\" showew no showewsum 0 resetew no maxew 100 cflength 1.8897261328 cfenergy 0.0367493254 emap \"1:Cu\"\\n',\n", + " 'pair_coeff * * 12\\n'\n", + " ]]\n", + "})" + ] + }, + { + "cell_type": "code", + "execution_count": 55, + "id": "chemical-jungle", + "metadata": {}, + "outputs": [], + "source": [ + "j = pr.create.job.Lammps(\"md\", delete_existing_job=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 56, + "id": "interior-advancement", + "metadata": {}, + "outputs": [], + "source": [ + "j.potential = custom_potential" + ] + }, + { + "cell_type": "code", + "execution_count": 57, + "id": "loved-fiber", + "metadata": {}, + "outputs": [], + "source": [ + "j.structure = pr.create.structure.ase_bulk('Cu', cubic=True).repeat(3)" + ] + }, + { + "cell_type": "code", + "execution_count": 58, + "id": "prerequisite-membrane", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "Cu: [0. 0. 0.]\n", + "Cu: [0. 1.805 1.805]\n", + "Cu: [1.805 0. 1.805]\n", + "Cu: [1.805 1.805 0. ]\n", + "Cu: [0. 3.61 0. ]\n", + "Cu: [0. 5.415 1.805]\n", + "Cu: [1.805 3.61 1.805]\n", + "Cu: [1.805 5.415 0. ]\n", + "Cu: [0. 7.22 0. ]\n", + "Cu: [0. 9.025 1.805]\n", + "Cu: [1.805 7.22 1.805]\n", + "Cu: [1.805 9.025 0. ]\n", + "Cu: [3.61 0. 0. ]\n", + "Cu: [3.61 1.805 1.805]\n", + "Cu: [5.415 0. 1.805]\n", + "Cu: [5.415 1.805 0. ]\n", + "Cu: [3.61 3.61 0. ]\n", + "Cu: [3.61 5.415 1.805]\n", + "Cu: [5.415 3.61 1.805]\n", + "Cu: [5.415 5.415 0. ]\n", + "Cu: [3.61 7.22 0. ]\n", + "Cu: [3.61 9.025 1.805]\n", + "Cu: [5.415 7.22 1.805]\n", + "Cu: [5.415 9.025 0. ]\n", + "Cu: [7.22 0. 0. ]\n", + "Cu: [7.22 1.805 1.805]\n", + "Cu: [9.025 0. 1.805]\n", + "Cu: [9.025 1.805 0. ]\n", + "Cu: [7.22 3.61 0. ]\n", + "Cu: [7.22 5.415 1.805]\n", + "Cu: [9.025 3.61 1.805]\n", + "Cu: [9.025 5.415 0. ]\n", + "Cu: [7.22 7.22 0. ]\n", + "Cu: [7.22 9.025 1.805]\n", + "Cu: [9.025 7.22 1.805]\n", + "Cu: [9.025 9.025 0. ]\n", + "Cu: [0. 0. 3.61]\n", + "Cu: [0. 1.805 5.415]\n", + "Cu: [1.805 0. 5.415]\n", + "Cu: [1.805 1.805 3.61 ]\n", + "Cu: [0. 3.61 3.61]\n", + "Cu: [0. 5.415 5.415]\n", + "Cu: [1.805 3.61 5.415]\n", + "Cu: [1.805 5.415 3.61 ]\n", + "Cu: [0. 7.22 3.61]\n", + "Cu: [0. 9.025 5.415]\n", + "Cu: [1.805 7.22 5.415]\n", + "Cu: [1.805 9.025 3.61 ]\n", + "Cu: [3.61 0. 3.61]\n", + "Cu: [3.61 1.805 5.415]\n", + "Cu: [5.415 0. 5.415]\n", + "Cu: [5.415 1.805 3.61 ]\n", + "Cu: [3.61 3.61 3.61]\n", + "Cu: [3.61 5.415 5.415]\n", + "Cu: [5.415 3.61 5.415]\n", + "Cu: [5.415 5.415 3.61 ]\n", + "Cu: [3.61 7.22 3.61]\n", + "Cu: [3.61 9.025 5.415]\n", + "Cu: [5.415 7.22 5.415]\n", + "Cu: [5.415 9.025 3.61 ]\n", + "Cu: [7.22 0. 3.61]\n", + "Cu: [7.22 1.805 5.415]\n", + "Cu: [9.025 0. 5.415]\n", + "Cu: [9.025 1.805 3.61 ]\n", + "Cu: [7.22 3.61 3.61]\n", + "Cu: [7.22 5.415 5.415]\n", + "Cu: [9.025 3.61 5.415]\n", + "Cu: [9.025 5.415 3.61 ]\n", + "Cu: [7.22 7.22 3.61]\n", + "Cu: [7.22 9.025 5.415]\n", + "Cu: [9.025 7.22 5.415]\n", + "Cu: [9.025 9.025 3.61 ]\n", + "Cu: [0. 0. 7.22]\n", + "Cu: [0. 1.805 9.025]\n", + "Cu: [1.805 0. 9.025]\n", + "Cu: [1.805 1.805 7.22 ]\n", + "Cu: [0. 3.61 7.22]\n", + "Cu: [0. 5.415 9.025]\n", + "Cu: [1.805 3.61 9.025]\n", + "Cu: [1.805 5.415 7.22 ]\n", + "Cu: [0. 7.22 7.22]\n", + "Cu: [0. 9.025 9.025]\n", + "Cu: [1.805 7.22 9.025]\n", + "Cu: [1.805 9.025 7.22 ]\n", + "Cu: [3.61 0. 7.22]\n", + "Cu: [3.61 1.805 9.025]\n", + "Cu: [5.415 0. 9.025]\n", + "Cu: [5.415 1.805 7.22 ]\n", + "Cu: [3.61 3.61 7.22]\n", + "Cu: [3.61 5.415 9.025]\n", + "Cu: [5.415 3.61 9.025]\n", + "Cu: [5.415 5.415 7.22 ]\n", + "Cu: [3.61 7.22 7.22]\n", + "Cu: [3.61 9.025 9.025]\n", + "Cu: [5.415 7.22 9.025]\n", + "Cu: [5.415 9.025 7.22 ]\n", + "Cu: [7.22 0. 7.22]\n", + "Cu: [7.22 1.805 9.025]\n", + "Cu: [9.025 0. 9.025]\n", + "Cu: [9.025 1.805 7.22 ]\n", + "Cu: [7.22 3.61 7.22]\n", + "Cu: [7.22 5.415 9.025]\n", + "Cu: [9.025 3.61 9.025]\n", + "Cu: [9.025 5.415 7.22 ]\n", + "Cu: [7.22 7.22 7.22]\n", + "Cu: [7.22 9.025 9.025]\n", + "Cu: [9.025 7.22 9.025]\n", + "Cu: [9.025 9.025 7.22 ]\n", + "pbc: [ True True True]\n", + "cell: \n", + "Cell([10.83, 10.83, 10.83])" + ] + }, + "execution_count": 58, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "j.structure" + ] + }, + { + "cell_type": "code", + "execution_count": 59, + "id": "removable-place", + "metadata": {}, + "outputs": [], + "source": [ + "j.calc_md(n_ionic_steps=1000, temperature=500)" + ] + }, + { + "cell_type": "code", + "execution_count": 60, + "id": "patent-translation", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The job md was saved and received the ID: 13491011\n" + ] + } + ], + "source": [ + "j.run()" + ] + }, + { + "cell_type": "code", + "execution_count": 61, + "id": "conventional-dayton", + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "8e5a59a520a54c0993233c27cb8156bb", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "NGLWidget(max_frame=100)" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "j.animate_structure()" + ] + }, + { + "cell_type": "code", + "execution_count": 62, + "id": "intimate-retail", + "metadata": {}, + "outputs": [], + "source": [ + "s = j.structure" + ] + }, + { + "cell_type": "code", + "execution_count": 66, + "id": "hearing-negative", + "metadata": {}, + "outputs": [], + "source": [ + "e = s.elements[0]" + ] + }, + { + "cell_type": "code", + "execution_count": 67, + "id": "compressed-texture", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "'Cu'" + ] + }, + "execution_count": 67, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "e.Abbreviation" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "coral-concentrate", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.9" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/day_3/fit/input.nn b/day_3/fit/input.nn new file mode 100644 index 0000000000000000000000000000000000000000..4792cbf805e04e70b463a1749dd422ca36b9bbab --- /dev/null +++ b/day_3/fit/input.nn @@ -0,0 +1,95 @@ +### #################################################################################################################### +### This is the input file for the RuNNer tutorial (POTENTIALS WORKSHOP 2021-03-10) +### This input file is intended for release version 1.2 +### RuNNer is hosted at www.gitlab.com. The most recent version can only be found in this repository. +### For access please contact Prof. Jörg Behler, joerg.behler@uni-goettingen.de +### +### #################################################################################################################### +### General remarks: +### - commands can be switched off by using the # character at the BEGINNING of the line +### - the input file can be structured by blank lines and comment lines +### - the order of the keywords is arbitrary +### - if keywords are missing, default values will be used and written to runner.out +### - if mandatory keywords or keyword options are missing, RuNNer will stop with an error message +### +######################################################################################################################## +######################################################################################################################## +### The following keywords just represent a subset of the keywords offered by RuNNer +######################################################################################################################## +######################################################################################################################## + +######################################################################################################################## +### general keywords +######################################################################################################################## +nn_type_short 1 # 1=Behler-Parrinello +runner_mode 3 # 1=calculate symmetry functions, 2=fitting mode, 3=predicition mode +number_of_elements 1 # number of elements +elements Cu # specification of elements +random_seed 10 # integer seed for random number generator +random_number_type 6 # 6 recommended + +######################################################################################################################## +### NN structure of the short-range NN +######################################################################################################################## +use_short_nn # use NN for short range interactions +global_hidden_layers_short 2 # number of hidden layers +global_nodes_short 15 15 # number of nodes in hidden layers +global_activation_short t t l # activation functions (t = hyperbolic tangent, l = linear) + +######################################################################################################################## +### symmetry function generation ( mode 1): +######################################################################################################################## +test_fraction 0.10000 # threshold for splitting between fitting and test set + +######################################################################################################################## +### symmetry function definitions (all modes): +######################################################################################################################## +cutoff_type 1 +symfunction_short Cu 2 Cu 0.000000 0.000000 12.000000 +symfunction_short Cu 2 Cu 0.006000 0.000000 12.000000 +symfunction_short Cu 2 Cu 0.016000 0.000000 12.000000 +symfunction_short Cu 2 Cu 0.040000 0.000000 12.000000 +symfunction_short Cu 2 Cu 0.109000 0.000000 12.000000 + +symfunction_short Cu 3 Cu Cu 0.00000 1.000000 1.000000 12.000000 +symfunction_short Cu 3 Cu Cu 0.00000 1.000000 2.000000 12.000000 +symfunction_short Cu 3 Cu Cu 0.00000 1.000000 4.000000 12.000000 +symfunction_short Cu 3 Cu Cu 0.00000 1.000000 16.000000 12.000000 +symfunction_short Cu 3 Cu Cu 0.00000 -1.000000 1.000000 12.000000 +symfunction_short Cu 3 Cu Cu 0.00000 -1.000000 2.000000 12.000000 +symfunction_short Cu 3 Cu Cu 0.00000 -1.000000 4.000000 12.000000 +symfunction_short Cu 3 Cu Cu 0.00000 -1.000000 16.000000 12.000000 + +######################################################################################################################## +### fitting (mode 2):general inputs for short range AND electrostatic part: +######################################################################################################################## +epochs 20 # number of epochs +fitting_unit eV # unit for error output in mode 2 (eV or Ha) +precondition_weights # optional precondition initial weights + +######################################################################################################################## +### fitting options ( mode 2): short range part only: +######################################################################################################################## +short_energy_error_threshold 0.10000 # threshold of adaptive Kalman filter short E +short_force_error_threshold 1.00000 # threshold of adaptive Kalman filter short F +kalman_lambda_short 0.98000 # Kalman parameter short E/F, do not change +kalman_nue_short 0.99870 # Kalman parameter short E/F, do not change +use_short_forces # use forces for fitting +repeated_energy_update # optional: repeat energy update for each force update +mix_all_points # do not change +scale_symmetry_functions # optional +center_symmetry_functions # optional +short_force_fraction 0.01 # +force_update_scaling -1.0 # + +######################################################################################################################## +### output options for mode 2 (fitting): +######################################################################################################################## +write_trainpoints # write trainpoints.out and testpoints.out files +write_trainforces # write trainforces.out and testforces.out files + +######################################################################################################################## +### output options for mode 3 (prediction): +######################################################################################################################## +calculate_forces # calculate forces +calculate_stress # calculate stress tensor diff --git a/day_3/fit/scaling.data b/day_3/fit/scaling.data new file mode 100644 index 0000000000000000000000000000000000000000..fc3779e520a3d6719fd3682760a4022ef86dc7d6 --- /dev/null +++ b/day_3/fit/scaling.data @@ -0,0 +1,14 @@ + 1 1 14.256833324 19.604083786 16.584187995 + 1 2 10.772870436 14.917517522 12.575789477 + 1 3 7.067719199 9.940850811 8.325756144 + 1 4 3.063546892 4.514143322 3.699677080 + 1 5 0.443438674 0.840539370 0.611310762 + 1 6 11.372207256 23.338043099 16.099109800 + 1 7 30.908289966 62.610854904 43.470717798 + 1 8 4.747847116 10.201151151 6.890568480 + 1 9 24.299123692 49.473962957 34.262176478 + 1 10 1.690730707 3.912715044 2.559298728 + 1 11 16.549052901 34.322241783 23.555567314 + 1 12 0.252821214 0.820637834 0.460356083 + 1 13 4.065311900 9.687837138 6.245172716 + -0.1359667057 -0.1284178204 diff --git a/day_3/fit/weights.029.data b/day_3/fit/weights.029.data new file mode 100644 index 0000000000000000000000000000000000000000..e3505a1a2b72b867f9885f58fb9e494952e26609 --- /dev/null +++ b/day_3/fit/weights.029.data @@ -0,0 +1,466 @@ + 0.0002929493 + -0.6941954269 + 0.9059192336 + -0.8539511180 + 0.6945597416 + 0.4158165063 + -0.2203285181 + -0.0468139145 + 0.4464672024 + 0.4146182872 + -0.3380150711 + 0.1823814447 + -0.3850976121 + -0.6451795801 + 0.9100222759 + 0.1695670863 + 0.9610743963 + -0.2710738436 + -0.9187189953 + -0.4209941537 + 0.3159901450 + -0.5807968432 + 0.4037838756 + -0.5755611410 + 0.0345929391 + -1.0071075870 + 0.7881655380 + -0.7353635404 + -0.4519726848 + -0.6846120126 + -0.7739950144 + 0.6002150253 + 0.2877713394 + -0.2472311317 + -0.2638354273 + -0.6882121053 + 0.7952962249 + -0.2141858580 + -0.2974177905 + -0.8296260827 + 0.4039482533 + 0.8696835843 + -0.5217230117 + 0.0610884548 + -0.9143406316 + -0.4548159822 + -0.9098044897 + 0.1667283484 + 0.5111021091 + 0.7800678888 + 0.5494692376 + -0.1488447687 + -0.7703471814 + -0.6034894622 + -0.5957722003 + -0.7020765696 + -0.8808562031 + 0.6261094787 + 0.0724453439 + 0.6966501850 + 0.5010789743 + -0.5777489975 + -0.7439796706 + 0.8992219609 + -0.6188936696 + 0.5704951193 + 0.0728913441 + -0.7426060445 + -0.8518844455 + -0.4982094540 + 0.5946172110 + -0.7218163160 + 0.1059872864 + -0.5632129515 + -0.4148453495 + 0.7770094203 + 0.3602930701 + 0.6914548497 + 0.7941781697 + 0.3868139218 + -0.4315836970 + -0.4347805324 + -0.1596146352 + -0.7872242593 + -0.8954315132 + -0.2058487886 + 0.4396848316 + -0.9319795259 + -0.4665903490 + 0.3735280586 + 0.5450969436 + 0.7004912972 + -0.2913033525 + -0.8192143373 + 0.8846068333 + -0.8808933936 + -0.3056738316 + -0.2205490670 + -0.2672502593 + -0.3916647774 + 0.4481317701 + 0.5323756071 + -0.8624885823 + -0.2318618712 + 0.3939941528 + -0.0050523244 + 0.7052520989 + -0.3702774623 + 0.9363049639 + 0.1938345938 + -0.3185875658 + -0.8627965597 + -0.4077709333 + -0.8100009375 + -0.1691273365 + 0.5383150063 + -0.3040638758 + -0.4737331548 + 0.4368445537 + -0.4487063679 + -0.4138616683 + 0.1365425907 + -0.3131705916 + 0.6909707194 + -0.7880995621 + -0.6655887733 + -0.6559684658 + -0.3737506063 + 0.5987536276 + 0.9381084453 + -0.7133843856 + 0.5989822098 + -0.1561354605 + 0.4343418492 + -0.7113947415 + 0.5250037367 + -0.2404617681 + -0.3598481441 + 0.5945116987 + 0.6137976152 + -0.9715999056 + -0.7762722471 + -0.3305256376 + 0.3243180764 + 0.7949128926 + -0.4904954486 + -0.5831967142 + 1.0098935062 + 0.6502527286 + -0.1411291290 + 0.3427817337 + -0.9527665919 + 0.5146245674 + 0.7545799475 + 0.9735449358 + -0.3511311644 + 0.5589951590 + 0.1040609640 + 0.9506646223 + 0.9253322336 + 0.2143226936 + 0.8616358146 + 0.4483927002 + 0.0899337251 + 0.2439686584 + -0.9246864711 + 0.4814409855 + 0.7831052384 + 0.1116751404 + -0.9560204725 + -0.9129860888 + 0.8141850777 + 0.0599082352 + -0.2736940346 + -0.9550494978 + -0.8196441234 + 0.8041853275 + -0.3328550941 + -0.5203514048 + 0.4648398466 + 0.4104627230 + 0.0778814132 + -0.1480556077 + 0.1001068352 + -0.7511645069 + -0.2191604786 + -0.8276402617 + 0.5717905882 + 0.4349693837 + -0.9213283753 + -0.3737653539 + -0.7078750772 + 0.0441186396 + -0.3107826649 + 0.3658392949 + 0.0560152067 + -0.5993348094 + -0.5984861277 + -0.0378637725 + 0.2005431973 + 0.7836874376 + 0.3932740110 + -0.6851599625 + -0.8221892402 + 0.8312019078 + 0.8339919672 + 0.9343698067 + -0.0663059898 + -0.0812427427 + -0.3146477528 + -0.6392762316 + 0.3042994778 + -0.1864662467 + 0.4638519905 + 0.2495251781 + -0.5152221831 + 0.7628953151 + -0.6503225958 + 0.5424588304 + 0.5711400245 + 0.5057551315 + 0.1463752788 + -0.0951984440 + 0.4374671545 + -0.9180474098 + -0.1706592551 + 0.0074009449 + -0.7921400726 + -0.0794679078 + -0.3619436686 + -0.6265527922 + 0.0762093965 + 0.2770997643 + -0.9287290869 + -0.9207827784 + -0.3332776362 + -0.3306061401 + -0.5799834635 + -0.5365289251 + 0.5097002225 + 0.1267708491 + -0.6137532817 + 0.7942590246 + 0.9238827624 + -0.2933988359 + 0.5488073470 + -0.4912019343 + 0.8696346299 + -0.8888078328 + 0.6338067545 + -0.2256789657 + -0.9539387792 + -0.2664270276 + 0.8311963505 + -0.9369498823 + 0.1123082990 + -0.3620094923 + 0.7320263800 + -0.4534040835 + 0.5822665569 + -0.7280786925 + -0.2330917013 + -0.6691638575 + -0.2194349975 + 0.7516219461 + 0.7907011445 + -0.0190759598 + 0.5768253541 + -0.0879369628 + 0.0120313810 + -0.1573347210 + -0.3761259132 + 0.5346998374 + 0.1535414765 + 0.0519041488 + 0.9551599890 + 0.1538822614 + -0.0163951003 + 0.6079396376 + -0.1809966775 + 0.9717523305 + 0.8086106893 + 0.3254134502 + 0.0156976780 + -0.5165294818 + -0.7282391422 + -0.6397284634 + -0.9790829033 + -0.0690347986 + -0.9547439132 + 0.0521741528 + 0.6945341987 + -0.1169916040 + -0.8420942920 + 0.3921711618 + 0.1751054133 + 0.9021039467 + -0.5344639711 + 0.3287415367 + 0.1482830674 + 0.9718909074 + 0.8491160268 + 0.8683778325 + -0.3772006227 + 0.4827311819 + -0.9325740851 + -0.4724430365 + 0.6258788534 + -0.8305683636 + 0.3236552613 + 0.7982824600 + 0.6098856779 + -0.0479620744 + -0.1767109875 + -0.6491635625 + 0.5069271211 + -0.5312610192 + 0.5907498544 + -0.5845991712 + 0.0086641257 + 0.2400725104 + 0.9629295919 + -1.0108968768 + -0.4406405255 + 0.3419706363 + 0.5702683486 + 0.9897807218 + -0.4065855875 + -0.6472371470 + 0.2627911403 + -0.3042691544 + 0.3077982380 + 0.6755830150 + 0.7650999184 + 0.8178940566 + 0.4182305136 + 0.0023002609 + -0.9194055443 + -0.5121534508 + -0.0920383965 + -0.0164110649 + -0.2100807907 + -0.1190607952 + 0.1411830485 + 0.7505819234 + -0.5285424056 + 0.8988495259 + -0.9933186099 + -0.4690238803 + -0.9963282403 + 0.9860822327 + 0.3021741074 + -0.7640614608 + -0.6036030399 + 0.9282491963 + -0.2073563459 + -0.6963268580 + 0.8546186865 + -0.7183395926 + 0.1275308908 + 0.3764500125 + 0.2174857682 + -0.0433752785 + 0.4626275514 + 0.8421163315 + 0.2469176865 + -0.4081815473 + -0.0415852111 + 0.7478142012 + -0.3112594702 + 0.3678011339 + -0.6841241559 + -0.0183719577 + -0.5547191404 + -0.0148786760 + 0.1090547467 + -0.8593221432 + 0.2411302263 + -0.6120115818 + -0.1470103160 + 0.4812397751 + -0.6462517527 + 0.7217119887 + -0.8746821932 + -0.7306147621 + -0.6524801943 + -0.9748364316 + -0.0824488909 + -0.2964221387 + 0.8394645871 + -0.2461517037 + -0.2756252258 + 0.0049787670 + -0.7187348788 + 0.6784928839 + -0.9993269308 + -0.4971730897 + -0.0511789706 + 0.7622240481 + 0.6385462033 + -0.1727053756 + -0.9616808433 + -0.8784308877 + 0.6797444342 + 0.9077616302 + -0.3488493853 + 0.5666260439 + 0.3011300174 + -0.2856210828 + -0.4436472807 + -0.3413390370 + 0.0211336922 + -0.2693726224 + 0.8541149938 + 0.3514581545 + 0.1055210125 + -0.8598508997 + -0.8542038756 + 0.8524403811 + -0.9909553437 + 0.4506009283 + 0.2151488318 + 0.5242726386 + -0.3080446357 + 0.6724396391 + 0.5186980763 + 0.5780248379 + -0.6027812653 + 0.4656556146 + -0.4308116429 + -0.4740300232 + -0.8516402106 + -0.1629564762 + 0.6989299171 + 0.5086110861 + -0.3715591312 + -0.4950524731 + 0.8290809275 + 0.3247071676 + -0.2909538862 + -0.4973426389 + 0.1273719724 + 0.2777430941 + -0.0382234080 + 0.9845030626 + -0.1089825628 + -0.4101146924 + 0.3441147844 + 0.9487233789 + -0.3379062366 + -0.0183925180 + -0.0198164690 + -0.0034560740 + 0.0271716379 + 0.0270476104 + -0.0537778091 + 0.0469631988 + 0.0128833688 + -0.0124271578 + -0.0070447949 + 0.0373929517 + -0.0478234713 + 0.0170762514 + -0.0150332233 + 0.0154058026 + -0.1254997846 diff --git a/day_3/fit/weights.029.out b/day_3/fit/weights.029.out new file mode 100644 index 0000000000000000000000000000000000000000..76889a5088917103af323138572d80bf016821d0 --- /dev/null +++ b/day_3/fit/weights.029.out @@ -0,0 +1,466 @@ + -0.4050794381 + -0.3834951581 + -0.7578710041 + 0.4600527300 + 7.6373534556 + 0.8864618098 + 2.2802746721 + 0.3405583058 + 1.2335806357 + 5.3300221370 + 2.1586923541 + 5.3110434121 + -1.3189612853 + 0.8296523625 + -0.7173868404 + 0.5387883237 + -0.5392131243 + 0.0792746524 + 0.3662602913 + -13.3901422358 + 0.2223843147 + -4.9741548177 + -4.4632454125 + -4.1727361764 + -14.8642370894 + -2.7955785492 + -15.8483279174 + 0.0496845238 + -0.5996483023 + 1.8964966717 + 0.3390298526 + -0.1201248102 + -0.0188024987 + -0.0141944877 + 4.6623965704 + 0.4448445064 + 4.7001340100 + 9.0938192343 + 5.6639833084 + 15.8715759169 + -0.2819911639 + 17.7965300280 + -0.2657376772 + 0.3427250573 + -1.7934924015 + -0.5326883130 + -0.3458486349 + 0.8828512805 + 0.0839867598 + -1.9451820885 + -0.3317388740 + -6.3976767103 + -4.8831971486 + -6.1529915364 + -8.3258039508 + -0.7304247530 + -10.6762193371 + -0.0619849195 + 0.6833891261 + 1.1321101392 + 1.5189474974 + 0.8091910034 + -0.4832147425 + 0.6131764657 + 5.6923897134 + 0.6053343045 + -1.9694914705 + 0.3799269381 + 9.8160511570 + 1.0374557748 + 1.3094141915 + 4.9214996085 + -0.1671823276 + 0.5269884404 + -1.4928260066 + 3.5933927579 + -0.6075047742 + -0.9664064340 + -0.3942950959 + -0.1377803644 + 0.2521050466 + 5.7791791722 + 3.3728303276 + 2.9471440819 + -5.5439130947 + -2.1222069957 + -0.2880218555 + -1.0326338313 + 0.7834222831 + -1.7170205429 + 3.9558683464 + -0.4696527360 + -0.5938982013 + 0.3094809069 + 1.0113262823 + -0.2792863685 + 6.3201058234 + 3.2536021181 + 3.9598365927 + -8.3797488249 + -2.6311009528 + 1.6960205406 + -0.6987155581 + 0.3318220146 + -2.0406817761 + -9.2174020908 + -0.0375185567 + 0.2215013022 + 0.7799364337 + 1.7303061203 + -0.7952352400 + -14.8732287417 + -6.3063981540 + -8.8367136033 + 17.9294990269 + 5.5410186845 + -2.1199191661 + 0.0469455904 + 0.8840810607 + 3.9885973402 + -8.6203429065 + 0.8365508614 + 0.1998425362 + 0.7173053040 + 1.8742677885 + 1.1912025555 + -15.1765978173 + -6.5520192416 + -8.1054232301 + 15.3107680428 + 5.9083248313 + -1.8965495991 + -1.3058675055 + -0.4609507524 + 3.7607809859 + 6.1515695742 + 0.8964650478 + 0.0132009670 + -0.1253507133 + -4.6531757219 + -0.9274234726 + 16.0134560479 + 2.9851444092 + 6.4561009121 + -13.5392896789 + -2.7991124915 + 3.4735258808 + 0.9466920873 + -0.1494175781 + -1.8480916878 + 4.7822416481 + -0.5610487365 + -0.5876763302 + 0.9028797162 + -4.9465904163 + 0.8969373419 + 10.4205362490 + 1.6009143173 + 4.5844308166 + -6.9840005129 + -3.1980954268 + 0.0560923092 + 0.4842579084 + 0.3004843409 + -1.3151365390 + -0.1559130642 + -0.4010547755 + -0.1915874464 + -0.0052879449 + -1.4259666728 + -0.5111292486 + -3.0237835479 + -0.7863345524 + -0.5562497465 + 0.6734182387 + -0.4443705058 + -0.4884574283 + -0.9397495955 + 0.2612642598 + -0.0246143466 + -0.0275858086 + -0.0797256385 + 0.5778345346 + -0.3302398916 + 2.5676070094 + -0.8300118313 + -3.7633208111 + 3.4053939202 + -0.8060302027 + 0.1840297527 + -0.8456343226 + 0.1000392179 + -0.8434174869 + 0.0246289811 + -0.6680615628 + 0.5422450051 + -0.4528259084 + 0.0954801210 + 0.7321282634 + 0.5435169333 + 0.6302249379 + 1.3291015417 + -1.9254488404 + -0.0943154466 + -1.1882533758 + 0.4425674088 + -1.3790437082 + 0.6920007713 + 0.3736859099 + -0.9865545500 + 0.1041226365 + -0.5526284150 + -3.3926645930 + -6.2229126731 + -2.8717121871 + 1.7064800726 + -5.8282081950 + 0.4290033023 + -2.3261503376 + 4.1246750583 + 1.6985633157 + 2.1595876927 + 0.8432383368 + 1.9421521949 + 4.3255607806 + 0.7745027078 + 0.0479406723 + 0.1348725443 + 0.2638790852 + -0.8231315950 + 0.0971307370 + -1.3724806822 + 1.3080132446 + 2.7158085227 + -1.4528222035 + 1.4997798664 + -0.8086262828 + -0.3478435603 + -0.1555429197 + 1.7523379918 + -0.2009137027 + 0.8665440879 + 0.3278929639 + -0.8979039594 + -1.4134630216 + 0.3516331616 + 0.2667711454 + 1.1704619189 + 1.2331168155 + -1.0516586201 + -0.0073087322 + -0.6698191387 + 0.5836412040 + 0.4855962380 + 1.5595945830 + -0.1079529198 + 0.0213740317 + -1.0903869309 + -0.3373775139 + 0.0446392485 + -0.1758059561 + 0.8630714526 + 0.0908510216 + -2.3427650437 + 1.1937462277 + 0.0740606756 + 0.5622901549 + 0.1758851466 + -1.1272812393 + -0.3592638252 + 0.5186666183 + -0.2250047554 + 0.5528585716 + -0.3455587528 + 0.0428358666 + 0.1172680719 + -0.4058253862 + 0.4924075101 + 2.0217379079 + 3.1042481131 + 0.4332090417 + 6.9667942406 + -0.3176725371 + 0.3279931559 + 0.6041927627 + 0.6803781499 + -0.3973802682 + -0.0553230291 + -0.0385451323 + 0.2238450957 + -0.4018308356 + 0.4722996393 + -0.5515614791 + -2.1703465672 + 1.0302948749 + -1.0927769604 + 0.7856772906 + 0.6362012727 + -1.1486527975 + 0.0179436419 + -2.1120622265 + -1.9119376374 + -2.7897309323 + 0.8053365012 + 3.4134947954 + 2.1814491203 + 0.0847025139 + -4.4798886652 + 2.9716216598 + -3.7346234232 + -2.9909962936 + -3.9019453199 + -0.5060228124 + 0.1036890282 + -4.5674537213 + -0.3648125810 + 0.3270793774 + -0.3357757156 + -0.2421206903 + -0.0471117253 + 0.0682029655 + 0.1511295934 + -0.5446574617 + -2.6349615933 + 0.5140742134 + -0.3464157217 + -4.1056655829 + 0.2465188833 + -0.1948960753 + -0.4342445899 + 0.5030375945 + -1.8599932897 + -1.6852546092 + 0.9365282949 + -0.7148243013 + -2.1405406624 + 0.9422050207 + 0.8571312076 + 2.5981051522 + 7.2976554105 + 0.9182423307 + -3.3423024908 + 0.7999435592 + 0.2083713519 + 0.5108996677 + 0.6431498592 + 0.0963918304 + 0.5782890984 + -0.8102285415 + -0.2091224511 + -0.5709434107 + -0.6789992386 + 0.0022317348 + 1.2939931634 + -0.1156861901 + 0.8692050228 + 6.5305558004 + 0.0109932519 + 0.1647647685 + 0.4904353940 + 0.0776523607 + 0.0185820563 + -0.1337386816 + -0.1763838126 + 0.0814117322 + 0.7318259294 + 0.0325979512 + -0.3224999897 + -2.3964278011 + 2.3567322353 + 0.6171091279 + -1.0301454644 + 0.2714243349 + 0.4905459784 + -0.5781350963 + -0.3163809972 + 0.2862057348 + -0.4805553828 + -2.0975994539 + -2.0805542719 + -1.2548114052 + -1.1062476805 + 0.9030303736 + 2.2063631933 + -6.3075486986 + -0.4984383078 + -3.9096807144 + 0.9400471251 + 0.4596025432 + 2.6534515209 + 0.0226273478 + 1.6704101679 + -1.0479252326 + 0.2343723920 + -0.2185297141 + -0.1113286326 + -1.1073786918 + 1.0065083581 + 2.9304615811 + -1.0104260884 + -1.0820432789 + -0.4179347878 + 0.7721836413 + 0.1451057059 + 0.6532977359 + -1.0815478372 + -0.6034377789 + -0.5513831402 + -0.0012614559 + -0.4557237774 + -0.0050613247 + 0.8988746514 + -1.3446647405 + -2.6856774186 + -0.1341463627 + -1.6433285083 + -0.7246325426 + -1.1331907616 + -0.0459564783 + -1.0797095312 + -1.7105561841 + -0.7337985039 + -1.2920391443 + -1.6848861278 + -1.5775549050 + -0.3786806667 + -1.0359066130 + -0.8102494474 + 0.4576366039 + 11.7609176548 + -2.3761850056 + -10.9837733783 + 0.7583367947 + -1.7922067893 + 1.6582698081 + -0.5344728523 + -0.4992711101 + 0.4270114570 + 0.5780322899 + 1.3373685078 + -1.2748658066 + 0.9633816591 + 0.0042092331 + -2.5311012964 + -0.1731143414 + -0.7519165310 + 0.3636759151 + 0.0674839662 + -1.0241027674 + -0.2383511541 + 0.0869485028 + 0.0277943506 + -0.0235403549 + 0.5541846647 + 0.0601400403 + -0.0034346068 + 0.2287817481 + -0.0845925689 + 7.3436938458 + -0.0030422222 + -0.0424364601 + -0.0023505530 + 0.1900700609 + 0.2722696006 + 0.0800229672 + 7.9716004770