I hereby claim:
- I am timctran on github.
- I am timctran (https://keybase.io/timctran) on keybase.
- I have a public key ASCL2s6juPe10sdsLFYU45bGmG5_YtcA-nC6T938UGr9ggo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Code changed for Python 3 | |
import numpy as np | |
class AdaBoost: | |
def __init__(self, training_set): | |
self.training_set = training_set # read training set | |
self.N = len(self.training_set) # length of training set | |
self.weights = np.ones(self.N)/self.N # uniform weight | |
self.RULES = [] | |
self.ALPHA = [] |
/** | |
* jQuery MD5 hash algorithm function | |
* | |
* <code> | |
* Calculate the md5 hash of a String | |
* String $.md5 ( String str ) | |
* </code> | |
* | |
* Calculates the MD5 hash of str using the » RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash. | |
* MD5 (Message-Digest algorithm 5) is a widely-used cryptographic hash function with a 128-bit hash value. MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of data. The generated hash is also non-reversable. Data cannot be retrieved from the message digest, the digest uniquely identifies the data. |
// basic json document template | |
var graphBaseTemplate = { | |
'_id': '0012938801abfe', //auto assigned by database | |
'kHospitalName': 'Kaiser', | |
'kHospitalId': '0012938801abf1', | |
'kGraphName': 'dashboardBloodOverview', | |
'kGraphId': '0012938801abf2', | |
'datasets': datasets | |
}; |