-- TomasCap - 25 Aug 2017 This is my logbook

August

Week 1

  • Check in at MSU office.
  • Get the Spartan card. It helps me to access building and office.
  • AERIE installation (on my personal computer) was solved.
  • First presentation: What things I did and the future work.

Week 2

  • A network with 15 inputs was trained for distinguishing from gamma to hadrons.
  • Choose the best variables and use them as input (variable importance analysis).
  • Create a module that computes the network's output.

Goals from August, 14th to August 25th (Week 3 & 4)

  1. Create a Foswiki
  2. Made an analysis of the most important variable (ranking).
  3. Choose the most significant variables and use them as inputs to the network.
  4. Make a Crab map with the networks trained
  5. Train a network using real data as Background and MC as Signal. Compare the results

Week 3

Week 4

  • A network was trained with all variables of HAWC data stream in order to obtain the ranking of these variables (MC were used).
  • The best variables were chosen and fed as inputs to the networks.
  • Create a Crab Map with the new networks trained.
  • Obtain the ranking (variable importance) using real data.

Goal from August 28th to September 1st

  1. Work on a new version of disMax.
  2. Read information about Boosted Decision Tree (BDT).
  3. Train a BDT with 15 features.
  4. Check why don't have good results when real data are used.

Week 5

  • I've read the Chapter 11 "Decision Tree" in order to understand how to work it.
  • A BDT was trained with Real data as BKG and MC as Signal. But It doesn't answer that I've expected.
  • A BDT was trained with only MC as BKG and Signal. It has a good performance in the bins 4,5,6.
  • Presentation of the MSU meeting (Tuesday, September 5th,2017): The first result using BDT.

September

Goal from September 5th to 8th

  • Make the plot of Energy Vs Q factor of BDT and NN.
  • Repeat the analysis of variable importance but now with the BDT.
  • Train other BDT.

Week 1

  • Explain how to training and verification
  • Make an analysis of Training data vs. Verification data.
  • Create a code that can make Crab map using different months of the year.
  • Using the NN that was trained with MC data, Significance maps were done with data of 2015 and 2017.

Goal from September 11th to 15th

  • Compare the variable between Training dataset vs. Testing dataset in order to look for which variable use as the input of the machine learning.
  • Train a NN and BDT, using MC as signal and real data as Bkg.

Week2

  • Crab maps in the Bin 0 using NN (with 15 inputs) that was trained with MC data.
  • A NN and simple BDT was trained with 10 inputs: Compactness, rec.PINCness, rec.planeChi2, rec.SFCFChi2, rec.logNPE, rec.CxPE40SPTime, rec.LDFAge, rec.LDFAmp, rec.LDFChi2 and rec.disMax
  • Make some Crab maps to check if the NN or BDT has a good performance.
  • In the comparison of Training and verification data. On one hand we compare Bkg vs. Bkg, we need to exclude the data around the crab nebula, and the other hand, the data around the crab nebula are used to compare with signal (MC)

Goal from September 18 to 22

  • Doing an analysis in order to choose which variables will be used to G/H sep
  • Train a NN and BDT.

Week 3

  • Slide of the compare Training and verification data. Result of an NN and BDT trained: 09/19/2017
  • The rectangle cut (RC) was applied using Compactness and PINCness, in order to check if the phases to train is correct.
  • A comparison is done using RC, NN, and SC.
  • There are three sets: Training, Verification, and Testing.
    • Training set is used to fit the model.
    • Validation set is used to estimate prediction error for model selection.
    • Test set is used for assessment of the generalization error of the final chosen model.

Goal from September 25 to 29

  • Use mc.delAngle in the training, verification and testing stage.
  • Compare my results with John's cut and Bredran's cut.
  • Choose a potential parameter.

Week 4

  • Slide of the compare NN, RC and SC 09/26/2017
  • mc.delAngle is used for training a NN and looking for an optimal Rectangle cut.
  • A comparison of using delAngle and do not use it is made.
  • Comparison of John's cut and Breand's cut vs. my NN is started but it does not complete.

October

Goal from October 2 to 6

  • Compare my results with John's cut and Bredran's cut.
  • Choose a potential parameter.
  • Use these parameters as the inputs of NN.

Week 1

  • Slide of the compare using mc.delAngle and does not use it 10/03/2017

Summary of the month from November 2017 and January 2018

This is the list of the presentation in the MSU-HAWC Meeting:

The main results were:

  • Search how John computes his cuts. (See 01/12/2018)
  • Use RC method and compute one cut in each variable per fbin and ebin.
  • Compare the cuts that we get versus John's cuts (See 01/26/2018).
    • In this task, we learned that we depend on the data that we used in the training stage.
  • We should verify each input variable in order to be confident that the MC data has the same distribution on the real data.
  • In the last results using Neural Networks, we see in some bins we have a bit increased when we used MC data but when the Significance Crab maps are made, in some bins this increase don't see reflected.

February 2018

Monthly goal

  • Make a comparison of MC Vs. Real data using the most recent simulation (take 4) and real data of 2017.
  • Select potencial variable to use as input parameter.
  • Start to work a new variable or do a version 2 of disMax
  • Explore other option to train like LLP (Learning from label proportions), CWoLa ( Clasification without labels), etc.
Topic attachments
I Attachment Action Size Date Who Comment
20170818_ChooseFeatures.pdfpdf 20170818_ChooseFeatures.pdf manage 2570.3 K 25 Aug 2017 - 22:06 TomasCap  
20170905BDT.pdfpdf 20170905BDT.pdf manage 3085.9 K 05 Sep 2017 - 15:50 TomasCap The first results using Boost Decision Tree
20170912_MapsBin0And1.pdfpdf 20170912_MapsBin0And1.pdf manage 1811.7 K 18 Sep 2017 - 21:08 TomasCap Maps of the Crab nebula in Bin 0 and 1. Compare the maps of Standartd cut vs NN that was trained using MC data
20170919_compareTAndV.pdfpdf 20170919_compareTAndV.pdf manage 5040.5 K 19 Sep 2017 - 15:05 TomasCap Presentation of Sep 19th, 2017
BringingToTheTable.pdfpdf BringingToTheTable.pdf manage 1100.3 K 25 Aug 2017 - 21:31 TomasCap What things I did about gamma/hadron separation using neural network
Topic revision: r10 - 05 Feb 2018, TomasCap
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback