[root] / trunk / tmva / src / PDEFoamDecisionTreeDensity.cxx Repository:
ViewVC logotype

Log of /trunk/tmva/src/PDEFoamDecisionTreeDensity.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 47596 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 23 09:59:03 2012 UTC (2 years, 2 months ago) by hvoss
File length: 7459 byte(s)
Diff to previous 39848
Finally an update of the trunk with latest patches and other fixes from dev

Revision 39848 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 21 11:52:58 2011 UTC (3 years, 7 months ago) by evt
File length: 7462 byte(s)
Diff to previous 38475
copy tmva/dev 39001:39355 to trunk

Revision 38475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 17 10:46:00 2011 UTC (3 years, 10 months ago) by evt
File length: 7265 byte(s)
Copied from: branches/dev/tmva/src/PDEFoamDecisionTreeDensity.cxx revision 38471
Diff to previous 38351
copying tmva/dev to trunk

Revision 38351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 9 21:34:12 2011 UTC (3 years, 10 months ago) by hoecker
Original Path: branches/dev/tmva/src/PDEFoamDecisionTreeDensity.cxx
File length: 7265 byte(s)
Diff to previous 37683
remove warnings

Revision 37683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 09:03:52 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmva/src/PDEFoamDecisionTreeDensity.cxx
File length: 7078 byte(s)
Copied from: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDecisionTreeDensity.cxx revision 37682
Diff to previous 37678
Merge complete branch  dev/tmvaValidation/PDEFoam3  into  dev/tmva


Release notes:
==============

New PDEFoam structure:
----------------------

The different PDEFoam variants are now subclasses of the class
TMVA::PDEFoam.  These variants are:

  - PDEFoamEvent        (stores the number of events)
  - PDEFoamDiscriminant (stores the discriminant)
  - PDEFoamTarget       (stores a single target)
  - PDEFoamMultiTarget  (variation of PDEFoamEvent)
  - PDEFoamDecisionTree (decision tree-like cell splitting)

Per default PDEFoam stores in the cells the number of events (event
weights) and therefore acts as an event density estimator.  However,
the above listed derived classes override this behaviour to implement
certain PDEFoam variations.

The different PDEFoam's density estimators are now derived classes of
the abstract interface class TMVA::PDEFoamDensityBase.  These density
estimators are:

  - PDEFoamEventDensity        (estimates the event density)
  - PDEFoamDiscriminantDensity (estimates the discriminant density)
  - PDEFoamTargetDensity       (estimates the target density)
  - PDEFoamDecisionTreeDensity (estimates decision tree separation type)

The various PDEFoam kernels are now separate from the PDEFoam class.
The abstract kernel interface is provided by the class
TMVA::PDEFoamKernelBase.  The concrete classes PDEFoamKernelTrivial,
PDEFoamKernelLinN and PDEFoamKernelGauss implement specific kernel
estimators.

Extended PDEFoam functionality:
-------------------------------

  * Multiclass classification via training of one discriminator foam
    for each variable.

  * The cell tree can now be plotted from the macro test/PlotFoams.C
    This makes it easyer to compare the PDEFoam structure to a
    decision tree etc.

  * Variable importance ranking by counting the number of cuts made in
    the diverse dimensions.  The variable, for which the most cuts
    were done is ranked highest.

Fixed bugs:
-----------

  * The size of the sampling box in each dimension was 2*VolFrac times
    the foam size in this dimension.  This was contrast to the
    intention and the documentation in the UserGuide.  This is now
    corrected: The size of the sampling box in each dimension is now
    VolFrac times the foam size in this dimension.  This implies that
    the VolFrac default value must be changed from 0.0333 to 0.0666 to
    lead the same results.

Revision 37678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 21 16:21:53 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDecisionTreeDensity.cxx
File length: 7078 byte(s)
Diff to previous 37677
Implement copy constructors of all PDEFoam kernels and
density estimators.  Note that the copy constructors of
the density estimators rely on the copy constructor of
TMVA::BinarySearchTree, which is not yet implemented.

Revision 37677 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 21 14:07:25 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDecisionTreeDensity.cxx
File length: 7133 byte(s)
Diff to previous 37630
add missig Subversion identification line to all files with name
PDEFoam*

Revision 37630 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 17 14:13:26 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDecisionTreeDensity.cxx
File length: 7084 byte(s)
Diff to previous 37629
Apply ROOT coding conventions to all new PDEFoam classes via astyle.
(The old PDEFoam classes are untouched in order to avoid problems when
merging this branch into dev/tmva later.) 
The used astyle options are:

--style=k/r
--indent=spaces=3 # three spaces per indentation level
--convert-tabs # convert tabs into spaces
--indent-switches # case block is indented wrt switch
--indent-namespaces
--indent-preprocessor # indent pp statements ending on '\'
--max-instatement-indent=60 # if indentation of continuing line is <60, indent
--min-conditional-indent=0 # no extra indent for continued conditions
--pad-oper # space around operands
--pad-header # add a space around () after if, while,...
--unpad-paren # and remove all unwanted padding around parentheses
--suffix=none # no backups - we have subversion
--recursive # so you can do astyle "core/*.cxx" "core/*.h"

Revision 37629 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 17 13:58:07 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDecisionTreeDensity.cxx
File length: 6997 byte(s)
Diff to previous 37627
use const_iterator instead of iterator whenever possible,
in order to help the compiler with optimization

Revision 37627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 17 13:40:18 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDecisionTreeDensity.cxx
File length: 6985 byte(s)
Diff to previous 37580
apply ROOT coding convention: name abstract PDEFoam densiy
class 'PDEFoamDensityBase'

Revision 37580 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 13 19:06:30 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDecisionTreeDensity.cxx
File length: 6973 byte(s)
Diff to previous 37533
update the copyright note

Revision 37533 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 21:12:34 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDecisionTreeDensity.cxx
File length: 6973 byte(s)
Copied from: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx revision 37442
Diff to previous 37416
change name of decision tree like PDEFoam density class in order to
have a consistent naming convention

Revision 37416 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 20:28:41 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 6847 byte(s)
Diff to previous 37349
Make the class PDEFoamDTDensity independent of PDEFoam.  This weakens
the coupling between PDEFoam and PDEFoamDTDensity which makes
PDEFoamDTDensity more versatile.

Revision 37349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 6 19:07:30 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 7774 byte(s)
Diff to previous 37320
Remove dependence of PDEFoamDensity of PDEFoam.  

Now PDEFoamDensity has cleaner interface: It takes only the
range-searching volume box size as an argument.  The special user
parameters fVolFrac and fDim were removed, because they can be
translated into the range-searching volume box.  The return value of
Density() is now exactly the event density (number of events / box
volume) and no longer scaled by the foam volume.

The meaning of VolFrac was slightliy changed: The size of the
range-searching box is now equal to the inverse Volfrac (before it was
2^dim * Volfrac).

It was checked that the old ROC values can be reproduced (but with the
double Volfrac).

Revision 37320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 6 10:59:28 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 7584 byte(s)
Diff to previous 37312
Use internal dimensio instead of PDEFoam dimension

Revision 37312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 6 09:05:47 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 7654 byte(s)
Diff to previous 37310
Weaken the coupling between PDEFoamDensity and PDEFoam.
Step 2: Pass the transformed event vector to PDEFoamDensity

Revision 37310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 6 08:45:33 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 7641 byte(s)
Diff to previous 37282
Weaken the coupling between PDEFoamDensity and PDEFoam.
Step 1: Remove pointer to PDEFoam from PDEFoamDensity

Revision 37282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 4 23:06:39 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 7746 byte(s)
Diff to previous 37281
Bugfix: correct comparison between event class and signal class
in PDEFoamDTDensity

Revision 37281 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 4 23:01:01 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 7776 byte(s)
Diff to previous 37266
generalize the decision tree like PDEFoam density
and make multiclass classification also available
for decision tree like PDEFoam

Revision 37266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 4 18:06:07 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 7717 byte(s)
Diff to previous 37021
add user documentation for the PDEFoam kernel and
density classes

Revision 37021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 27 21:12:08 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam3/src/PDEFoamDTDensity.cxx
File length: 7350 byte(s)
Diff to previous 36992
create branch of dev/tmvaValidation/PDEFoam2 to
revert a bad commit

Revision 36992 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Nov 26 21:34:59 2010 UTC (4 years, 1 month ago) by avoigt
Original Path: branches/dev/tmvaValidation/PDEFoam2/src/PDEFoamDTDensity.cxx
File length: 7350 byte(s)
First step in making PDEFoam more flexible:

* Define abstract class PDEFoamDensity, which defines an interface for
  the various density estimator functions.  The classes
  PDEFoam*Density are concrete derived classes, which implement the
  concrete density to estimate: event density, target density,
  discriminant density, decision tree density

* The decision tree like pdefoam is now a derived class of PDEFoam and
  simply overrides Explore()

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9