Functions | |
def | fac0 (jeta) |
def | fac1 (jeta) |
def | fac2 (jeta) |
def | propweights (y_true) |
Variables | |
_ = plt.plot(lims, lims) | |
list | a0 = [0.973, 0.998, 0.992, 0.965 ] |
marinas correction form More... | |
list | a1 = [0, -0.318, -0.261, -0.406] |
list | a2 = [0, 0, 0.047, 0.089] |
alpha | |
args = parser1.parse_args(args=[]) | |
bins | |
list | cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal_x'] |
data = df.values | |
default | |
df = pd.read_pickle(fName) | |
tuple | dop = (X_test[:,16]/X_test[:,13]) |
tuple | eop = (X_test[:,15]/X_test[:,13]) |
fName = args.input | |
help | |
history = model.fit(X_train,Y_train , batch_size=5000, epochs=50, validation_split=0.2, verbose=1,sample_weight=propweights(Y_train)) | |
list | keya = [] |
label | |
list | lims = [0, 200] |
loc | |
loss | |
tuple | marinascorr = X_test[:,15]*mcorrval |
list | maxa = [] |
tuple | mcorrval = vec0(abs(X_test[:,17])) + vec1(abs(X_test[:,17]))*eop*dop*( 1 + vec2(abs(X_test[:,17]))*dop) |
meany = np.mean(Y_train) | |
list | mina = [] |
model = Sequential() | |
modv = args.modelv | |
int | ntest = 20000 |
optimizer | |
parser1 = argparse.ArgumentParser() | |
pmom = X_test[:,13] | |
preds = model.predict(X_test[:,0:12]) | |
range | |
stdy = np.std(Y_train) | |
targets = data[:,12] | |
int | testindx = data.shape[0] - ntest |
uncorrected = X_test[:,15] | |
vec0 = np.vectorize(fac0) | |
vec1 = np.vectorize(fac1) | |
vec2 = np.vectorize(fac2) | |
X_test = data[testindx:,:] | |
X_train = data[:testindx,0:12] | |
Y_train = data[:testindx,12] | |
def isotrackTrainRegressorNoOptimization.fac0 | ( | jeta | ) |
Definition at line 135 of file isotrackTrainRegressorNoOptimization.py.
References createfilelist.int.
def isotrackTrainRegressorNoOptimization.fac1 | ( | jeta | ) |
Definition at line 141 of file isotrackTrainRegressorNoOptimization.py.
References createfilelist.int.
def isotrackTrainRegressorNoOptimization.fac2 | ( | jeta | ) |
Definition at line 147 of file isotrackTrainRegressorNoOptimization.py.
References createfilelist.int.
def isotrackTrainRegressorNoOptimization.propweights | ( | y_true | ) |
Definition at line 174 of file isotrackTrainRegressorNoOptimization.py.
References funct.abs().
Definition at line 270 of file isotrackTrainRegressorNoOptimization.py.
list isotrackTrainRegressorNoOptimization.a0 = [0.973, 0.998, 0.992, 0.965 ] |
marinas correction form
Definition at line 132 of file isotrackTrainRegressorNoOptimization.py.
list isotrackTrainRegressorNoOptimization.a1 = [0, -0.318, -0.261, -0.406] |
Definition at line 133 of file isotrackTrainRegressorNoOptimization.py.
list isotrackTrainRegressorNoOptimization.a2 = [0, 0, 0.047, 0.089] |
Definition at line 134 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.alpha |
Definition at line 230 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.args = parser1.parse_args(args=[]) |
Definition at line 43 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.bins |
Definition at line 230 of file isotrackTrainRegressorNoOptimization.py.
list isotrackTrainRegressorNoOptimization.cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal_x'] |
Definition at line 90 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.data = df.values |
Definition at line 96 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.default |
Definition at line 40 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.df = pd.read_pickle(fName) |
Definition at line 59 of file isotrackTrainRegressorNoOptimization.py.
Definition at line 164 of file isotrackTrainRegressorNoOptimization.py.
Definition at line 163 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.fName = args.input |
Definition at line 45 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.help |
Definition at line 40 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.history = model.fit(X_train,Y_train , batch_size=5000, epochs=50, validation_split=0.2, verbose=1,sample_weight=propweights(Y_train)) |
Definition at line 206 of file isotrackTrainRegressorNoOptimization.py.
list isotrackTrainRegressorNoOptimization.keya = [] |
Definition at line 74 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.label |
Definition at line 230 of file isotrackTrainRegressorNoOptimization.py.
list isotrackTrainRegressorNoOptimization.lims = [0, 200] |
Definition at line 267 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.loc |
Definition at line 217 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.loss |
Definition at line 201 of file isotrackTrainRegressorNoOptimization.py.
Definition at line 229 of file isotrackTrainRegressorNoOptimization.py.
list isotrackTrainRegressorNoOptimization.maxa = [] |
Definition at line 73 of file isotrackTrainRegressorNoOptimization.py.
tuple isotrackTrainRegressorNoOptimization.mcorrval = vec0(abs(X_test[:,17])) + vec1(abs(X_test[:,17]))*eop*dop*( 1 + vec2(abs(X_test[:,17]))*dop) |
Definition at line 168 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.meany = np.mean(Y_train) |
Definition at line 122 of file isotrackTrainRegressorNoOptimization.py.
list isotrackTrainRegressorNoOptimization.mina = [] |
Definition at line 72 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.model = Sequential() |
Definition at line 188 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.modv = args.modelv |
Definition at line 46 of file isotrackTrainRegressorNoOptimization.py.
int isotrackTrainRegressorNoOptimization.ntest = 20000 |
Definition at line 108 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.optimizer |
Definition at line 201 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.parser1 = argparse.ArgumentParser() |
Definition at line 39 of file isotrackTrainRegressorNoOptimization.py.
Referenced by CompareDDCompactViews.beginRun().
isotrackTrainRegressorNoOptimization.pmom = X_test[:,13] |
Definition at line 279 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.preds = model.predict(X_test[:,0:12]) |
Definition at line 226 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.range |
Definition at line 230 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.stdy = np.std(Y_train) |
Definition at line 124 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.targets = data[:,12] |
Definition at line 98 of file isotrackTrainRegressorNoOptimization.py.
int isotrackTrainRegressorNoOptimization.testindx = data.shape[0] - ntest |
Definition at line 109 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.uncorrected = X_test[:,15] |
Definition at line 228 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.vec0 = np.vectorize(fac0) |
Definition at line 158 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.vec1 = np.vectorize(fac1) |
Definition at line 159 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.vec2 = np.vectorize(fac2) |
Definition at line 160 of file isotrackTrainRegressorNoOptimization.py.
isotrackTrainRegressorNoOptimization.X_test = data[testindx:,:] |
Definition at line 118 of file isotrackTrainRegressorNoOptimization.py.
Definition at line 116 of file isotrackTrainRegressorNoOptimization.py.
Definition at line 117 of file isotrackTrainRegressorNoOptimization.py.