Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Load data using PANDAS data frames

Now you can start using your data and load three different NumPy arrays! One corresponds corresponding to the VBF Image Removed Image Added signal and the other two will represent corresponding to the production of the Higgs boson production via the strong interaction processes (in jargon, QCD) background processes and Image Removed Image Added that will be used as a merged background.

Moreover, you will look at the physical observables that you can use to train the ML algorithms.

#import scientific libraries 
import uproot
import numpy as np
import pandas as pd
import h5py
import seaborn as sns

from sklearn.utils import shuffle
from sklearn.model_selection import train_test_split
from sklearn.datasets import make_classification

import tensorflow as tf
from tensorflow import keras
from tensorflow.keras.models import Sequential, Model
from tensorflow.keras.optimizers import SGD, Adam, RMSprop, Adagrad, Adadelta
from tensorflow.keras.layers import Input, Activation, Dense, Dropout
from tensorflow.keras.callbacks import EarlyStopping, ReduceLROnPlateau, ModelCheckpoint
from tensorflow.keras import utils
from tensorflow import random as tf_random
from keras.utils import plot_model
import random as python_random

...