This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <properties> | |
| <maven.compiler.source>1.6</maven.compiler.source> | |
| <maven.compiler.target>1.6</maven.compiler.target> | |
| </properties> | |
| <repositories> | |
| </repositories> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.mycompany.app</groupId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ipdb # noqa | |
| import matplotlib | |
| import numpy as np | |
| import color | |
| import tsp | |
| import matplotlib.pyplot as plt | |
| from tqdm import tqdm | |
| plt.ion() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| network_dimensions: [11, 47, 6], | |
| hidden_activation_function: relu, | |
| output_activation_function: softmax, | |
| loss_function: log, | |
| learning_rate: 0.01, | |
| initial_weight_range: [-0.1, 0.1], | |
| data_source: data/wine/, | |
| case_fraction: 1.0, | |
| validation_fraction: 0.1, | |
| test_fraction: 0.1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| network_dimensions: [784, 100, 50, 10] | |
| hidden_activation_function: sigmoid | |
| output_activation_function: softmax | |
| loss_function: mse | |
| learning_rate: 0.01 | |
| initial_weight_range: [-0.08, 0.08] | |
| data_source: data/mnist/ | |
| case_fraction: 1.0 | |
| validation_fraction: 0.1 | |
| test_fraction: 0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| network_dimensions: [8, 100, 100, 100, 40, 10] | |
| hidden_activation_function: tanh | |
| output_activation_function: identity | |
| loss_function: mse | |
| learning_rate: 0.01 | |
| initial_weight_range: [-0.08, 0.08] | |
| data_source: data/yeast/ | |
| case_fraction: 1.0 | |
| validation_fraction: 0.1 | |
| test_fraction: 0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import seaborn as sns | |
| from parse import state_to_occupancy | |
| from graphics import Rectangle, Point | |
| import time | |
| def gen_rectangle(o, x, y, l, color='black', dx=100, dy=100): | |
| p1 = Point(x*dx, y*dy) | |
| if o == 0: # horizontal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * steeringEncoder.c | |
| * | |
| * Created: 02.02.2016 22:40:47 | |
| * Author: Daniel | |
| */ | |
| #include "steeringEncoder.h" | |
| #include <avr/io.h> | |
| #include <avr/interrupt.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * damper_position_calculation.h | |
| * | |
| * Created: 23.03.2016 14:56:44 | |
| * Author: Daniel | |
| */ | |
| #ifndef DAMPER_POSITION_CALCULATION_H_ | |
| #define DAMPER_POSITION_CALCULATION_H_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * damper_position_calculation.c | |
| * | |
| * Created: 23.03.2016 14:56:20 | |
| * Author: Daniel | |
| */ | |
| #include <string.h> | |
| #include "damper_position_calculation.h" | |
| #include "../../ADC1118/ads1118.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * timer.c | |
| * | |
| * Created: 17.04.2016 14:28:20 | |
| * Author: mikaelpc | |
| */ | |
| #include <avr/interrupt.h> | |
| #include <stdlib.h> | |
| #include "timer.h" |