Week 4: New structure, correlation matrix, input variables
This week I moved from old repository to new GSOC repository.
This project won’t have c++ library for now. JPyInterface register now a IPython magic %jsmva on
will call the function register methods. This methods will inject the drawing methods to DataLoader and Factory.
Correlation matrix
The data loader method for correlation matrix moved to
This method will return a histogram object containing the correlation matrix. I forked the root project I added this new method, and created my first pull request. The JPyInterface module now will use this method, to get histogram form DataLoder and then will use the ROOT::TBufferJSON::ConvertToJSON
function to convert to JSON string.
To create correlation matrix plot we need to call the following method:
Calling this method will result’s the following plot:
ROC curve
I also added drawing method for ROC curve. Factory already has method which generates the histogram, I just call this method, and do the same stuff as for correlation matrix.
Input variables
I created a new method to DataLoder:
This method will return input variable histogram for selected variable and selected class(Signal/Background), also can perform transformations on variables (this transformations will not be saved, just used to create histogram).
No transformation
- Code:
- Result:
Transformed input
- Code:
- Result: