Nitish Srivastava and Ruslan R Salakhutdinov. Multimodal learning with deep boltzmann machines.
This file contains 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
# Copyright (c) 2017 Mario Tambos | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 | |
class RingBuffer(np.ndarray): | |
'A multidimensional ring buffer.' | |
def __new__(cls, input_array): | |
obj = np.asarray(input_array).view(cls) | |
return obj |
This file contains 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
timestamp,V5 | |
datetime,float | |
T, | |
2014-10-07 00:00:00,4.8 | |
2014-10-07 00:00:00.020000,4.79 | |
2014-10-07 00:00:00.040000,4.8100000000000005 | |
2014-10-07 00:00:00.060000,4.838 | |
2014-10-07 00:00:00.080000,4.8839999999999995 | |
2014-10-07 00:00:00.100000,4.956 | |
2014-10-07 00:00:00.120000,5.026000000000001 |
This file contains 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
SWARM_DESCRIPTION = { | |
'includedFields': [ | |
{ | |
'fieldName': 'timestamp', | |
'fieldType': 'datetime', | |
}, | |
{ | |
'fieldName': 'V5', | |
'fieldType': 'float', | |
}, |
This file contains 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
MODEL_PARAMS = ( | |
{ 'aggregationInfo': { 'days': 0, | |
'fields': [], | |
'hours': 0, | |
'microseconds': 0, | |
'milliseconds': 0, | |
'minutes': 0, | |
'months': 0, | |
'seconds': 0, | |
'weeks': 0, |