diff --git a/CMakeLists.txt b/CMakeLists.txt index bba2d728e4539edaad441564cf4a22a176c8ff75..a97835c1f9f2a624306cea89ddc1ba7589548c16 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,11 +47,13 @@ lhcb_add_subdirectories( Phys/DaVinciNeutralTools Phys/DaVinciOverlapsAndClones Phys/DaVinciPVTools + Phys/DaVinciTools Phys/DaVinciTransporter Phys/DaVinciTypes Phys/DecayTreeFitter Phys/ExtraInfoTools Phys/FlavourTagging + Phys/FunctionalFlavourTagging Phys/GenericVertexFinder Phys/HighPtJets Phys/JetAccessories diff --git a/MicroDST/MicroDSTAlgorithm/src/CopyLinePersistenceLocations.cpp b/MicroDST/MicroDSTAlgorithm/src/CopyLinePersistenceLocations.cpp index 1ac0f105d91bd4d1bcc79031287a4d922a83a0f6..c915bfac31640debd2f842cd4cca6b2bc3f5cb2a 100644 --- a/MicroDST/MicroDSTAlgorithm/src/CopyLinePersistenceLocations.cpp +++ b/MicroDST/MicroDSTAlgorithm/src/CopyLinePersistenceLocations.cpp @@ -14,6 +14,7 @@ #include <Event/CaloCluster.h> #include <Event/CaloHypo.h> +#include <Event/FlavourTag.h> #include <Event/Particle.h> #include <Event/ProtoParticle.h> #include <Event/RecVertex.h> @@ -43,9 +44,10 @@ DECLARE_COMPONENT( CopyLinePersistenceLocations ) // ensure that the explicit cloners have priority over implicit cloners, which // go down the dependency tree. const std::vector<CLID> CopyLinePersistenceLocations::cloneOrderByClassID = { - KeyedContainer<LHCb::CaloCluster>::classID(), KeyedContainer<LHCb::CaloHypo>::classID(), + KeyedContainer<LHCb::CaloCluster>::classID(), KeyedContainer<LHCb::CaloHypo>::classID(), KeyedContainer<LHCb::ProtoParticle>::classID(), KeyedContainer<LHCb::Particle>::classID(), - KeyedContainer<LHCb::RecVertex>::classID()}; + KeyedContainer<LHCb::RecVertex>::classID(), KeyedContainer<LHCb::FlavourTag>::classID(), +}; CopyLinePersistenceLocations::CopyLinePersistenceLocations( const std::string& name, ISvcLocator* svcLocator ) : MicroDSTCommon<GaudiAlgorithm>( name, svcLocator ) { @@ -81,6 +83,7 @@ StatusCode CopyLinePersistenceLocations::initialize() { registerCloner<LHCb::CaloHypo>( m_caloHypoCloner, m_cloners ); registerCloner<LHCb::Particle>( m_particleCloner, m_cloners ); registerCloner<LHCb::ProtoParticle>( m_protoParticleCloner, m_cloners ); + registerCloner<LHCb::FlavourTag>( m_flavourtagCloner, m_cloners ); // Vertex cloners are specialised with the VertexBase class, but we // want to support KeyedContainers of RecVertex, not VertexBase registerCloner<LHCb::RecVertex, LHCb::VertexBase>( m_vertexCloner, m_cloners ); diff --git a/MicroDST/MicroDSTAlgorithm/src/CopyLinePersistenceLocations.h b/MicroDST/MicroDSTAlgorithm/src/CopyLinePersistenceLocations.h index 697d4c7fb7e0a38d7cd65d6972d44f506a3dd96b..3a624c29533b7b9c87e521238d9d4b194abe0379 100644 --- a/MicroDST/MicroDSTAlgorithm/src/CopyLinePersistenceLocations.h +++ b/MicroDST/MicroDSTAlgorithm/src/CopyLinePersistenceLocations.h @@ -24,6 +24,7 @@ #include <Kernel/ILinePersistenceSvc.h> #include <MicroDST/ICloneCaloCluster.h> #include <MicroDST/ICloneCaloHypo.h> +#include <MicroDST/ICloneFlavourTag.h> #include <MicroDST/ICloneParticle.h> #include <MicroDST/ICloneProtoParticle.h> #include <MicroDST/ICloneVertexBase.h> @@ -49,6 +50,7 @@ * * LHCb::Particle, with the cloner defined by the `ICloneParticle` property * * LHCb::ProtoParticle, with the cloner defined by the `ICloneProtoParticle` property * * LHCb::VertexBase, with the cloner defined by the `ICloneVertexBase` property + * * LHCb::FlavourTag, with the cloner defined by the `ICloneFlavourTag` property * * To accommodate different cloner types for PersistReco (a.k.a. * Turbo++/TurboPP) lines, the `TurboPPICloneVertexBase` property allows the @@ -117,6 +119,9 @@ private: /// Implementation of ICloneCaloHypo used to clone LHCb::CaloHypo objects. ToolHandle<ICloneCaloHypo> m_caloHypoCloner{this, "ICloneCaloHypo", "CaloHypoCloner/CaloHypoCloner"}; + /// Implementation of ICloneFlavourTag used to clone LHCb::FlavourTag objects + ToolHandle<ICloneFlavourTag> m_flavourtagCloner{this, "ICloneFlavourTag", "FlavourTagCloner"}; + /// Implementation of ICloneParticle used to clone LHCb::Particle objects. ToolHandle<ICloneParticle> m_particleCloner{this, "ICloneParticle", "ParticleCloner"}; @@ -177,5 +182,8 @@ private: template <typename KeyedObjectToClone, typename ClonerSourceObject = KeyedObjectToClone, typename Cloner = ToolHandle<MicroDST::ICloner<ClonerSourceObject>>> void cloneKeyedContainer( const KeyedContainer<KeyedObjectToClone>& container, Cloner cloner ) const; + + void cloneFlavourTags( const KeyedContainer<LHCb::FlavourTag>& container, + std::string originalBCandidateLocation ) const; }; #endif // MICRODST_COPYLINEPERSISTENCELOCATIONS_H diff --git a/MicroDST/MicroDSTBase/include/MicroDST/MicroDSTCommon.h b/MicroDST/MicroDSTBase/include/MicroDST/MicroDSTCommon.h index 6c3bc6f18c415167ad69ab0bc17f75be3064b47a..9a387d291722fedc0731fe0ff8990cdf6d4ac8f0 100755 --- a/MicroDST/MicroDSTBase/include/MicroDST/MicroDSTCommon.h +++ b/MicroDST/MicroDSTBase/include/MicroDST/MicroDSTCommon.h @@ -82,7 +82,7 @@ public: * @author Juan Palacios juancho@nikhef.nl */ template <class Cloner> - inline typename Cloner::Type* cloneKeyedContainerItem( const typename Cloner::Type* item ); + inline typename Cloner::Type* cloneKeyedContainerItem( const typename Cloner::Type* item ) const; /** * @@ -107,7 +107,7 @@ public: * @author Juan Palacios juancho@nikhef.nl */ template <class T> - inline T* getOutputContainer( const std::string& location ); + inline T* getOutputContainer( const std::string& location ) const; /** * @@ -131,6 +131,8 @@ public: return PBASE::template getIfExists<T>( location ); } + std::string niceLocationName( const std::string& location ) const; + protected: inline const std::string& outputPrefix() const { return m_outputPrefix; } @@ -144,7 +146,6 @@ protected: * @author Juan Palacios juancho@nikhef.nl * */ - std::string niceLocationName( const std::string& location ) const; /// Select TES location below a given root based on CLID void selectContainers( const DataObject* obj, std::set<std::string>& names, const unsigned int classID, diff --git a/MicroDST/MicroDSTBase/include/MicroDST/MicroDSTCommon.icpp b/MicroDST/MicroDSTBase/include/MicroDST/MicroDSTCommon.icpp index 873b03ab6d5572a60ae581c0b40e62fb2517e977..12a68c4f78575bacce619cfe502fe8e139a428cd 100755 --- a/MicroDST/MicroDSTBase/include/MicroDST/MicroDSTCommon.icpp +++ b/MicroDST/MicroDSTBase/include/MicroDST/MicroDSTCommon.icpp @@ -28,7 +28,6 @@ StatusCode MicroDSTCommon<PBASE>::initialize() { if ( !PBASE::rootInTES().empty() ) m_rootInTES = PBASE::rootInTES(); this->debug() << "Set rootInTES to " << m_rootInTES << endmsg; - return sc; } @@ -133,7 +132,8 @@ MicroDSTCommon<PBASE>::copyKeyedContainer( const typename Cloner::Type::Containe template <class PBASE> template <class itemCloner> -typename itemCloner::Type* MicroDSTCommon<PBASE>::cloneKeyedContainerItem( const typename itemCloner::Type* item ) { +typename itemCloner::Type* +MicroDSTCommon<PBASE>::cloneKeyedContainerItem( const typename itemCloner::Type* item ) const { if ( !item ) { if ( this->msgLevel( MSG::DEBUG ) ) this->debug() << "Cannot clone a NULL pointer !" << endmsg; return nullptr; @@ -154,6 +154,8 @@ typename itemCloner::Type* MicroDSTCommon<PBASE>::cloneKeyedContainerItem( const // try and get clone auto clonedItem = clones->object( item->key() ); + // std::cout << "cloneKeyedContainerItem: Cloning item key " << item->key() << " in " + // << item->parent()->registry()->identifier() << " to " << cloneLocation << std::endl; if ( !clonedItem ) { if ( this->msgLevel( MSG::DEBUG ) ) { this->debug() << "cloneKeyedContainerItem: Cloning item key " << item->key() << " in " @@ -199,7 +201,7 @@ T* MicroDSTCommon<PBASE>::getStoredClone( const KeyedObject<int>* original ) { template <class PBASE> template <class T> -T* MicroDSTCommon<PBASE>::getOutputContainer( const std::string& location ) { +T* MicroDSTCommon<PBASE>::getOutputContainer( const std::string& location ) const { auto t = getIfExists<T>( location ); if ( !t ) { t = new T(); diff --git a/MicroDST/MicroDSTTools/src/FlavourTagCloner.cpp b/MicroDST/MicroDSTTools/src/FlavourTagCloner.cpp index 82e14272e6d39075ccf6711a2c19e1a8e3840e92..53dfd02e2c99a933f4bda11d7aff6ab76f68ca90 100755 --- a/MicroDST/MicroDSTTools/src/FlavourTagCloner.cpp +++ b/MicroDST/MicroDSTTools/src/FlavourTagCloner.cpp @@ -32,11 +32,18 @@ LHCb::FlavourTag* FlavourTagCloner::clone( const LHCb::FlavourTag* tag ) { // Clone the FT object LHCb::FlavourTag* tmp = cloneKeyedContainerItem<BasicFTCopy>( tag ); - // Update the Particle SmartRef - tmp->setTaggedB( getStoredClone<LHCb::Particle>( tag->taggedB() ) ); + // Infer the new location of the B candidates from the current location + auto oldParticleContainerLocation = MicroDST::objectLocation( tag->taggedB()->parent() ); + auto newParticleContainerLocation = outputTESLocation( oldParticleContainerLocation ); + // Update the pointer to the B candiate + auto newParticles = getIfExists<LHCb::Particle::Container>( newParticleContainerLocation ); + auto newParticle = newParticles->object( tag->taggedB()->key() ); + if ( !newParticle ) warning() << "B Candidate corresponding to FlavourTag not found." << endmsg; + + tmp->setTaggedB( newParticle ); // Clear the taggers vector - tmp->setTaggers( std::vector<LHCb::Tagger>() ); + tmp->setTaggers( tag->taggers() ); // return return tmp; diff --git a/MicroDST/MicroDSTTools/src/FlavourTagDeepCloner.cpp b/MicroDST/MicroDSTTools/src/FlavourTagDeepCloner.cpp index 75380f80e6da3471d08a416a1d9e44de334a28f2..ccd60f0eaae08e599d79bea5a9ccef294a84cd3f 100755 --- a/MicroDST/MicroDSTTools/src/FlavourTagDeepCloner.cpp +++ b/MicroDST/MicroDSTTools/src/FlavourTagDeepCloner.cpp @@ -51,12 +51,19 @@ LHCb::FlavourTag* FlavourTagDeepCloner::operator()( const LHCb::FlavourTag* tag //============================================================================= -LHCb::FlavourTag* FlavourTagDeepCloner::clone( const LHCb::FlavourTag* tag ) { +LHCb::FlavourTag* FlavourTagDeepCloner::clone( const LHCb::FlavourTag* tag ) const { // Clone the FT object LHCb::FlavourTag* tmp = cloneKeyedContainerItem<BasicFTCopy>( tag ); - // Update and clone the tagged B Particle - tmp->setTaggedB( getStoredClone<LHCb::Particle>( tag->taggedB() ) ); + // Infer the new location of the B candidates from the current location + auto oldParticleContainerLocation = MicroDST::objectLocation( tag->taggedB()->parent() ); + auto newParticleContainerLocation = outputTESLocation( oldParticleContainerLocation ); + // Update the pointer to the B candiate + auto newParticles = getIfExists<LHCb::Particle::Container>( newParticleContainerLocation ); + auto newParticle = newParticles->object( tag->taggedB()->key() ); + if ( !newParticle ) warning() << "B Candidate corresponding to FlavourTag not found." << endmsg; + + tmp->setTaggedB( newParticle ); // Clone the taggers cloneTaggers( tmp ); diff --git a/MicroDST/MicroDSTTools/src/FlavourTagDeepCloner.h b/MicroDST/MicroDSTTools/src/FlavourTagDeepCloner.h index 3554d4f3a20289d5f21ec751e488c04861ee7138..cdf74929536ddd4f8535865ae35df14728a80155 100755 --- a/MicroDST/MicroDSTTools/src/FlavourTagDeepCloner.h +++ b/MicroDST/MicroDSTTools/src/FlavourTagDeepCloner.h @@ -40,7 +40,7 @@ public: LHCb::FlavourTag* operator()( const LHCb::FlavourTag* tag ) override; private: - LHCb::FlavourTag* clone( const LHCb::FlavourTag* tag ); + LHCb::FlavourTag* clone( const LHCb::FlavourTag* tag ) const; /** * Clone the taggers of an LHCb::FlavourTag and replace the diff --git a/Phys/DaVinciFilters/CMakeLists.txt b/Phys/DaVinciFilters/CMakeLists.txt index a2d5c76269bbbd18e98918e3925c020ceaea93db..9bb90066b6793201e80e55693fe1f201c1db7718 100644 --- a/Phys/DaVinciFilters/CMakeLists.txt +++ b/Phys/DaVinciFilters/CMakeLists.txt @@ -17,6 +17,7 @@ gaudi_add_module(DaVinciFilters SOURCES src/ConeJetProxy.cpp src/CopyParticlesWithPVRelations.cpp + src/CopyFlavourTagsWithParticlePointers.cpp src/DVFilter.cpp src/FilterDecays.cpp src/FilterDesktop.cpp diff --git a/Phys/DaVinciFilters/src/CopyFlavourTagsWithParticlePointers.cpp b/Phys/DaVinciFilters/src/CopyFlavourTagsWithParticlePointers.cpp new file mode 100644 index 0000000000000000000000000000000000000000..842c127c333a736d8d6b7f3d39da5c1d39e0c82a --- /dev/null +++ b/Phys/DaVinciFilters/src/CopyFlavourTagsWithParticlePointers.cpp @@ -0,0 +1,51 @@ +/*****************************************************************************\ +* (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include "Event/FlavourTag.h" +#include "Event/Particle.h" +#include "GaudiAlg/Transformer.h" + +/** @brief Copy an LHCb::Particle container and its associated vertices and P2PV relations. + * + * P2PV relations are determined on the fly using the tool defined by the + * `RelatedPVFinder` property. Relations are found for all particles in the + * decay trees referenced by the top-level particles, i.e. those in the + * container being copied. This is useful if you want to ensure P2PV relations + * exist for all referenced objects. + * + * Copied objects are not guaranteed to have the same container key as the + * originals. + */ +class CopyFlavourTagsWithParticlePointers + : public Gaudi::Functional::Transformer<LHCb::FlavourTags( const LHCb::FlavourTags&, const LHCb::Particles& )> { +public: + CopyFlavourTagsWithParticlePointers( const std::string& name, ISvcLocator* pSvcLocator ) + : Transformer( name, pSvcLocator, {KeyValue{"InputFlavourTags", ""}, KeyValue{"NewBCandidates", ""}}, + {KeyValue{"OutputFlavourTags", ""}} ) {} + + LHCb::FlavourTags operator()( const LHCb::FlavourTags& flavourTags, + const LHCb::Particles& bCandidates ) const override { + // auto bCandidates = getIfExists<LHCb::Particle::Container>( m_newBCandLocation ); + + LHCb::FlavourTags flavourTags_out; + for ( const auto* ft : flavourTags ) { + // 1. Clone the LHCb::Particle + auto* ft_clone = ft->clone(); + // 2. Set the pointer to the B candidate + LHCb::Particle* new_bCand = bCandidates.object( ft_clone->taggedB()->key() ); + ft_clone->setTaggedB( new_bCand ); + + flavourTags_out.add( ft_clone ); + } + return flavourTags_out; + } +}; + +DECLARE_COMPONENT( CopyFlavourTagsWithParticlePointers ) diff --git a/Phys/DaVinciMCKernel/src/Lib/Particle2MCAssociatorBase.cpp b/Phys/DaVinciMCKernel/src/Lib/Particle2MCAssociatorBase.cpp index f2eaa14662a06b9f226b14cad1f1d59997918cdb..e6dbe925582c25334ed031ca5fa5b33d8a9ed834 100644 --- a/Phys/DaVinciMCKernel/src/Lib/Particle2MCAssociatorBase.cpp +++ b/Phys/DaVinciMCKernel/src/Lib/Particle2MCAssociatorBase.cpp @@ -25,6 +25,7 @@ Particle2MCAssociatorBase::Particle2MCAssociatorBase( const std::string& type, const std::string& name, const IInterface* parent ) : base_class( type, name, parent ), m_defMCLoc( LHCb::MCParticleLocation::Default ) { + declareProperty( "MCParticleDefaultLocation", m_defMCLoc ); } diff --git a/Phys/DaVinciTools/CMakeLists.txt b/Phys/DaVinciTools/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..1b5f8a769faadb4290a6e9b0f6df112eb3f2daa7 --- /dev/null +++ b/Phys/DaVinciTools/CMakeLists.txt @@ -0,0 +1,23 @@ +############################################################################### +# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration # +# # +# This software is distributed under the terms of the GNU General Public # +# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". # +# # +# In applying this licence, CERN does not waive the privileges and immunities # +# granted to it by virtue of its status as an Intergovernmental Organization # +# or submit itself to any jurisdiction. # +############################################################################### +#[=======================================================================[.rst: +Phys/DaVinciTools +----------------- +#]=======================================================================] + +gaudi_add_module(DaVinciTools + SOURCES + src/ParticleDescendants.cpp + LINK + Gaudi::GaudiAlgLib + LHCb::PhysEvent + Phys::DaVinciInterfacesLib +) diff --git a/Phys/DaVinciTools/src/ParticleDescendants.cpp b/Phys/DaVinciTools/src/ParticleDescendants.cpp new file mode 100644 index 0000000000000000000000000000000000000000..05293f321beb88565d6eed8385d365c1e7a09ccd --- /dev/null +++ b/Phys/DaVinciTools/src/ParticleDescendants.cpp @@ -0,0 +1,113 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +// Include files + +// local +#include "ParticleDescendants.h" + +//----------------------------------------------------------------------------- +// Implementation file for class : ParticleDescendants +// +// 2005-10-19 : Patrick KOPPENBURG +//----------------------------------------------------------------------------- + +// Declaration of the Tool Factory +DECLARE_COMPONENT( ParticleDescendants ) + +//============================================================================= +// Standard constructor, initializes variables +//============================================================================= +ParticleDescendants::ParticleDescendants( const std::string& type, const std::string& name, const IInterface* parent ) + : GaudiTool( type, name, parent ) { + declareInterface<IParticleDescendants>( this ); +} +//============================================================================= +// Destructor +//============================================================================= +ParticleDescendants::~ParticleDescendants() {} + +//============================================================================= +// Return all descendants of a Particle +//============================================================================= +const LHCb::Particle::ConstVector ParticleDescendants::descendants( const LHCb::Particle* P ) const { + return descendants( P, 0 ); +} +//============================================================================= +// Return all stable descendants of a Particle +//============================================================================= +const LHCb::Particle::ConstVector ParticleDescendants::finalStates( const LHCb::Particle* P ) { + LHCb::Particle::ConstVector stables; // + LHCb::Particle::ConstVector all = descendants( P, 0 ); // get them all all + for ( LHCb::Particle::ConstVector::const_iterator i = all.begin(); i != all.end(); ++i ) { + if ( ( *i )->isBasicParticle() ) { + stables.push_back( *i ); + debug() << "Saving a " << ( *i )->particleID().pid() << endmsg; + } else + verbose() << "Discarding a " << ( *i )->particleID().pid() << endmsg; + } + return stables; +} +//============================================================================= +// Return all daughters of particles in a vector +//============================================================================= +bool ParticleDescendants::addDaughters( const LHCb::Particle* M, LHCb::Particle::ConstVector& Parts ) const { + if ( 0 == M ) return false; + if ( M->isBasicParticle() ) return false; + const LHCb::Particle::ConstVector dauts = M->daughtersVector(); + Parts.insert( Parts.end(), dauts.begin(), dauts.end() ); + verbose() << "Added " << dauts.size() << " daughters" << endmsg; + return ( !dauts.empty() ); +} +//============================================================================= +// Return all daughters of particles in a vector +//============================================================================= +bool ParticleDescendants::addDaughters( const LHCb::Particle::ConstVector& mothers, + LHCb::Particle::ConstVector& Parts ) const { + if ( mothers.empty() ) return false; + bool found = false; + for ( LHCb::Particle::ConstVector::const_iterator i = mothers.begin(); i != mothers.end(); ++i ) { + found = ( addDaughters( *i, Parts ) || found ); + } + return found; +} +//============================================================================= +// Return all descendants of level i for a Particle +//============================================================================= +const LHCb::Particle::ConstVector ParticleDescendants::descendants( const LHCb::Particle* P, int maxlevel ) const { + + LHCb::Particle::ConstVector Parts; + + int level = 0; + bool found = false; + + LHCb::Particle::ConstVector mothers; + + do { + ++level; + LHCb::Particle::ConstVector leveldaughters; + if ( level == 1 ) + found = addDaughters( P, leveldaughters ); + else + found = addDaughters( mothers, leveldaughters ); + if ( level == maxlevel || maxlevel == 0 ) { + Parts.insert( Parts.end(), leveldaughters.begin(), leveldaughters.end() ); + verbose() << "Level: " << level << " - inserted " << leveldaughters.size() << " daughters to get " << Parts.size() + << endmsg; + } + verbose() << "Level " << level << " of " << maxlevel << " : " << leveldaughters.size() << " daughters " << found + << endmsg; + mothers = leveldaughters; + } while ( ( maxlevel <= 0 || level <= maxlevel ) && found ); + + debug() << "Reached " << level << ". Returning " << Parts.size() << " daughters" << endmsg; + + return Parts; +} diff --git a/Phys/DaVinciTools/src/ParticleDescendants.h b/Phys/DaVinciTools/src/ParticleDescendants.h new file mode 100644 index 0000000000000000000000000000000000000000..8eea89b47f5614d7e875e172db2a681fefdfd13f --- /dev/null +++ b/Phys/DaVinciTools/src/ParticleDescendants.h @@ -0,0 +1,52 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#ifndef PARTICLEDESCENDANTS_H +#define PARTICLEDESCENDANTS_H 1 + +// Include files +// from Gaudi +#include "GaudiAlg/GaudiTool.h" +#include "Kernel/IParticleDescendants.h" // Interface + +/** @class ParticleDescendants ParticleDescendants.h + * + * Return the descendants of a Particle + * + * @author Patrick KOPPENBURG + * @date 2005-10-19 + */ +class ParticleDescendants : public GaudiTool, virtual public IParticleDescendants { + +public: + /// Standard constructor + ParticleDescendants( const std::string& type, const std::string& name, const IInterface* parent ); + + ~ParticleDescendants(); ///< Destructor + + // Return all descendants of a Particle + const LHCb::Particle::ConstVector descendants( const LHCb::Particle* ) const override; + + // Return all descendants of level i for a Particle + const LHCb::Particle::ConstVector descendants( const LHCb::Particle*, int ) const override; + + // Return all stable descendants of a Particle + const LHCb::Particle::ConstVector finalStates( const LHCb::Particle* ) override; + +protected: + // Return all daughters of a Particle + bool addDaughters( const LHCb::Particle::ConstVector&, LHCb::Particle::ConstVector& ) const; + + // Return all daughters of a Particle + bool addDaughters( const LHCb::Particle*, LHCb::Particle::ConstVector& ) const; + +private: +}; +#endif // PARTICLEDESCENDANTS_H diff --git a/Phys/FunctionalFlavourTagging/CMakeLists.txt b/Phys/FunctionalFlavourTagging/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..a51c72b7d8a059c288b5fef2938f2b7316cca021 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/CMakeLists.txt @@ -0,0 +1,73 @@ +############################################################################### +# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration # +# # +# This software is distributed under the terms of the GNU General Public # +# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". # +# # +# In applying this licence, CERN does not waive the privileges and immunities # +# granted to it by virtue of its status as an Intergovernmental Organization # +# or submit itself to any jurisdiction. # +############################################################################### +#[=======================================================================[.rst: +Phys/FunctionalFlavourTagging +------------------- +#]=======================================================================] + + +gaudi_add_module(FunctionalFlavourTagging + SOURCES + src/FunctionalSSPionTagger.cpp + src/Utils/TaggingHelperTool.cpp + Classification/TaggingClassifierTMVA.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_0-299.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1200-1499.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1500-1799.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1800-2099.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2100-2399.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2400-2699.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2700-2999.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_300-599.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_600-899.cpp + Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_900-1199.cpp + LINK + Boost::headers + Boost::log + Boost::regex + Gaudi::GaudiAlgLib + Gaudi::GaudiKernel + LHCb::CaloUtils + LHCb::LHCbKernel + LHCb::LoKiCoreLib + LHCb::MCEvent + LHCb::MCInterfaces + LHCb::PhysEvent + LHCb::PhysInterfacesLib + LHCb::RecEvent + LHCb::TrackEvent + Phys::DaVinciInterfacesLib + Phys::DaVinciMCKernelLib + Phys::DaVinciKernelLib + Phys::LoKiArrayFunctorsLib + Phys::LoKiPhysLib + Phys::LoKiProtoParticles + Rec::RecInterfacesLib + ROOT::Core + ROOT::GenVector + ROOT::MathCore + ROOT::TMVA + ) + +# gaudi_install(PYTHON) + +# Disable all but leak sanitizers for all factory compilations that include TMVA +# auto-generated code, as these tend to explode compilation times.. +string(TOUPPER "${CMAKE_BUILD_TYPE}" _build_type_up) +if(_build_type_up MATCHES "^(A|T|UB)SAN$") + message(STATUS "Disabling ${CMAKE_BUILD_TYPE} sanitizer for TMVA generated code.") + file(GLOB_RECURSE FT_TMVA_FILES "src/Taggers/*.cpp") + foreach(TMVA_FILE IN LISTS FT_TMVA_FILES) + # This disables all sanitizers for all files under src/Taggers + # Probably more than really required, but easiest for now. + set_property(SOURCE ${TMVA_FILE} APPEND PROPERTY COMPILE_OPTIONS "-fno-sanitize=all") + endforeach() +endif() \ No newline at end of file diff --git a/Phys/FunctionalFlavourTagging/Classification/ITaggingClassifier.h b/Phys/FunctionalFlavourTagging/Classification/ITaggingClassifier.h new file mode 100644 index 0000000000000000000000000000000000000000..9cf5c9b938bb168dcb625ca6d357d1e05246a2e9 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/ITaggingClassifier.h @@ -0,0 +1,33 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#ifndef PHYS_PHYS_FLAVOURTAGGING_ITAGGINGCLASSIFIER_H +#define PHYS_PHYS_FLAVOURTAGGING_ITAGGINGCLASSIFIER_H 1 + +// from STL +#include <vector> + +class ITaggingClassifier { +public: + virtual ~ITaggingClassifier() = default; + /** + * @brief Main classification method + * + * Takes a vector of values of features and returns the corresponding MVA + * output. + * + * @param[in] featureValues A vector of feature values + * + * @return MVA classifier value + */ + virtual double getClassifierValue( const std::vector<double>& featureValues ) = 0; +}; + +#endif // PHYS_PHYS_FLAVOURTAGGING_ITAGGINGCLASSIFIER_H diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h b/Phys/FunctionalFlavourTagging/Classification/SSPion/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h new file mode 100644 index 0000000000000000000000000000000000000000..ad9cef6b3a01583d77e23788b3b7f9b9a3a3e20c --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h @@ -0,0 +1,49 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#pragma once + +#include <cmath> +#include <iostream> +#include <vector> + +#include "../TaggingClassifierTMVA.h" + +/* @brief Split-up version of SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r0 BDT. + * See https://its.cern.ch/jira/browse/LHCBPS-1726 + * + * Generated using python bdt2cpp v0.1.2. + */ +class SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1 : public TaggingClassifierTMVA { + +public: + double GetMvaValue( const std::vector<double>& featureValues ) const override { + return normed( ensemble( featureValues ) ); + }; + +private: + double tree_0( const std::vector<double>& features ) const; + double tree_1( const std::vector<double>& features ) const; + double tree_2( const std::vector<double>& features ) const; + double tree_3( const std::vector<double>& features ) const; + double tree_4( const std::vector<double>& features ) const; + double tree_5( const std::vector<double>& features ) const; + double tree_6( const std::vector<double>& features ) const; + double tree_7( const std::vector<double>& features ) const; + double tree_8( const std::vector<double>& features ) const; + double tree_9( const std::vector<double>& features ) const; + + double ensemble( const std::vector<double>& features ) const { + return tree_0( features ) + tree_1( features ) + tree_2( features ) + tree_3( features ) + tree_4( features ) + + tree_5( features ) + tree_6( features ) + tree_7( features ) + tree_8( features ) + tree_9( features ); + }; + + double normed( double value ) const { return value / 0.357236; }; +}; diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_0-299.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_0-299.cpp new file mode 100644 index 0000000000000000000000000000000000000000..decc3400d7eab1ec90b76207eed763d5eb31ce20 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_0-299.cpp @@ -0,0 +1,3882 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_0( const std::vector<double>& features ) const { + double sum = 0; + + // tree 0 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000405222; + } else { + sum += 0.000405222; + } + } else { + sum += -0.000405222; + } + // tree 1 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000396443; + } else { + sum += 0.000396443; + } + } else { + if ( features[12] < 3.97855 ) { + sum += 0.000396443; + } else { + sum += -0.000396443; + } + } + // tree 2 + if ( features[7] < 0.538043 ) { + if ( features[7] < 0.352984 ) { + sum += -0.000347009; + } else { + sum += 0.000347009; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000347009; + } else { + sum += 0.000347009; + } + } + // tree 3 + if ( features[5] < 0.628848 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000368968; + } else { + sum += 0.000368968; + } + } else { + sum += -0.000368968; + } + // tree 4 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000385586; + } else { + sum += 0.000385586; + } + } else { + sum += -0.000385586; + } + // tree 5 + if ( features[4] < -0.9484 ) { + if ( features[1] < -0.508251 ) { + sum += -0.000349664; + } else { + sum += 0.000349664; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000349664; + } else { + sum += -0.000349664; + } + } + // tree 6 + if ( features[7] < 0.538043 ) { + if ( features[11] < 1.74994 ) { + sum += 0.000346007; + } else { + sum += -0.000346007; + } + } else { + if ( features[5] < 0.633985 ) { + sum += 0.000346007; + } else { + sum += -0.000346007; + } + } + // tree 7 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.000370284; + } else { + sum += 0.000370284; + } + } else { + sum += -0.000370284; + } + // tree 8 + if ( features[4] < -0.9484 ) { + if ( features[5] < 0.61187 ) { + sum += 0.000354059; + } else { + sum += -0.000354059; + } + } else { + if ( features[5] < 0.6253 ) { + sum += 0.000354059; + } else { + sum += -0.000354059; + } + } + // tree 9 + if ( features[6] < -1.05893 ) { + sum += 0.000249182; + } else { + if ( features[4] < -1.81665 ) { + sum += 0.000249182; + } else { + sum += -0.000249182; + } + } + // tree 10 + if ( features[6] < -1.05893 ) { + if ( features[4] < -0.252664 ) { + sum += 0.000340823; + } else { + sum += -0.000340823; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000340823; + } else { + sum += -0.000340823; + } + } + // tree 11 + if ( features[6] < -1.05893 ) { + if ( features[0] < 1.82578 ) { + sum += -0.000273202; + } else { + sum += 0.000273202; + } + } else { + sum += -0.000273202; + } + // tree 12 + if ( features[4] < -0.9484 ) { + if ( features[6] < -0.207586 ) { + sum += 0.00032188; + } else { + sum += -0.00032188; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.00032188; + } else { + sum += -0.00032188; + } + } + // tree 13 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.00038304; + } else { + sum += 0.00038304; + } + } else { + if ( features[12] < 3.97855 ) { + sum += 0.00038304; + } else { + sum += -0.00038304; + } + } + // tree 14 + if ( features[7] < 0.538043 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000398761; + } else { + sum += 0.000398761; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000398761; + } else { + sum += 0.000398761; + } + } + // tree 15 + if ( features[4] < -0.9484 ) { + if ( features[0] < 1.68517 ) { + sum += -0.000286365; + } else { + sum += 0.000286365; + } + } else { + sum += -0.000286365; + } + // tree 16 + if ( features[7] < 0.538043 ) { + if ( features[7] < 0.352984 ) { + sum += -0.000302612; + } else { + sum += 0.000302612; + } + } else { + if ( features[8] < 2.75674 ) { + sum += -0.000302612; + } else { + sum += 0.000302612; + } + } + // tree 17 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000371304; + } else { + sum += 0.000371304; + } + } else { + sum += -0.000371304; + } + // tree 18 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.32813 ) { + sum += 0.000325584; + } else { + sum += -0.000325584; + } + } else { + if ( features[1] < -0.30431 ) { + sum += -0.000325584; + } else { + sum += 0.000325584; + } + } + // tree 19 + if ( features[4] < -0.9484 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000273391; + } else { + sum += -0.000273391; + } + } else { + sum += -0.000273391; + } + // tree 20 + if ( features[4] < -0.9484 ) { + if ( features[5] < 0.61187 ) { + sum += 0.000336805; + } else { + sum += -0.000336805; + } + } else { + if ( features[7] < 0.467195 ) { + sum += 0.000336805; + } else { + sum += -0.000336805; + } + } + // tree 21 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000267293; + } else { + sum += 0.000267293; + } + } else { + if ( features[8] < 2.63363 ) { + sum += -0.000267293; + } else { + sum += 0.000267293; + } + } + // tree 22 + if ( features[4] < -0.9484 ) { + if ( features[1] < -0.508251 ) { + sum += -0.000348999; + } else { + sum += 0.000348999; + } + } else { + if ( features[7] < 0.467195 ) { + sum += 0.000348999; + } else { + sum += -0.000348999; + } + } + // tree 23 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000388158; + } else { + sum += 0.000388158; + } + } else { + if ( features[12] < 3.97855 ) { + sum += 0.000388158; + } else { + sum += -0.000388158; + } + } + // tree 24 + if ( features[4] < -0.9484 ) { + if ( features[5] < 0.61187 ) { + sum += 0.000338458; + } else { + sum += -0.000338458; + } + } else { + if ( features[5] < 0.6253 ) { + sum += 0.000338458; + } else { + sum += -0.000338458; + } + } + // tree 25 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.000360946; + } else { + sum += 0.000360946; + } + } else { + if ( features[12] < 3.97855 ) { + sum += 0.000360946; + } else { + sum += -0.000360946; + } + } + // tree 26 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000324134; + } else { + sum += -0.000324134; + } + } else { + if ( features[5] < 0.577211 ) { + sum += 0.000324134; + } else { + sum += -0.000324134; + } + } + // tree 27 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000368691; + } else { + sum += 0.000368691; + } + } else { + if ( features[12] < 3.97855 ) { + sum += 0.000368691; + } else { + sum += -0.000368691; + } + } + // tree 28 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.000349002; + } else { + sum += 0.000349002; + } + } else { + sum += -0.000349002; + } + // tree 29 + if ( features[5] < 0.628848 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000339098; + } else { + sum += -0.000339098; + } + } else { + if ( features[12] < 3.97855 ) { + sum += 0.000339098; + } else { + sum += -0.000339098; + } + } + // tree 30 + if ( features[7] < 0.538043 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000399989; + } else { + sum += 0.000399989; + } + } else { + if ( features[5] < 0.633985 ) { + sum += 0.000399989; + } else { + sum += -0.000399989; + } + } + // tree 31 + if ( features[7] < 0.538043 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000331885; + } else { + sum += 0.000331885; + } + } else { + sum += -0.000331885; + } + // tree 32 + if ( features[4] < -0.9484 ) { + if ( features[8] < 2.22547 ) { + sum += -0.00027719; + } else { + sum += 0.00027719; + } + } else { + if ( features[7] < 0.467195 ) { + sum += 0.00027719; + } else { + sum += -0.00027719; + } + } + // tree 33 + if ( features[7] < 0.538043 ) { + if ( features[11] < 1.74994 ) { + sum += 0.000321489; + } else { + sum += -0.000321489; + } + } else { + if ( features[5] < 0.633985 ) { + sum += 0.000321489; + } else { + sum += -0.000321489; + } + } + // tree 34 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000360993; + } else { + sum += 0.000360993; + } + } else { + if ( features[12] < 3.97855 ) { + sum += 0.000360993; + } else { + sum += -0.000360993; + } + } + // tree 35 + if ( features[1] < -0.100321 ) { + if ( features[12] < 3.85898 ) { + sum += 0.000335062; + } else { + sum += -0.000335062; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000335062; + } else { + sum += 0.000335062; + } + } + // tree 36 + if ( features[1] < -0.100321 ) { + if ( features[12] < 3.85898 ) { + sum += 0.000332761; + } else { + sum += -0.000332761; + } + } else { + if ( features[8] < 1.87348 ) { + sum += -0.000332761; + } else { + sum += 0.000332761; + } + } + // tree 37 + if ( features[7] < 0.538043 ) { + if ( features[0] < 1.71436 ) { + sum += -0.000315587; + } else { + sum += 0.000315587; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000315587; + } else { + sum += 0.000315587; + } + } + // tree 38 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.0003339; + } else { + sum += 0.0003339; + } + } else { + sum += -0.0003339; + } + // tree 39 + if ( features[10] < -27.4195 ) { + if ( features[7] < 0.75287 ) { + sum += 0.000320313; + } else { + sum += -0.000320313; + } + } else { + if ( features[5] < 0.627964 ) { + sum += 0.000320313; + } else { + sum += -0.000320313; + } + } + // tree 40 + if ( features[9] < 2.16313 ) { + if ( features[6] < -2.30775 ) { + sum += 0.000324364; + } else { + sum += -0.000324364; + } + } else { + if ( features[5] < 0.660665 ) { + sum += 0.000324364; + } else { + sum += -0.000324364; + } + } + // tree 41 + if ( features[8] < 2.24069 ) { + if ( features[5] < 0.527066 ) { + sum += 0.000274373; + } else { + sum += -0.000274373; + } + } else { + if ( features[4] < -0.600576 ) { + sum += 0.000274373; + } else { + sum += -0.000274373; + } + } + // tree 42 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.000342759; + } else { + sum += 0.000342759; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000342759; + } else { + sum += -0.000342759; + } + } + // tree 43 + if ( features[1] < -0.100321 ) { + if ( features[5] < 0.627964 ) { + sum += 0.000301278; + } else { + sum += -0.000301278; + } + } else { + if ( features[6] < -0.645187 ) { + sum += 0.000301278; + } else { + sum += -0.000301278; + } + } + // tree 44 + if ( features[4] < -0.9484 ) { + if ( features[1] < -0.508251 ) { + sum += -0.000334362; + } else { + sum += 0.000334362; + } + } else { + if ( features[5] < 0.6253 ) { + sum += 0.000334362; + } else { + sum += -0.000334362; + } + } + // tree 45 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000354141; + } else { + sum += 0.000354141; + } + } else { + sum += -0.000354141; + } + // tree 46 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000352213; + } else { + sum += 0.000352213; + } + } else { + sum += -0.000352213; + } + // tree 47 + if ( features[5] < 0.628848 ) { + sum += 0.000310668; + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000310668; + } else { + sum += -0.000310668; + } + } + // tree 48 + if ( features[9] < 2.16313 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000350129; + } else { + sum += -0.000350129; + } + } else { + if ( features[5] < 0.660665 ) { + sum += 0.000350129; + } else { + sum += -0.000350129; + } + } + // tree 49 + if ( features[7] < 0.538043 ) { + if ( features[0] < 1.71436 ) { + sum += -0.000287212; + } else { + sum += 0.000287212; + } + } else { + sum += -0.000287212; + } + // tree 50 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000357541; + } else { + sum += 0.000357541; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000357541; + } else { + sum += -0.000357541; + } + } + // tree 51 + if ( features[4] < -0.9484 ) { + if ( features[4] < -1.36926 ) { + sum += 0.00024892; + } else { + sum += -0.00024892; + } + } else { + if ( features[7] < 0.467195 ) { + sum += 0.00024892; + } else { + sum += -0.00024892; + } + } + // tree 52 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.00033248; + } else { + sum += 0.00033248; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.00033248; + } else { + sum += -0.00033248; + } + } + // tree 53 + if ( features[7] < 0.538043 ) { + if ( features[7] < 0.352984 ) { + sum += -0.000331168; + } else { + sum += 0.000331168; + } + } else { + if ( features[5] < 0.633985 ) { + sum += 0.000331168; + } else { + sum += -0.000331168; + } + } + // tree 54 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000291524; + } else { + sum += -0.000291524; + } + } else { + sum += -0.000291524; + } + // tree 55 + if ( features[4] < -0.9484 ) { + if ( features[1] < -0.508251 ) { + sum += -0.000300041; + } else { + sum += 0.000300041; + } + } else { + sum += -0.000300041; + } + // tree 56 + if ( features[7] < 0.538043 ) { + if ( features[0] < 1.71436 ) { + sum += -0.000332441; + } else { + sum += 0.000332441; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000332441; + } else { + sum += 0.000332441; + } + } + // tree 57 + if ( features[7] < 0.538043 ) { + if ( features[0] < 1.71436 ) { + sum += -0.000342474; + } else { + sum += 0.000342474; + } + } else { + if ( features[5] < 0.633985 ) { + sum += 0.000342474; + } else { + sum += -0.000342474; + } + } + // tree 58 + if ( features[7] < 0.538043 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000347954; + } else { + sum += 0.000347954; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000347954; + } else { + sum += -0.000347954; + } + } + // tree 59 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000341057; + } else { + sum += 0.000341057; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000341057; + } else { + sum += -0.000341057; + } + } + // tree 60 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000337355; + } else { + sum += 0.000337355; + } + } else { + sum += -0.000337355; + } + // tree 61 + if ( features[7] < 0.538043 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000367772; + } else { + sum += 0.000367772; + } + } else { + if ( features[5] < 0.633985 ) { + sum += 0.000367772; + } else { + sum += -0.000367772; + } + } + // tree 62 + if ( features[5] < 0.628848 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000316854; + } else { + sum += 0.000316854; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000316854; + } else { + sum += -0.000316854; + } + } + // tree 63 + if ( features[6] < -1.05893 ) { + if ( features[0] < 1.82578 ) { + sum += -0.000298236; + } else { + sum += 0.000298236; + } + } else { + if ( features[7] < 0.515043 ) { + sum += 0.000298236; + } else { + sum += -0.000298236; + } + } + // tree 64 + if ( features[4] < -0.9484 ) { + if ( features[0] < 1.68517 ) { + sum += -0.000272629; + } else { + sum += 0.000272629; + } + } else { + if ( features[5] < 0.6253 ) { + sum += 0.000272629; + } else { + sum += -0.000272629; + } + } + // tree 65 + if ( features[8] < 2.24069 ) { + if ( features[1] < 0.164527 ) { + sum += -0.000249597; + } else { + sum += 0.000249597; + } + } else { + if ( features[1] < -0.30431 ) { + sum += -0.000249597; + } else { + sum += 0.000249597; + } + } + // tree 66 + if ( features[4] < -0.9484 ) { + if ( features[6] < -0.207586 ) { + sum += 0.000287405; + } else { + sum += -0.000287405; + } + } else { + if ( features[7] < 0.467195 ) { + sum += 0.000287405; + } else { + sum += -0.000287405; + } + } + // tree 67 + if ( features[5] < 0.628848 ) { + sum += 0.000296256; + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000296256; + } else { + sum += -0.000296256; + } + } + // tree 68 + if ( features[7] < 0.538043 ) { + if ( features[7] < 0.352984 ) { + sum += -0.000289566; + } else { + sum += 0.000289566; + } + } else { + if ( features[4] < -1.9909 ) { + sum += 0.000289566; + } else { + sum += -0.000289566; + } + } + // tree 69 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.55126 ) { + sum += 0.000227103; + } else { + sum += -0.000227103; + } + } else { + sum += 0.000227103; + } + // tree 70 + if ( features[1] < -0.100321 ) { + if ( features[5] < 0.627964 ) { + sum += 0.000310058; + } else { + sum += -0.000310058; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000310058; + } else { + sum += 0.000310058; + } + } + // tree 71 + if ( features[9] < 2.16313 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000301868; + } else { + sum += -0.000301868; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000301868; + } else { + sum += 0.000301868; + } + } + // tree 72 + if ( features[5] < 0.628848 ) { + sum += 0.000297809; + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000297809; + } else { + sum += -0.000297809; + } + } + // tree 73 + if ( features[1] < -0.100321 ) { + if ( features[4] < -1.99208 ) { + sum += 0.000243765; + } else { + sum += -0.000243765; + } + } else { + if ( features[12] < 4.81552 ) { + sum += 0.000243765; + } else { + sum += -0.000243765; + } + } + // tree 74 + if ( features[7] < 0.538043 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000283921; + } else { + sum += -0.000283921; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000283921; + } else { + sum += 0.000283921; + } + } + // tree 75 + if ( features[7] < 0.538043 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000336304; + } else { + sum += 0.000336304; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000336304; + } else { + sum += -0.000336304; + } + } + // tree 76 + if ( features[4] < -0.9484 ) { + if ( features[5] < 0.813879 ) { + sum += 0.000268179; + } else { + sum += -0.000268179; + } + } else { + if ( features[4] < -0.813726 ) { + sum += 0.000268179; + } else { + sum += -0.000268179; + } + } + // tree 77 + if ( features[1] < -0.100321 ) { + if ( features[12] < 3.85898 ) { + sum += 0.0003111; + } else { + sum += -0.0003111; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.0003111; + } else { + sum += 0.0003111; + } + } + // tree 78 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000326151; + } else { + sum += 0.000326151; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000326151; + } else { + sum += -0.000326151; + } + } + // tree 79 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000308924; + } else { + sum += 0.000308924; + } + } else { + sum += -0.000308924; + } + // tree 80 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.32813 ) { + sum += 0.000287322; + } else { + sum += -0.000287322; + } + } else { + if ( features[4] < -0.600576 ) { + sum += 0.000287322; + } else { + sum += -0.000287322; + } + } + // tree 81 + if ( features[5] < 0.628848 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000302769; + } else { + sum += 0.000302769; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000302769; + } else { + sum += -0.000302769; + } + } + // tree 82 + if ( features[6] < -1.05893 ) { + if ( features[4] < -0.252664 ) { + sum += 0.000300167; + } else { + sum += -0.000300167; + } + } else { + if ( features[7] < 0.515043 ) { + sum += 0.000300167; + } else { + sum += -0.000300167; + } + } + // tree 83 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.00032135; + } else { + sum += 0.00032135; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.00032135; + } else { + sum += -0.00032135; + } + } + // tree 84 + if ( features[4] < -1.29629 ) { + if ( features[9] < 1.84342 ) { + sum += -0.000263097; + } else { + sum += 0.000263097; + } + } else { + if ( features[5] < 0.620136 ) { + sum += 0.000263097; + } else { + sum += -0.000263097; + } + } + // tree 85 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000291308; + } else { + sum += 0.000291308; + } + } else { + if ( features[5] < 0.793204 ) { + sum += 0.000291308; + } else { + sum += -0.000291308; + } + } + // tree 86 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000302316; + } else { + sum += -0.000302316; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000302316; + } else { + sum += -0.000302316; + } + } + // tree 87 + if ( features[7] < 0.538043 ) { + if ( features[0] < 1.71436 ) { + sum += -0.0003181; + } else { + sum += 0.0003181; + } + } else { + if ( features[5] < 0.633985 ) { + sum += 0.0003181; + } else { + sum += -0.0003181; + } + } + // tree 88 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000312986; + } else { + sum += 0.000312986; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000312986; + } else { + sum += -0.000312986; + } + } + // tree 89 + if ( features[1] < -0.30431 ) { + if ( features[1] < -0.4425 ) { + sum += -0.000294176; + } else { + sum += 0.000294176; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000294176; + } else { + sum += -0.000294176; + } + } + // tree 90 + if ( features[4] < -1.29629 ) { + if ( features[5] < 0.754354 ) { + sum += 0.00027952; + } else { + sum += -0.00027952; + } + } else { + if ( features[5] < 0.793204 ) { + sum += 0.00027952; + } else { + sum += -0.00027952; + } + } + // tree 91 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000321176; + } else { + sum += 0.000321176; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000321176; + } else { + sum += -0.000321176; + } + } + // tree 92 + if ( features[1] < -0.30431 ) { + sum += -0.000291018; + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000291018; + } else { + sum += -0.000291018; + } + } + // tree 93 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000300777; + } else { + sum += 0.000300777; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000300777; + } else { + sum += -0.000300777; + } + } + // tree 94 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000306639; + } else { + sum += 0.000306639; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000306639; + } else { + sum += -0.000306639; + } + } + // tree 95 + if ( features[6] < -1.05893 ) { + if ( features[4] < -0.252664 ) { + sum += 0.000278042; + } else { + sum += -0.000278042; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000278042; + } else { + sum += -0.000278042; + } + } + // tree 96 + if ( features[1] < -0.30431 ) { + sum += -0.000287452; + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000287452; + } else { + sum += -0.000287452; + } + } + // tree 97 + if ( features[1] < -0.30431 ) { + if ( features[1] < -0.4425 ) { + sum += -0.000287131; + } else { + sum += 0.000287131; + } + } else { + if ( features[5] < 0.784599 ) { + sum += 0.000287131; + } else { + sum += -0.000287131; + } + } + // tree 98 + if ( features[1] < -0.30431 ) { + if ( features[4] < -2.16603 ) { + sum += 0.000290058; + } else { + sum += -0.000290058; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000290058; + } else { + sum += -0.000290058; + } + } + // tree 99 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000301596; + } else { + sum += 0.000301596; + } + } else { + sum += -0.000301596; + } + // tree 100 + if ( features[5] < 0.784599 ) { + sum += 0.000261008; + } else { + sum += -0.000261008; + } + // tree 101 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000245416; + } else { + sum += -0.000245416; + } + } else { + if ( features[7] < 0.501208 ) { + sum += 0.000245416; + } else { + sum += -0.000245416; + } + } + // tree 102 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000299314; + } else { + sum += 0.000299314; + } + } else { + sum += -0.000299314; + } + // tree 103 + if ( features[7] < 0.538043 ) { + if ( features[0] < 1.71436 ) { + sum += -0.00028061; + } else { + sum += 0.00028061; + } + } else { + if ( features[4] < -1.9909 ) { + sum += 0.00028061; + } else { + sum += -0.00028061; + } + } + // tree 104 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000301068; + } else { + sum += 0.000301068; + } + } else { + sum += -0.000301068; + } + // tree 105 + if ( features[1] < -0.30431 ) { + sum += -0.00026407; + } else { + if ( features[4] < -0.774141 ) { + sum += 0.00026407; + } else { + sum += -0.00026407; + } + } + // tree 106 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000246664; + } else { + sum += 0.000246664; + } + } else { + if ( features[9] < 2.62832 ) { + sum += -0.000246664; + } else { + sum += 0.000246664; + } + } + // tree 107 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000303358; + } else { + sum += 0.000303358; + } + } else { + sum += -0.000303358; + } + // tree 108 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000287216; + } else { + sum += -0.000287216; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000287216; + } else { + sum += -0.000287216; + } + } + // tree 109 + if ( features[5] < 0.784599 ) { + sum += 0.000254814; + } else { + sum += -0.000254814; + } + // tree 110 + if ( features[1] < -0.30431 ) { + if ( features[12] < 3.85898 ) { + sum += 0.000284214; + } else { + sum += -0.000284214; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000284214; + } else { + sum += -0.000284214; + } + } + // tree 111 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.00030508; + } else { + sum += 0.00030508; + } + } else { + sum += -0.00030508; + } + // tree 112 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000257684; + } else { + sum += 0.000257684; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000257684; + } else { + sum += -0.000257684; + } + } + // tree 113 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000295898; + } else { + sum += 0.000295898; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000295898; + } else { + sum += -0.000295898; + } + } + // tree 114 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.0002553; + } else { + sum += -0.0002553; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.0002553; + } else { + sum += 0.0002553; + } + } + // tree 115 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000290138; + } else { + sum += 0.000290138; + } + } else { + sum += -0.000290138; + } + // tree 116 + if ( features[5] < 0.628848 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000262733; + } else { + sum += -0.000262733; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000262733; + } else { + sum += -0.000262733; + } + } + // tree 117 + if ( features[3] < 0.048366 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000249922; + } else { + sum += -0.000249922; + } + } else { + if ( features[1] < -0.508269 ) { + sum += -0.000249922; + } else { + sum += 0.000249922; + } + } + // tree 118 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000275002; + } else { + sum += -0.000275002; + } + } else { + if ( features[7] < 0.501208 ) { + sum += 0.000275002; + } else { + sum += -0.000275002; + } + } + // tree 119 + if ( features[1] < -0.100321 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000231725; + } else { + sum += -0.000231725; + } + } else { + if ( features[12] < 4.81552 ) { + sum += 0.000231725; + } else { + sum += -0.000231725; + } + } + // tree 120 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000296796; + } else { + sum += 0.000296796; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000296796; + } else { + sum += -0.000296796; + } + } + // tree 121 + if ( features[1] < -0.100321 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000256341; + } else { + sum += -0.000256341; + } + } else { + if ( features[6] < -0.645187 ) { + sum += 0.000256341; + } else { + sum += -0.000256341; + } + } + // tree 122 + if ( features[5] < 0.628848 ) { + if ( features[9] < 1.96958 ) { + sum += -0.000262379; + } else { + sum += 0.000262379; + } + } else { + sum += -0.000262379; + } + // tree 123 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000274941; + } else { + sum += 0.000274941; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000274941; + } else { + sum += -0.000274941; + } + } + // tree 124 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.000282235; + } else { + sum += 0.000282235; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000282235; + } else { + sum += -0.000282235; + } + } + // tree 125 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000274738; + } else { + sum += -0.000274738; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000274738; + } else { + sum += -0.000274738; + } + } + // tree 126 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000277235; + } else { + sum += -0.000277235; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000277235; + } else { + sum += -0.000277235; + } + } + // tree 127 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000291904; + } else { + sum += 0.000291904; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000291904; + } else { + sum += -0.000291904; + } + } + // tree 128 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000249744; + } else { + sum += 0.000249744; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000249744; + } else { + sum += -0.000249744; + } + } + // tree 129 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 0.000228248; + } else { + sum += -0.000228248; + } + } else { + if ( features[4] < -2.16593 ) { + sum += 0.000228248; + } else { + sum += -0.000228248; + } + } + // tree 130 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000248073; + } else { + sum += -0.000248073; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000248073; + } else { + sum += 0.000248073; + } + } + // tree 131 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000292364; + } else { + sum += 0.000292364; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000292364; + } else { + sum += -0.000292364; + } + } + // tree 132 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.784599 ) { + sum += 0.00024567; + } else { + sum += -0.00024567; + } + } else { + sum += -0.00024567; + } + // tree 133 + if ( features[5] < 0.784599 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000280042; + } else { + sum += -0.000280042; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000280042; + } else { + sum += -0.000280042; + } + } + // tree 134 + if ( features[1] < -0.30431 ) { + sum += -0.000262315; + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000262315; + } else { + sum += -0.000262315; + } + } + // tree 135 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000287138; + } else { + sum += 0.000287138; + } + } else { + sum += -0.000287138; + } + // tree 136 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000267538; + } else { + sum += -0.000267538; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000267538; + } else { + sum += -0.000267538; + } + } + // tree 137 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000285061; + } else { + sum += 0.000285061; + } + } else { + sum += -0.000285061; + } + // tree 138 + if ( features[5] < 0.784599 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000275571; + } else { + sum += -0.000275571; + } + } else { + sum += -0.000275571; + } + // tree 139 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000252254; + } else { + sum += 0.000252254; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000252254; + } else { + sum += 0.000252254; + } + } + // tree 140 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000285593; + } else { + sum += 0.000285593; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000285593; + } else { + sum += -0.000285593; + } + } + // tree 141 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000263365; + } else { + sum += 0.000263365; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000263365; + } else { + sum += -0.000263365; + } + } + // tree 142 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000283395; + } else { + sum += 0.000283395; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000283395; + } else { + sum += -0.000283395; + } + } + // tree 143 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000275346; + } else { + sum += 0.000275346; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000275346; + } else { + sum += -0.000275346; + } + } + // tree 144 + if ( features[6] < -1.05893 ) { + if ( features[5] < 0.781454 ) { + sum += 0.000260588; + } else { + sum += -0.000260588; + } + } else { + if ( features[7] < 0.515043 ) { + sum += 0.000260588; + } else { + sum += -0.000260588; + } + } + // tree 145 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000261619; + } else { + sum += -0.000261619; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000261619; + } else { + sum += -0.000261619; + } + } + // tree 146 + if ( features[5] < 0.784599 ) { + if ( features[8] < 1.82785 ) { + sum += -0.000240177; + } else { + sum += 0.000240177; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000240177; + } else { + sum += -0.000240177; + } + } + // tree 147 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000272933; + } else { + sum += -0.000272933; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000272933; + } else { + sum += 0.000272933; + } + } + // tree 148 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000246221; + } else { + sum += 0.000246221; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000246221; + } else { + sum += -0.000246221; + } + } + // tree 149 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000279754; + } else { + sum += 0.000279754; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000279754; + } else { + sum += -0.000279754; + } + } + // tree 150 + if ( features[5] < 0.784599 ) { + if ( features[8] < 1.82785 ) { + sum += -0.000237722; + } else { + sum += 0.000237722; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000237722; + } else { + sum += -0.000237722; + } + } + // tree 151 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000270199; + } else { + sum += 0.000270199; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000270199; + } else { + sum += -0.000270199; + } + } + // tree 152 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000218481; + } else { + sum += -0.000218481; + } + } else { + if ( features[6] < -0.645187 ) { + sum += 0.000218481; + } else { + sum += -0.000218481; + } + } + // tree 153 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000243828; + } else { + sum += 0.000243828; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000243828; + } else { + sum += -0.000243828; + } + } + // tree 154 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000261869; + } else { + sum += -0.000261869; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000261869; + } else { + sum += -0.000261869; + } + } + // tree 155 + if ( features[1] < -0.30431 ) { + if ( features[1] < -0.4425 ) { + sum += -0.000253408; + } else { + sum += 0.000253408; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000253408; + } else { + sum += -0.000253408; + } + } + // tree 156 + if ( features[7] < 0.721911 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000224189; + } else { + sum += -0.000224189; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000224189; + } else { + sum += -0.000224189; + } + } + // tree 157 + if ( features[1] < -0.30431 ) { + sum += -0.000248383; + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000248383; + } else { + sum += -0.000248383; + } + } + // tree 158 + if ( features[7] < 0.721911 ) { + if ( features[4] < -0.252614 ) { + sum += 0.000218511; + } else { + sum += -0.000218511; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000218511; + } else { + sum += -0.000218511; + } + } + // tree 159 + if ( features[6] < -1.05893 ) { + if ( features[7] < 0.795441 ) { + sum += 0.000223336; + } else { + sum += -0.000223336; + } + } else { + if ( features[7] < 0.515043 ) { + sum += 0.000223336; + } else { + sum += -0.000223336; + } + } + // tree 160 + if ( features[5] < 0.628848 ) { + sum += 0.000237861; + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000237861; + } else { + sum += -0.000237861; + } + } + // tree 161 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000253846; + } else { + sum += -0.000253846; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000253846; + } else { + sum += -0.000253846; + } + } + // tree 162 + if ( features[5] < 0.784599 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000228199; + } else { + sum += 0.000228199; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000228199; + } else { + sum += -0.000228199; + } + } + // tree 163 + if ( features[8] < 2.24069 ) { + if ( features[4] < -1.99199 ) { + sum += 0.000227112; + } else { + sum += -0.000227112; + } + } else { + if ( features[4] < -0.600576 ) { + sum += 0.000227112; + } else { + sum += -0.000227112; + } + } + // tree 164 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000265343; + } else { + sum += -0.000265343; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000265343; + } else { + sum += 0.000265343; + } + } + // tree 165 + if ( features[1] < -0.30431 ) { + sum += -0.00022393; + } else { + if ( features[9] < 1.87289 ) { + sum += -0.00022393; + } else { + sum += 0.00022393; + } + } + // tree 166 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000268259; + } else { + sum += 0.000268259; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000268259; + } else { + sum += -0.000268259; + } + } + // tree 167 + if ( features[7] < 0.721911 ) { + if ( features[4] < -0.252614 ) { + sum += 0.000213759; + } else { + sum += -0.000213759; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000213759; + } else { + sum += -0.000213759; + } + } + // tree 168 + if ( features[4] < -1.29629 ) { + if ( features[5] < 0.754354 ) { + sum += 0.000228279; + } else { + sum += -0.000228279; + } + } else { + if ( features[5] < 0.793204 ) { + sum += 0.000228279; + } else { + sum += -0.000228279; + } + } + // tree 169 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.00023535; + } else { + sum += -0.00023535; + } + } else { + if ( features[7] < 0.784111 ) { + sum += 0.00023535; + } else { + sum += -0.00023535; + } + } + // tree 170 + if ( features[0] < 1.68308 ) { + sum += -0.000233879; + } else { + if ( features[7] < 0.721895 ) { + sum += 0.000233879; + } else { + sum += -0.000233879; + } + } + // tree 171 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000260173; + } else { + sum += 0.000260173; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000260173; + } else { + sum += -0.000260173; + } + } + // tree 172 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000235217; + } else { + sum += 0.000235217; + } + } else { + if ( features[5] < 0.793204 ) { + sum += 0.000235217; + } else { + sum += -0.000235217; + } + } + // tree 173 + if ( features[9] < 2.16313 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000279296; + } else { + sum += -0.000279296; + } + } else { + if ( features[5] < 0.660665 ) { + sum += 0.000279296; + } else { + sum += -0.000279296; + } + } + // tree 174 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000249167; + } else { + sum += 0.000249167; + } + } else { + sum += -0.000249167; + } + // tree 175 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.00024683; + } else { + sum += -0.00024683; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.00024683; + } else { + sum += -0.00024683; + } + } + // tree 176 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000261758; + } else { + sum += 0.000261758; + } + } else { + sum += -0.000261758; + } + // tree 177 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000228441; + } else { + sum += 0.000228441; + } + } else { + sum += -0.000228441; + } + // tree 178 + if ( features[9] < 2.16313 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000247886; + } else { + sum += -0.000247886; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000247886; + } else { + sum += 0.000247886; + } + } + // tree 179 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000260735; + } else { + sum += 0.000260735; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000260735; + } else { + sum += -0.000260735; + } + } + // tree 180 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000262867; + } else { + sum += 0.000262867; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000262867; + } else { + sum += -0.000262867; + } + } + // tree 181 + if ( features[5] < 0.784599 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000250913; + } else { + sum += -0.000250913; + } + } else { + sum += -0.000250913; + } + // tree 182 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000260428; + } else { + sum += 0.000260428; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000260428; + } else { + sum += -0.000260428; + } + } + // tree 183 + if ( features[1] < -0.30431 ) { + if ( features[6] < -2.5465 ) { + sum += 0.00022357; + } else { + sum += -0.00022357; + } + } else { + if ( features[4] < -0.774141 ) { + sum += 0.00022357; + } else { + sum += -0.00022357; + } + } + // tree 184 + if ( features[12] < 4.57639 ) { + if ( features[4] < -0.42658 ) { + sum += 0.000230776; + } else { + sum += -0.000230776; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000230776; + } else { + sum += 0.000230776; + } + } + // tree 185 + if ( features[6] < -1.05893 ) { + if ( features[0] < 1.82578 ) { + sum += -0.000226459; + } else { + sum += 0.000226459; + } + } else { + if ( features[4] < -1.81665 ) { + sum += 0.000226459; + } else { + sum += -0.000226459; + } + } + // tree 186 + if ( features[6] < -1.05893 ) { + if ( features[9] < 2.06635 ) { + sum += -0.00019596; + } else { + sum += 0.00019596; + } + } else { + if ( features[5] < 0.7564 ) { + sum += 0.00019596; + } else { + sum += -0.00019596; + } + } + // tree 187 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000248074; + } else { + sum += 0.000248074; + } + } else { + sum += -0.000248074; + } + // tree 188 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000256331; + } else { + sum += 0.000256331; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000256331; + } else { + sum += -0.000256331; + } + } + // tree 189 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000253838; + } else { + sum += 0.000253838; + } + } else { + sum += -0.000253838; + } + // tree 190 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000238343; + } else { + sum += 0.000238343; + } + } else { + sum += -0.000238343; + } + // tree 191 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.00024864; + } else { + sum += 0.00024864; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.00024864; + } else { + sum += -0.00024864; + } + } + // tree 192 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000232707; + } else { + sum += 0.000232707; + } + } else { + if ( features[1] < 0.108593 ) { + sum += -0.000232707; + } else { + sum += 0.000232707; + } + } + // tree 193 + if ( features[1] < -0.30431 ) { + sum += -0.000216518; + } else { + if ( features[4] < -0.774141 ) { + sum += 0.000216518; + } else { + sum += -0.000216518; + } + } + // tree 194 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.0002422; + } else { + sum += 0.0002422; + } + } else { + sum += -0.0002422; + } + // tree 195 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000245158; + } else { + sum += 0.000245158; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000245158; + } else { + sum += -0.000245158; + } + } + // tree 196 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.00024722; + } else { + sum += -0.00024722; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.00024722; + } else { + sum += 0.00024722; + } + } + // tree 197 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000237289; + } else { + sum += 0.000237289; + } + } else { + if ( features[5] < 0.756141 ) { + sum += 0.000237289; + } else { + sum += -0.000237289; + } + } + // tree 198 + if ( features[5] < 0.628848 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000224897; + } else { + sum += -0.000224897; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000224897; + } else { + sum += -0.000224897; + } + } + // tree 199 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000242073; + } else { + sum += 0.000242073; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000242073; + } else { + sum += -0.000242073; + } + } + // tree 200 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000250057; + } else { + sum += 0.000250057; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000250057; + } else { + sum += -0.000250057; + } + } + // tree 201 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000249707; + } else { + sum += -0.000249707; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000249707; + } else { + sum += -0.000249707; + } + } + // tree 202 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000248353; + } else { + sum += -0.000248353; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000248353; + } else { + sum += -0.000248353; + } + } + // tree 203 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000227376; + } else { + sum += -0.000227376; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000227376; + } else { + sum += -0.000227376; + } + } + // tree 204 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000244157; + } else { + sum += 0.000244157; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000244157; + } else { + sum += -0.000244157; + } + } + // tree 205 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000241402; + } else { + sum += 0.000241402; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000241402; + } else { + sum += -0.000241402; + } + } + // tree 206 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000232739; + } else { + sum += -0.000232739; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000232739; + } else { + sum += -0.000232739; + } + } + // tree 207 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000240185; + } else { + sum += 0.000240185; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000240185; + } else { + sum += -0.000240185; + } + } + // tree 208 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000232051; + } else { + sum += -0.000232051; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000232051; + } else { + sum += -0.000232051; + } + } + // tree 209 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000240621; + } else { + sum += 0.000240621; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000240621; + } else { + sum += -0.000240621; + } + } + // tree 210 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000248362; + } else { + sum += 0.000248362; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000248362; + } else { + sum += -0.000248362; + } + } + // tree 211 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.00021174; + } else { + sum += -0.00021174; + } + } else { + if ( features[6] < -2.15667 ) { + sum += 0.00021174; + } else { + sum += -0.00021174; + } + } + // tree 212 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000180174; + } else { + sum += -0.000180174; + } + } else { + sum += 0.000180174; + } + // tree 213 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000179196; + } else { + sum += -0.000179196; + } + } else { + sum += 0.000179196; + } + // tree 214 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000230631; + } else { + sum += 0.000230631; + } + } else { + sum += -0.000230631; + } + // tree 215 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000233641; + } else { + sum += 0.000233641; + } + } else { + sum += -0.000233641; + } + // tree 216 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000238552; + } else { + sum += 0.000238552; + } + } else { + sum += -0.000238552; + } + // tree 217 + sum += 4.94942e-05; + // tree 218 + if ( features[4] < -1.29629 ) { + if ( features[9] < 1.84342 ) { + sum += -0.00020126; + } else { + sum += 0.00020126; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.00020126; + } else { + sum += -0.00020126; + } + } + // tree 219 + if ( features[3] < 0.048366 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000187909; + } else { + sum += -0.000187909; + } + } else { + if ( features[9] < 1.95953 ) { + sum += -0.000187909; + } else { + sum += 0.000187909; + } + } + // tree 220 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000244069; + } else { + sum += 0.000244069; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000244069; + } else { + sum += -0.000244069; + } + } + // tree 221 + if ( features[12] < 4.57639 ) { + if ( features[4] < -0.42658 ) { + sum += 0.000218772; + } else { + sum += -0.000218772; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000218772; + } else { + sum += -0.000218772; + } + } + // tree 222 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000230291; + } else { + sum += 0.000230291; + } + } else { + sum += -0.000230291; + } + // tree 223 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000219023; + } else { + sum += 0.000219023; + } + } else { + sum += -0.000219023; + } + // tree 224 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.69595 ) { + sum += 0.000187834; + } else { + sum += -0.000187834; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000187834; + } else { + sum += -0.000187834; + } + } + // tree 225 + if ( features[4] < -1.29629 ) { + if ( features[0] < 1.68517 ) { + sum += -0.000191571; + } else { + sum += 0.000191571; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000191571; + } else { + sum += -0.000191571; + } + } + // tree 226 + if ( features[9] < 2.16313 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000227146; + } else { + sum += -0.000227146; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000227146; + } else { + sum += -0.000227146; + } + } + // tree 227 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000239791; + } else { + sum += 0.000239791; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000239791; + } else { + sum += -0.000239791; + } + } + // tree 228 + if ( features[5] < 0.784599 ) { + if ( features[8] < 1.82785 ) { + sum += -0.000195298; + } else { + sum += 0.000195298; + } + } else { + sum += -0.000195298; + } + // tree 229 + if ( features[4] < -1.29629 ) { + if ( features[9] < 1.84342 ) { + sum += -0.000197251; + } else { + sum += 0.000197251; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.000197251; + } else { + sum += -0.000197251; + } + } + // tree 230 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000208857; + } else { + sum += 0.000208857; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000208857; + } else { + sum += -0.000208857; + } + } + // tree 231 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000214501; + } else { + sum += 0.000214501; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.000214501; + } else { + sum += -0.000214501; + } + } + // tree 232 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000225846; + } else { + sum += 0.000225846; + } + } else { + sum += -0.000225846; + } + // tree 233 + if ( features[5] < 0.784599 ) { + sum += 0.000187514; + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000187514; + } else { + sum += -0.000187514; + } + } + // tree 234 + if ( features[1] < -0.100321 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000210728; + } else { + sum += -0.000210728; + } + } else { + if ( features[4] < -0.600362 ) { + sum += 0.000210728; + } else { + sum += -0.000210728; + } + } + // tree 235 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000232558; + } else { + sum += -0.000232558; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000232558; + } else { + sum += -0.000232558; + } + } + // tree 236 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000211709; + } else { + sum += 0.000211709; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.000211709; + } else { + sum += -0.000211709; + } + } + // tree 237 + if ( features[4] < -1.29629 ) { + if ( features[3] < 0.0644871 ) { + sum += 0.000172209; + } else { + sum += -0.000172209; + } + } else { + if ( features[5] < 0.793204 ) { + sum += 0.000172209; + } else { + sum += -0.000172209; + } + } + // tree 238 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000217253; + } else { + sum += -0.000217253; + } + } else { + if ( features[9] < 2.62832 ) { + sum += -0.000217253; + } else { + sum += 0.000217253; + } + } + // tree 239 + if ( features[4] < -1.29629 ) { + if ( features[0] < 1.68517 ) { + sum += -0.000182386; + } else { + sum += 0.000182386; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000182386; + } else { + sum += -0.000182386; + } + } + // tree 240 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000229164; + } else { + sum += -0.000229164; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000229164; + } else { + sum += -0.000229164; + } + } + // tree 241 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000208927; + } else { + sum += 0.000208927; + } + } else { + if ( features[9] < 2.62832 ) { + sum += -0.000208927; + } else { + sum += 0.000208927; + } + } + // tree 242 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000221582; + } else { + sum += 0.000221582; + } + } else { + sum += -0.000221582; + } + // tree 243 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000218624; + } else { + sum += 0.000218624; + } + } else { + sum += -0.000218624; + } + // tree 244 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000223316; + } else { + sum += 0.000223316; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000223316; + } else { + sum += -0.000223316; + } + } + // tree 245 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000225995; + } else { + sum += -0.000225995; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000225995; + } else { + sum += -0.000225995; + } + } + // tree 246 + if ( features[5] < 0.784599 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000223255; + } else { + sum += -0.000223255; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000223255; + } else { + sum += -0.000223255; + } + } + // tree 247 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000224132; + } else { + sum += -0.000224132; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000224132; + } else { + sum += -0.000224132; + } + } + // tree 248 + if ( features[7] < 0.721911 ) { + if ( features[0] < 1.77352 ) { + sum += -0.000197458; + } else { + sum += 0.000197458; + } + } else { + sum += -0.000197458; + } + // tree 249 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000222583; + } else { + sum += -0.000222583; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000222583; + } else { + sum += -0.000222583; + } + } + // tree 250 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000224709; + } else { + sum += 0.000224709; + } + } else { + sum += -0.000224709; + } + // tree 251 + if ( features[1] < -0.30431 ) { + if ( features[4] < -2.16603 ) { + sum += 0.0002096; + } else { + sum += -0.0002096; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.0002096; + } else { + sum += -0.0002096; + } + } + // tree 252 + if ( features[11] < 1.84612 ) { + if ( features[7] < 0.758668 ) { + sum += 0.000178768; + } else { + sum += -0.000178768; + } + } else { + sum += -0.000178768; + } + // tree 253 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.00021603; + } else { + sum += -0.00021603; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.00021603; + } else { + sum += -0.00021603; + } + } + // tree 254 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000219202; + } else { + sum += 0.000219202; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000219202; + } else { + sum += -0.000219202; + } + } + // tree 255 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000221828; + } else { + sum += 0.000221828; + } + } else { + sum += -0.000221828; + } + // tree 256 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.00021591; + } else { + sum += -0.00021591; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.00021591; + } else { + sum += -0.00021591; + } + } + // tree 257 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000227306; + } else { + sum += 0.000227306; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000227306; + } else { + sum += -0.000227306; + } + } + // tree 258 + if ( features[8] < 2.24069 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000203617; + } else { + sum += -0.000203617; + } + } else { + if ( features[4] < -0.600576 ) { + sum += 0.000203617; + } else { + sum += -0.000203617; + } + } + // tree 259 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000214945; + } else { + sum += 0.000214945; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000214945; + } else { + sum += -0.000214945; + } + } + // tree 260 + if ( features[2] < 0.633096 ) { + if ( features[1] < -0.0210383 ) { + sum += -0.000169565; + } else { + sum += 0.000169565; + } + } else { + if ( features[1] < -0.30428 ) { + sum += -0.000169565; + } else { + sum += 0.000169565; + } + } + // tree 261 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.000195296; + } else { + sum += 0.000195296; + } + } else { + sum += -0.000195296; + } + // tree 262 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000216246; + } else { + sum += -0.000216246; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000216246; + } else { + sum += -0.000216246; + } + } + // tree 263 + if ( features[5] < 0.784599 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000174302; + } else { + sum += 0.000174302; + } + } else { + sum += -0.000174302; + } + // tree 264 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000213792; + } else { + sum += 0.000213792; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000213792; + } else { + sum += -0.000213792; + } + } + // tree 265 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.400762 ) { + sum += -0.000121999; + } else { + sum += 0.000121999; + } + } else { + sum += 0.000121999; + } + // tree 266 + if ( features[9] < 2.16313 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000225022; + } else { + sum += -0.000225022; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000225022; + } else { + sum += 0.000225022; + } + } + // tree 267 + if ( features[12] < 4.57639 ) { + sum += 0.000180402; + } else { + if ( features[7] < 0.501208 ) { + sum += 0.000180402; + } else { + sum += -0.000180402; + } + } + // tree 268 + if ( features[4] < -1.29629 ) { + if ( features[9] < 1.84342 ) { + sum += -0.000183492; + } else { + sum += 0.000183492; + } + } else { + if ( features[7] < 0.519347 ) { + sum += 0.000183492; + } else { + sum += -0.000183492; + } + } + // tree 269 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000183083; + } else { + sum += -0.000183083; + } + } else { + if ( features[7] < 0.519347 ) { + sum += 0.000183083; + } else { + sum += -0.000183083; + } + } + // tree 270 + if ( features[7] < 0.721911 ) { + if ( features[0] < 1.77352 ) { + sum += -0.000195035; + } else { + sum += 0.000195035; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000195035; + } else { + sum += -0.000195035; + } + } + // tree 271 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000211187; + } else { + sum += 0.000211187; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000211187; + } else { + sum += -0.000211187; + } + } + // tree 272 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000210115; + } else { + sum += -0.000210115; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000210115; + } else { + sum += -0.000210115; + } + } + // tree 273 + if ( features[0] < 1.68308 ) { + sum += -0.000173703; + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000173703; + } else { + sum += 0.000173703; + } + } + // tree 274 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000200679; + } else { + sum += 0.000200679; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000200679; + } else { + sum += -0.000200679; + } + } + // tree 275 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000210647; + } else { + sum += -0.000210647; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000210647; + } else { + sum += -0.000210647; + } + } + // tree 276 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.00020029; + } else { + sum += -0.00020029; + } + } else { + if ( features[9] < 2.62832 ) { + sum += -0.00020029; + } else { + sum += 0.00020029; + } + } + // tree 277 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000197622; + } else { + sum += -0.000197622; + } + } else { + if ( features[4] < -0.774141 ) { + sum += 0.000197622; + } else { + sum += -0.000197622; + } + } + // tree 278 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000210451; + } else { + sum += 0.000210451; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000210451; + } else { + sum += -0.000210451; + } + } + // tree 279 + if ( features[9] < 2.16313 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000208631; + } else { + sum += -0.000208631; + } + } else { + if ( features[0] < 1.68308 ) { + sum += -0.000208631; + } else { + sum += 0.000208631; + } + } + // tree 280 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000224026; + } else { + sum += 0.000224026; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000224026; + } else { + sum += -0.000224026; + } + } + // tree 281 + if ( features[4] < -1.29629 ) { + if ( features[5] < 0.754354 ) { + sum += 0.000184683; + } else { + sum += -0.000184683; + } + } else { + if ( features[7] < 0.519347 ) { + sum += 0.000184683; + } else { + sum += -0.000184683; + } + } + // tree 282 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000203579; + } else { + sum += -0.000203579; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000203579; + } else { + sum += -0.000203579; + } + } + // tree 283 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000206043; + } else { + sum += 0.000206043; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000206043; + } else { + sum += -0.000206043; + } + } + // tree 284 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000169652; + } else { + sum += -0.000169652; + } + } else { + if ( features[1] < -0.0575387 ) { + sum += -0.000169652; + } else { + sum += 0.000169652; + } + } + // tree 285 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000206439; + } else { + sum += 0.000206439; + } + } else { + sum += -0.000206439; + } + // tree 286 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.00021032; + } else { + sum += 0.00021032; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.00021032; + } else { + sum += -0.00021032; + } + } + // tree 287 + if ( features[5] < 0.784599 ) { + if ( features[1] < -0.61026 ) { + sum += -0.000196785; + } else { + sum += 0.000196785; + } + } else { + sum += -0.000196785; + } + // tree 288 + if ( features[0] < 1.68308 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000201176; + } else { + sum += -0.000201176; + } + } else { + if ( features[5] < 0.783494 ) { + sum += 0.000201176; + } else { + sum += -0.000201176; + } + } + // tree 289 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000194835; + } else { + sum += -0.000194835; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000194835; + } else { + sum += 0.000194835; + } + } + // tree 290 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000188227; + } else { + sum += 0.000188227; + } + } else { + sum += -0.000188227; + } + // tree 291 + if ( features[5] < 0.628848 ) { + if ( features[8] < 1.89056 ) { + sum += -0.000207588; + } else { + sum += 0.000207588; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000207588; + } else { + sum += -0.000207588; + } + } + // tree 292 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000216081; + } else { + sum += 0.000216081; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000216081; + } else { + sum += -0.000216081; + } + } + // tree 293 + if ( features[12] < 4.57639 ) { + if ( features[0] < 1.65479 ) { + sum += -0.000188162; + } else { + sum += 0.000188162; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000188162; + } else { + sum += -0.000188162; + } + } + // tree 294 + if ( features[5] < 0.628848 ) { + if ( features[9] < 2.16313 ) { + sum += -0.000184199; + } else { + sum += 0.000184199; + } + } else { + sum += -0.000184199; + } + // tree 295 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000182913; + } else { + sum += 0.000182913; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000182913; + } else { + sum += -0.000182913; + } + } + // tree 296 + if ( features[5] < 0.784599 ) { + if ( features[8] < 2.24069 ) { + sum += -0.000165246; + } else { + sum += 0.000165246; + } + } else { + sum += -0.000165246; + } + // tree 297 + if ( features[12] < 4.57639 ) { + if ( features[4] < -0.42658 ) { + sum += 0.000187085; + } else { + sum += -0.000187085; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000187085; + } else { + sum += 0.000187085; + } + } + // tree 298 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000213907; + } else { + sum += 0.000213907; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000213907; + } else { + sum += -0.000213907; + } + } + // tree 299 + if ( features[5] < 0.784599 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000159954; + } else { + sum += 0.000159954; + } + } else { + sum += -0.000159954; + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1200-1499.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1200-1499.cpp new file mode 100644 index 0000000000000000000000000000000000000000..48a3bb49205a22ad52166d124f8dade18381ab3e --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1200-1499.cpp @@ -0,0 +1,4074 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_4( const std::vector<double>& features ) const { + double sum = 0; + + // tree 1200 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000112139; + } else { + sum += -0.000112139; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000112139; + } else { + sum += -0.000112139; + } + } + // tree 1201 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000101407; + } else { + sum += 0.000101407; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000101407; + } else { + sum += 0.000101407; + } + } + // tree 1202 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000113041; + } else { + sum += 0.000113041; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000113041; + } else { + sum += -0.000113041; + } + } + // tree 1203 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000103093; + } else { + sum += 0.000103093; + } + } else { + if ( features[8] < 2.26819 ) { + sum += -0.000103093; + } else { + sum += 0.000103093; + } + } + // tree 1204 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000111023; + } else { + sum += 0.000111023; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000111023; + } else { + sum += -0.000111023; + } + } + // tree 1205 + if ( features[9] < 1.87281 ) { + if ( features[1] < -0.121204 ) { + sum += 0.000130017; + } else { + sum += -0.000130017; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000130017; + } else { + sum += 0.000130017; + } + } + // tree 1206 + if ( features[4] < -1.47024 ) { + if ( features[5] < 0.630907 ) { + sum += 0.000109398; + } else { + sum += -0.000109398; + } + } else { + if ( features[2] < 0.444798 ) { + sum += 0.000109398; + } else { + sum += -0.000109398; + } + } + // tree 1207 + if ( features[7] < 0.501269 ) { + sum += 9.92233e-05; + } else { + if ( features[4] < -0.252418 ) { + sum += -9.92233e-05; + } else { + sum += 9.92233e-05; + } + } + // tree 1208 + if ( features[0] < 1.68308 ) { + sum += -9.01427e-05; + } else { + if ( features[1] < -0.712287 ) { + sum += -9.01427e-05; + } else { + sum += 9.01427e-05; + } + } + // tree 1209 + if ( features[12] < 4.93509 ) { + if ( features[4] < -1.47026 ) { + sum += 0.000101231; + } else { + sum += -0.000101231; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -0.000101231; + } else { + sum += 0.000101231; + } + } + // tree 1210 + if ( features[12] < 4.93509 ) { + if ( features[4] < -1.47026 ) { + sum += 0.00010449; + } else { + sum += -0.00010449; + } + } else { + if ( features[5] < 0.787913 ) { + sum += -0.00010449; + } else { + sum += 0.00010449; + } + } + // tree 1211 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000113123; + } else { + sum += 0.000113123; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000113123; + } else { + sum += 0.000113123; + } + } + // tree 1212 + sum += 5.17805e-05; + // tree 1213 + if ( features[12] < 4.93509 ) { + if ( features[3] < 0.0967294 ) { + sum += 0.000100464; + } else { + sum += -0.000100464; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000100464; + } else { + sum += -0.000100464; + } + } + // tree 1214 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.8738e-05; + } else { + sum += -9.8738e-05; + } + } else { + sum += 9.8738e-05; + } + // tree 1215 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000102455; + } else { + sum += -0.000102455; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000102455; + } else { + sum += 0.000102455; + } + } + // tree 1216 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -0.000103183; + } else { + sum += 0.000103183; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000103183; + } else { + sum += -0.000103183; + } + } + // tree 1217 + if ( features[7] < 0.979327 ) { + if ( features[7] < 0.386203 ) { + sum += -9.68099e-05; + } else { + sum += 9.68099e-05; + } + } else { + sum += -9.68099e-05; + } + // tree 1218 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000105318; + } else { + sum += 0.000105318; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000105318; + } else { + sum += 0.000105318; + } + } + // tree 1219 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.80262e-05; + } else { + sum += -9.80262e-05; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 9.80262e-05; + } else { + sum += -9.80262e-05; + } + } + // tree 1220 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000107067; + } else { + sum += 0.000107067; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000107067; + } else { + sum += -0.000107067; + } + } + // tree 1221 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000112308; + } else { + sum += -0.000112308; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000112308; + } else { + sum += -0.000112308; + } + } + // tree 1222 + if ( features[0] < 1.68308 ) { + if ( features[2] < 0.493201 ) { + sum += 8.73009e-05; + } else { + sum += -8.73009e-05; + } + } else { + if ( features[6] < -0.231447 ) { + sum += 8.73009e-05; + } else { + sum += -8.73009e-05; + } + } + // tree 1223 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000107054; + } else { + sum += 0.000107054; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000107054; + } else { + sum += -0.000107054; + } + } + // tree 1224 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000111862; + } else { + sum += 0.000111862; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000111862; + } else { + sum += 0.000111862; + } + } + // tree 1225 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000105012; + } else { + sum += -0.000105012; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000105012; + } else { + sum += 0.000105012; + } + } + // tree 1226 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000101145; + } else { + sum += -0.000101145; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000101145; + } else { + sum += 0.000101145; + } + } + // tree 1227 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000110567; + } else { + sum += 0.000110567; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000110567; + } else { + sum += -0.000110567; + } + } + // tree 1228 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000118178; + } else { + sum += -0.000118178; + } + } else { + if ( features[2] < 0.444798 ) { + sum += 0.000118178; + } else { + sum += -0.000118178; + } + } + // tree 1229 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000126885; + } else { + sum += 0.000126885; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000126885; + } else { + sum += 0.000126885; + } + } + // tree 1230 + if ( features[1] < 0.103667 ) { + if ( features[8] < 2.01757 ) { + sum += 0.000107563; + } else { + sum += -0.000107563; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000107563; + } else { + sum += -0.000107563; + } + } + // tree 1231 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000109755; + } else { + sum += 0.000109755; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000109755; + } else { + sum += -0.000109755; + } + } + // tree 1232 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000126079; + } else { + sum += 0.000126079; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000126079; + } else { + sum += 0.000126079; + } + } + // tree 1233 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.93509 ) { + sum += 9.6688e-05; + } else { + sum += -9.6688e-05; + } + } else { + if ( features[8] < 2.3439 ) { + sum += 9.6688e-05; + } else { + sum += -9.6688e-05; + } + } + // tree 1234 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000106553; + } else { + sum += 0.000106553; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000106553; + } else { + sum += -0.000106553; + } + } + // tree 1235 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000105882; + } else { + sum += 0.000105882; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000105882; + } else { + sum += -0.000105882; + } + } + // tree 1236 + if ( features[7] < 0.501269 ) { + sum += 9.74766e-05; + } else { + if ( features[8] < 2.65353 ) { + sum += -9.74766e-05; + } else { + sum += 9.74766e-05; + } + } + // tree 1237 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -9.77381e-05; + } else { + sum += 9.77381e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.77381e-05; + } else { + sum += -9.77381e-05; + } + } + // tree 1238 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000106638; + } else { + sum += -0.000106638; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000106638; + } else { + sum += -0.000106638; + } + } + // tree 1239 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000117748; + } else { + sum += -0.000117748; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -0.000117748; + } else { + sum += 0.000117748; + } + } + // tree 1240 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000125381; + } else { + sum += 0.000125381; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000125381; + } else { + sum += 0.000125381; + } + } + // tree 1241 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000110172; + } else { + sum += 0.000110172; + } + } else { + if ( features[2] < 0.444798 ) { + sum += 0.000110172; + } else { + sum += -0.000110172; + } + } + // tree 1242 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000110898; + } else { + sum += -0.000110898; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000110898; + } else { + sum += -0.000110898; + } + } + // tree 1243 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000103776; + } else { + sum += 0.000103776; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000103776; + } else { + sum += 0.000103776; + } + } + // tree 1244 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000104667; + } else { + sum += 0.000104667; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000104667; + } else { + sum += -0.000104667; + } + } + // tree 1245 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000110008; + } else { + sum += 0.000110008; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000110008; + } else { + sum += 0.000110008; + } + } + // tree 1246 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000109781; + } else { + sum += -0.000109781; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000109781; + } else { + sum += -0.000109781; + } + } + // tree 1247 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.59461e-05; + } else { + sum += 9.59461e-05; + } + } else { + if ( features[5] < 0.783494 ) { + sum += 9.59461e-05; + } else { + sum += -9.59461e-05; + } + } + // tree 1248 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000105331; + } else { + sum += 0.000105331; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000105331; + } else { + sum += -0.000105331; + } + } + // tree 1249 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000123; + } else { + sum += 0.000123; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000123; + } else { + sum += -0.000123; + } + } + // tree 1250 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000107767; + } else { + sum += -0.000107767; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000107767; + } else { + sum += 0.000107767; + } + } + // tree 1251 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000110854; + } else { + sum += -0.000110854; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000110854; + } else { + sum += -0.000110854; + } + } + // tree 1252 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000104185; + } else { + sum += 0.000104185; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000104185; + } else { + sum += -0.000104185; + } + } + // tree 1253 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000110343; + } else { + sum += -0.000110343; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000110343; + } else { + sum += -0.000110343; + } + } + // tree 1254 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.00014174; + } else { + sum += -0.00014174; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.00014174; + } else { + sum += 0.00014174; + } + } + // tree 1255 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.57724e-05; + } else { + sum += -9.57724e-05; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 9.57724e-05; + } else { + sum += -9.57724e-05; + } + } + // tree 1256 + if ( features[7] < 0.979327 ) { + if ( features[8] < 1.45949 ) { + sum += -9.78611e-05; + } else { + sum += 9.78611e-05; + } + } else { + if ( features[2] < 0.256409 ) { + sum += 9.78611e-05; + } else { + sum += -9.78611e-05; + } + } + // tree 1257 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000107383; + } else { + sum += -0.000107383; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000107383; + } else { + sum += 0.000107383; + } + } + // tree 1258 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000108873; + } else { + sum += 0.000108873; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000108873; + } else { + sum += 0.000108873; + } + } + // tree 1259 + if ( features[3] < 0.0967294 ) { + if ( features[0] < 1.81252 ) { + sum += -8.7208e-05; + } else { + sum += 8.7208e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -8.7208e-05; + } else { + sum += 8.7208e-05; + } + } + // tree 1260 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000128935; + } else { + sum += 0.000128935; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000128935; + } else { + sum += 0.000128935; + } + } + // tree 1261 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.51314e-05; + } else { + sum += -9.51314e-05; + } + } else { + sum += 9.51314e-05; + } + // tree 1262 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.56967e-05; + } else { + sum += -9.56967e-05; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 9.56967e-05; + } else { + sum += -9.56967e-05; + } + } + // tree 1263 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000116659; + } else { + sum += -0.000116659; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.000116659; + } else { + sum += -0.000116659; + } + } + // tree 1264 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 0.000103506; + } else { + sum += -0.000103506; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000103506; + } else { + sum += 0.000103506; + } + } + // tree 1265 + if ( features[7] < 0.979327 ) { + if ( features[7] < 0.386203 ) { + sum += -9.40662e-05; + } else { + sum += 9.40662e-05; + } + } else { + sum += -9.40662e-05; + } + // tree 1266 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000105467; + } else { + sum += -0.000105467; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000105467; + } else { + sum += 0.000105467; + } + } + // tree 1267 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000113006; + } else { + sum += 0.000113006; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000113006; + } else { + sum += 0.000113006; + } + } + // tree 1268 + if ( features[7] < 0.979327 ) { + if ( features[7] < 0.386203 ) { + sum += -9.73497e-05; + } else { + sum += 9.73497e-05; + } + } else { + if ( features[2] < 0.256409 ) { + sum += 9.73497e-05; + } else { + sum += -9.73497e-05; + } + } + // tree 1269 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.00010485; + } else { + sum += 0.00010485; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.00010485; + } else { + sum += -0.00010485; + } + } + // tree 1270 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000148711; + } else { + sum += -0.000148711; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000148711; + } else { + sum += 0.000148711; + } + } + // tree 1271 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000105931; + } else { + sum += -0.000105931; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000105931; + } else { + sum += -0.000105931; + } + } + // tree 1272 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000107764; + } else { + sum += 0.000107764; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -0.000107764; + } else { + sum += 0.000107764; + } + } + // tree 1273 + if ( features[6] < -0.231447 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000108228; + } else { + sum += 0.000108228; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000108228; + } else { + sum += -0.000108228; + } + } + // tree 1274 + if ( features[12] < 4.93509 ) { + if ( features[4] < -1.47026 ) { + sum += 0.000108222; + } else { + sum += -0.000108222; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000108222; + } else { + sum += 0.000108222; + } + } + // tree 1275 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000126659; + } else { + sum += 0.000126659; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000126659; + } else { + sum += -0.000126659; + } + } + // tree 1276 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000127861; + } else { + sum += 0.000127861; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000127861; + } else { + sum += 0.000127861; + } + } + // tree 1277 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.95247e-05; + } else { + sum += -9.95247e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -9.95247e-05; + } else { + sum += 9.95247e-05; + } + } + // tree 1278 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.48552e-05; + } else { + sum += 9.48552e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 9.48552e-05; + } else { + sum += -9.48552e-05; + } + } + // tree 1279 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000121854; + } else { + sum += 0.000121854; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000121854; + } else { + sum += -0.000121854; + } + } + // tree 1280 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.93509 ) { + sum += 9.72036e-05; + } else { + sum += -9.72036e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 9.72036e-05; + } else { + sum += -9.72036e-05; + } + } + // tree 1281 + if ( features[8] < 2.24069 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000123309; + } else { + sum += -0.000123309; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000123309; + } else { + sum += -0.000123309; + } + } + // tree 1282 + if ( features[7] < 0.979327 ) { + if ( features[8] < 1.45949 ) { + sum += -9.62992e-05; + } else { + sum += 9.62992e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 9.62992e-05; + } else { + sum += -9.62992e-05; + } + } + // tree 1283 + if ( features[7] < 0.501269 ) { + if ( features[12] < 4.80458 ) { + sum += 9.96437e-05; + } else { + sum += -9.96437e-05; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -9.96437e-05; + } else { + sum += 9.96437e-05; + } + } + // tree 1284 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 0.000102193; + } else { + sum += -0.000102193; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000102193; + } else { + sum += 0.000102193; + } + } + // tree 1285 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000104881; + } else { + sum += -0.000104881; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000104881; + } else { + sum += -0.000104881; + } + } + // tree 1286 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000104062; + } else { + sum += -0.000104062; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000104062; + } else { + sum += 0.000104062; + } + } + // tree 1287 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 0.000101506; + } else { + sum += -0.000101506; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000101506; + } else { + sum += 0.000101506; + } + } + // tree 1288 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000111634; + } else { + sum += -0.000111634; + } + } else { + if ( features[9] < 2.15033 ) { + sum += -0.000111634; + } else { + sum += 0.000111634; + } + } + // tree 1289 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000107368; + } else { + sum += 0.000107368; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -0.000107368; + } else { + sum += 0.000107368; + } + } + // tree 1290 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 0.000101382; + } else { + sum += -0.000101382; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000101382; + } else { + sum += 0.000101382; + } + } + // tree 1291 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000126303; + } else { + sum += 0.000126303; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000126303; + } else { + sum += 0.000126303; + } + } + // tree 1292 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000109246; + } else { + sum += -0.000109246; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000109246; + } else { + sum += -0.000109246; + } + } + // tree 1293 + if ( features[6] < -0.231447 ) { + if ( features[8] < 1.82785 ) { + sum += -8.9844e-05; + } else { + sum += 8.9844e-05; + } + } else { + if ( features[5] < 1.13829 ) { + sum += -8.9844e-05; + } else { + sum += 8.9844e-05; + } + } + // tree 1294 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000107158; + } else { + sum += 0.000107158; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000107158; + } else { + sum += 0.000107158; + } + } + // tree 1295 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.00010503; + } else { + sum += -0.00010503; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.00010503; + } else { + sum += -0.00010503; + } + } + // tree 1296 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 0.000100812; + } else { + sum += -0.000100812; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000100812; + } else { + sum += 0.000100812; + } + } + // tree 1297 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000109968; + } else { + sum += 0.000109968; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000109968; + } else { + sum += -0.000109968; + } + } + // tree 1298 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000132527; + } else { + sum += -0.000132527; + } + } else { + if ( features[7] < 0.495339 ) { + sum += 0.000132527; + } else { + sum += -0.000132527; + } + } + // tree 1299 + if ( features[4] < -1.47024 ) { + if ( features[5] < 0.630907 ) { + sum += 0.000100631; + } else { + sum += -0.000100631; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 0.000100631; + } else { + sum += -0.000100631; + } + } + // tree 1300 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.00010843; + } else { + sum += -0.00010843; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00010843; + } else { + sum += -0.00010843; + } + } + // tree 1301 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 9.83376e-05; + } else { + sum += -9.83376e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.83376e-05; + } else { + sum += -9.83376e-05; + } + } + // tree 1302 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000110349; + } else { + sum += -0.000110349; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000110349; + } else { + sum += 0.000110349; + } + } + // tree 1303 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 9.44682e-05; + } else { + sum += -9.44682e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -9.44682e-05; + } else { + sum += 9.44682e-05; + } + } + // tree 1304 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000104187; + } else { + sum += -0.000104187; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000104187; + } else { + sum += -0.000104187; + } + } + // tree 1305 + if ( features[4] < -1.47024 ) { + if ( features[5] < 0.630907 ) { + sum += 0.00010618; + } else { + sum += -0.00010618; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -0.00010618; + } else { + sum += 0.00010618; + } + } + // tree 1306 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.00011883; + } else { + sum += -0.00011883; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.00011883; + } else { + sum += -0.00011883; + } + } + // tree 1307 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 9.78512e-05; + } else { + sum += -9.78512e-05; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -9.78512e-05; + } else { + sum += 9.78512e-05; + } + } + // tree 1308 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.52918e-05; + } else { + sum += -9.52918e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 9.52918e-05; + } else { + sum += -9.52918e-05; + } + } + // tree 1309 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000116071; + } else { + sum += -0.000116071; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -0.000116071; + } else { + sum += 0.000116071; + } + } + // tree 1310 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000125395; + } else { + sum += 0.000125395; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000125395; + } else { + sum += 0.000125395; + } + } + // tree 1311 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 8.64116e-05; + } else { + sum += -8.64116e-05; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 8.64116e-05; + } else { + sum += -8.64116e-05; + } + } + // tree 1312 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000107816; + } else { + sum += -0.000107816; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000107816; + } else { + sum += -0.000107816; + } + } + // tree 1313 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000110083; + } else { + sum += -0.000110083; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 0.000110083; + } else { + sum += -0.000110083; + } + } + // tree 1314 + if ( features[7] < 0.390948 ) { + if ( features[6] < -1.38158 ) { + sum += -8.18371e-05; + } else { + sum += 8.18371e-05; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 8.18371e-05; + } else { + sum += -8.18371e-05; + } + } + // tree 1315 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.55198e-05; + } else { + sum += 9.55198e-05; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 9.55198e-05; + } else { + sum += -9.55198e-05; + } + } + // tree 1316 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 0.000106697; + } else { + sum += -0.000106697; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000106697; + } else { + sum += 0.000106697; + } + } + // tree 1317 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 0.000102145; + } else { + sum += -0.000102145; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000102145; + } else { + sum += 0.000102145; + } + } + // tree 1318 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.00011299; + } else { + sum += -0.00011299; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -0.00011299; + } else { + sum += 0.00011299; + } + } + // tree 1319 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000101262; + } else { + sum += 0.000101262; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000101262; + } else { + sum += 0.000101262; + } + } + // tree 1320 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000106294; + } else { + sum += 0.000106294; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000106294; + } else { + sum += 0.000106294; + } + } + // tree 1321 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000110261; + } else { + sum += 0.000110261; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000110261; + } else { + sum += 0.000110261; + } + } + // tree 1322 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000108153; + } else { + sum += -0.000108153; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000108153; + } else { + sum += -0.000108153; + } + } + // tree 1323 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 0.000100136; + } else { + sum += -0.000100136; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000100136; + } else { + sum += -0.000100136; + } + } + // tree 1324 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000103674; + } else { + sum += 0.000103674; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000103674; + } else { + sum += -0.000103674; + } + } + // tree 1325 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000124399; + } else { + sum += 0.000124399; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000124399; + } else { + sum += 0.000124399; + } + } + // tree 1326 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -9.35711e-05; + } else { + sum += 9.35711e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.35711e-05; + } else { + sum += -9.35711e-05; + } + } + // tree 1327 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.41488e-05; + } else { + sum += 9.41488e-05; + } + } else { + sum += 9.41488e-05; + } + // tree 1328 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000146907; + } else { + sum += -0.000146907; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000146907; + } else { + sum += 0.000146907; + } + } + // tree 1329 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000102875; + } else { + sum += -0.000102875; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000102875; + } else { + sum += -0.000102875; + } + } + // tree 1330 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.00012429; + } else { + sum += 0.00012429; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.00012429; + } else { + sum += 0.00012429; + } + } + // tree 1331 + if ( features[11] < 1.84612 ) { + if ( features[4] < -1.29629 ) { + sum += 7.1868e-05; + } else { + sum += -7.1868e-05; + } + } else { + sum += -7.1868e-05; + } + // tree 1332 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.000137738; + } else { + sum += -0.000137738; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000137738; + } else { + sum += 0.000137738; + } + } + // tree 1333 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000109301; + } else { + sum += 0.000109301; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -0.000109301; + } else { + sum += 0.000109301; + } + } + // tree 1334 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 9.85616e-05; + } else { + sum += -9.85616e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.85616e-05; + } else { + sum += -9.85616e-05; + } + } + // tree 1335 + if ( features[7] < 0.979327 ) { + if ( features[8] < 1.45949 ) { + sum += -9.13237e-05; + } else { + sum += 9.13237e-05; + } + } else { + sum += -9.13237e-05; + } + // tree 1336 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.3464e-05; + } else { + sum += 9.3464e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 9.3464e-05; + } else { + sum += -9.3464e-05; + } + } + // tree 1337 + if ( features[7] < 0.979327 ) { + if ( features[8] < 1.45949 ) { + sum += -9.09544e-05; + } else { + sum += 9.09544e-05; + } + } else { + sum += -9.09544e-05; + } + // tree 1338 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000112243; + } else { + sum += 0.000112243; + } + } else { + if ( features[7] < 0.495339 ) { + sum += 0.000112243; + } else { + sum += -0.000112243; + } + } + // tree 1339 + if ( features[4] < -1.47024 ) { + if ( features[3] < 0.0644871 ) { + sum += 8.97355e-05; + } else { + sum += -8.97355e-05; + } + } else { + if ( features[5] < 0.945371 ) { + sum += -8.97355e-05; + } else { + sum += 8.97355e-05; + } + } + // tree 1340 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 9.53215e-05; + } else { + sum += -9.53215e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.53215e-05; + } else { + sum += -9.53215e-05; + } + } + // tree 1341 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.62778e-05; + } else { + sum += 9.62778e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -9.62778e-05; + } else { + sum += 9.62778e-05; + } + } + // tree 1342 + if ( features[7] < 0.979327 ) { + if ( features[7] < 0.386203 ) { + sum += -9.50357e-05; + } else { + sum += 9.50357e-05; + } + } else { + if ( features[2] < 0.256409 ) { + sum += 9.50357e-05; + } else { + sum += -9.50357e-05; + } + } + // tree 1343 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000105404; + } else { + sum += -0.000105404; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000105404; + } else { + sum += -0.000105404; + } + } + // tree 1344 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.64384e-05; + } else { + sum += -9.64384e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -9.64384e-05; + } else { + sum += 9.64384e-05; + } + } + // tree 1345 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.15128e-05; + } else { + sum += 9.15128e-05; + } + } else { + sum += 9.15128e-05; + } + // tree 1346 + if ( features[3] < 0.0967294 ) { + if ( features[8] < 1.51822 ) { + sum += -9.40866e-05; + } else { + sum += 9.40866e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 9.40866e-05; + } else { + sum += -9.40866e-05; + } + } + // tree 1347 + if ( features[12] < 4.93509 ) { + if ( features[3] < 0.0967294 ) { + sum += 0.000102325; + } else { + sum += -0.000102325; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000102325; + } else { + sum += 0.000102325; + } + } + // tree 1348 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.93509 ) { + sum += 9.47226e-05; + } else { + sum += -9.47226e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 9.47226e-05; + } else { + sum += -9.47226e-05; + } + } + // tree 1349 + if ( features[5] < 0.473096 ) { + sum += 8.74068e-05; + } else { + if ( features[4] < -1.81665 ) { + sum += 8.74068e-05; + } else { + sum += -8.74068e-05; + } + } + // tree 1350 + if ( features[1] < 0.103667 ) { + if ( features[0] < 2.78895 ) { + sum += 8.57549e-05; + } else { + sum += -8.57549e-05; + } + } else { + sum += 8.57549e-05; + } + // tree 1351 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000104877; + } else { + sum += 0.000104877; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000104877; + } else { + sum += -0.000104877; + } + } + // tree 1352 + if ( features[1] < 0.103667 ) { + if ( features[8] < 2.01757 ) { + sum += 8.90845e-05; + } else { + sum += -8.90845e-05; + } + } else { + sum += 8.90845e-05; + } + // tree 1353 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.00010122; + } else { + sum += 0.00010122; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.00010122; + } else { + sum += -0.00010122; + } + } + // tree 1354 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000102231; + } else { + sum += -0.000102231; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000102231; + } else { + sum += 0.000102231; + } + } + // tree 1355 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.00010785; + } else { + sum += 0.00010785; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -0.00010785; + } else { + sum += 0.00010785; + } + } + // tree 1356 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.23933e-05; + } else { + sum += 9.23933e-05; + } + } else { + sum += 9.23933e-05; + } + // tree 1357 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000106062; + } else { + sum += -0.000106062; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000106062; + } else { + sum += -0.000106062; + } + } + // tree 1358 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000119213; + } else { + sum += 0.000119213; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000119213; + } else { + sum += 0.000119213; + } + } + // tree 1359 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000108003; + } else { + sum += 0.000108003; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000108003; + } else { + sum += 0.000108003; + } + } + // tree 1360 + if ( features[5] < 0.473096 ) { + sum += 9.13611e-05; + } else { + if ( features[7] < 0.478265 ) { + sum += 9.13611e-05; + } else { + sum += -9.13611e-05; + } + } + // tree 1361 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000103971; + } else { + sum += -0.000103971; + } + } else { + if ( features[9] < 2.64704 ) { + sum += -0.000103971; + } else { + sum += 0.000103971; + } + } + // tree 1362 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.95454e-05; + } else { + sum += 9.95454e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -9.95454e-05; + } else { + sum += 9.95454e-05; + } + } + // tree 1363 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000122062; + } else { + sum += -0.000122062; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000122062; + } else { + sum += 0.000122062; + } + } + // tree 1364 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 9.18126e-05; + } else { + sum += -9.18126e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -9.18126e-05; + } else { + sum += 9.18126e-05; + } + } + // tree 1365 + if ( features[9] < 1.87281 ) { + if ( features[2] < -0.120212 ) { + sum += -0.000104292; + } else { + sum += 0.000104292; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000104292; + } else { + sum += 0.000104292; + } + } + // tree 1366 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000101034; + } else { + sum += -0.000101034; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.000101034; + } else { + sum += 0.000101034; + } + } + // tree 1367 + if ( features[8] < 2.24069 ) { + if ( features[0] < 2.7896 ) { + sum += 0.000106938; + } else { + sum += -0.000106938; + } + } else { + if ( features[1] < -0.610293 ) { + sum += -0.000106938; + } else { + sum += 0.000106938; + } + } + // tree 1368 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000101479; + } else { + sum += 0.000101479; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000101479; + } else { + sum += -0.000101479; + } + } + // tree 1369 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000123097; + } else { + sum += 0.000123097; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000123097; + } else { + sum += 0.000123097; + } + } + // tree 1370 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000108225; + } else { + sum += 0.000108225; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000108225; + } else { + sum += 0.000108225; + } + } + // tree 1371 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.8561e-05; + } else { + sum += 9.8561e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.8561e-05; + } else { + sum += 9.8561e-05; + } + } + // tree 1372 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.83165e-05; + } else { + sum += -9.83165e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.83165e-05; + } else { + sum += 9.83165e-05; + } + } + // tree 1373 + if ( features[0] < 1.68308 ) { + if ( features[3] < 0.0161829 ) { + sum += 9.80922e-05; + } else { + sum += -9.80922e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -9.80922e-05; + } else { + sum += 9.80922e-05; + } + } + // tree 1374 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.69595 ) { + sum += 8.99095e-05; + } else { + sum += -8.99095e-05; + } + } else { + sum += -8.99095e-05; + } + // tree 1375 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 9.90349e-05; + } else { + sum += -9.90349e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.90349e-05; + } else { + sum += -9.90349e-05; + } + } + // tree 1376 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 9.98994e-05; + } else { + sum += -9.98994e-05; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 9.98994e-05; + } else { + sum += -9.98994e-05; + } + } + // tree 1377 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000110622; + } else { + sum += 0.000110622; + } + } else { + if ( features[7] < 0.495339 ) { + sum += 0.000110622; + } else { + sum += -0.000110622; + } + } + // tree 1378 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000105096; + } else { + sum += 0.000105096; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000105096; + } else { + sum += -0.000105096; + } + } + // tree 1379 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.81353e-05; + } else { + sum += 9.81353e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.81353e-05; + } else { + sum += 9.81353e-05; + } + } + // tree 1380 + if ( features[7] < 0.979327 ) { + if ( features[1] < -0.814248 ) { + sum += -8.77685e-05; + } else { + sum += 8.77685e-05; + } + } else { + sum += -8.77685e-05; + } + // tree 1381 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000115988; + } else { + sum += 0.000115988; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.000115988; + } else { + sum += 0.000115988; + } + } + // tree 1382 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000106926; + } else { + sum += 0.000106926; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -0.000106926; + } else { + sum += 0.000106926; + } + } + // tree 1383 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.73764e-05; + } else { + sum += -9.73764e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.73764e-05; + } else { + sum += 9.73764e-05; + } + } + // tree 1384 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000100865; + } else { + sum += -0.000100865; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000100865; + } else { + sum += -0.000100865; + } + } + // tree 1385 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000122914; + } else { + sum += -0.000122914; + } + } else { + if ( features[6] < -0.231448 ) { + sum += 0.000122914; + } else { + sum += -0.000122914; + } + } + // tree 1386 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.14526e-05; + } else { + sum += 9.14526e-05; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 9.14526e-05; + } else { + sum += -9.14526e-05; + } + } + // tree 1387 + if ( features[7] < 0.979327 ) { + if ( features[1] < -0.814248 ) { + sum += -9.12299e-05; + } else { + sum += 9.12299e-05; + } + } else { + if ( features[2] < 0.256409 ) { + sum += 9.12299e-05; + } else { + sum += -9.12299e-05; + } + } + // tree 1388 + if ( features[9] < 1.87281 ) { + if ( features[1] < -0.121204 ) { + sum += 0.000121807; + } else { + sum += -0.000121807; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000121807; + } else { + sum += 0.000121807; + } + } + // tree 1389 + if ( features[12] < 4.57639 ) { + sum += 8.88332e-05; + } else { + if ( features[9] < 2.15033 ) { + sum += -8.88332e-05; + } else { + sum += 8.88332e-05; + } + } + // tree 1390 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000103761; + } else { + sum += -0.000103761; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000103761; + } else { + sum += -0.000103761; + } + } + // tree 1391 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000120893; + } else { + sum += -0.000120893; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000120893; + } else { + sum += -0.000120893; + } + } + // tree 1392 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.45839e-05; + } else { + sum += 9.45839e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -9.45839e-05; + } else { + sum += 9.45839e-05; + } + } + // tree 1393 + if ( features[7] < 0.501269 ) { + if ( features[5] < 0.783494 ) { + sum += 9.32768e-05; + } else { + sum += -9.32768e-05; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -9.32768e-05; + } else { + sum += 9.32768e-05; + } + } + // tree 1394 + if ( features[6] < -0.231447 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000104747; + } else { + sum += 0.000104747; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000104747; + } else { + sum += -0.000104747; + } + } + // tree 1395 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000120316; + } else { + sum += 0.000120316; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000120316; + } else { + sum += -0.000120316; + } + } + // tree 1396 + if ( features[8] < 2.24069 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000119214; + } else { + sum += -0.000119214; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000119214; + } else { + sum += -0.000119214; + } + } + // tree 1397 + if ( features[1] < 0.103667 ) { + if ( features[10] < -27.4195 ) { + sum += 9.5652e-05; + } else { + sum += -9.5652e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.5652e-05; + } else { + sum += -9.5652e-05; + } + } + // tree 1398 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000104057; + } else { + sum += -0.000104057; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000104057; + } else { + sum += -0.000104057; + } + } + // tree 1399 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000142387; + } else { + sum += -0.000142387; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000142387; + } else { + sum += 0.000142387; + } + } + // tree 1400 + if ( features[4] < -1.47024 ) { + sum += 9.35825e-05; + } else { + if ( features[4] < -0.712726 ) { + sum += -9.35825e-05; + } else { + sum += 9.35825e-05; + } + } + // tree 1401 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000117348; + } else { + sum += 0.000117348; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000117348; + } else { + sum += 0.000117348; + } + } + // tree 1402 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000120764; + } else { + sum += 0.000120764; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000120764; + } else { + sum += 0.000120764; + } + } + // tree 1403 + if ( features[1] < 0.103667 ) { + if ( features[8] < 2.01757 ) { + sum += 9.36579e-05; + } else { + sum += -9.36579e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.36579e-05; + } else { + sum += 9.36579e-05; + } + } + // tree 1404 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000102115; + } else { + sum += 0.000102115; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000102115; + } else { + sum += -0.000102115; + } + } + // tree 1405 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.49005e-05; + } else { + sum += 8.49005e-05; + } + } else { + if ( features[4] < -1.29629 ) { + sum += 8.49005e-05; + } else { + sum += -8.49005e-05; + } + } + // tree 1406 + if ( features[12] < 4.93509 ) { + if ( features[12] < 4.64526 ) { + sum += 8.44729e-05; + } else { + sum += -8.44729e-05; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 8.44729e-05; + } else { + sum += -8.44729e-05; + } + } + // tree 1407 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.00010008; + } else { + sum += -0.00010008; + } + } else { + if ( features[8] < 2.34517 ) { + sum += -0.00010008; + } else { + sum += 0.00010008; + } + } + // tree 1408 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 9.13545e-05; + } else { + sum += -9.13545e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -9.13545e-05; + } else { + sum += 9.13545e-05; + } + } + // tree 1409 + if ( features[6] < -0.231447 ) { + sum += 7.4521e-05; + } else { + if ( features[2] < 0.444703 ) { + sum += 7.4521e-05; + } else { + sum += -7.4521e-05; + } + } + // tree 1410 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000103439; + } else { + sum += 0.000103439; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000103439; + } else { + sum += -0.000103439; + } + } + // tree 1411 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000105557; + } else { + sum += 0.000105557; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -0.000105557; + } else { + sum += 0.000105557; + } + } + // tree 1412 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000103791; + } else { + sum += 0.000103791; + } + } else { + if ( features[2] < 0.444798 ) { + sum += 0.000103791; + } else { + sum += -0.000103791; + } + } + // tree 1413 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000100852; + } else { + sum += -0.000100852; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000100852; + } else { + sum += 0.000100852; + } + } + // tree 1414 + if ( features[11] < 1.84612 ) { + if ( features[1] < -0.717334 ) { + sum += -7.68208e-05; + } else { + sum += 7.68208e-05; + } + } else { + sum += -7.68208e-05; + } + // tree 1415 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -9.45247e-05; + } else { + sum += 9.45247e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 9.45247e-05; + } else { + sum += -9.45247e-05; + } + } + // tree 1416 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000118688; + } else { + sum += 0.000118688; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000118688; + } else { + sum += -0.000118688; + } + } + // tree 1417 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.97714e-05; + } else { + sum += -8.97714e-05; + } + } else { + sum += 8.97714e-05; + } + // tree 1418 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000120119; + } else { + sum += 0.000120119; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000120119; + } else { + sum += 0.000120119; + } + } + // tree 1419 + if ( features[12] < 4.93509 ) { + if ( features[3] < 0.0967294 ) { + sum += 9.06573e-05; + } else { + sum += -9.06573e-05; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -9.06573e-05; + } else { + sum += 9.06573e-05; + } + } + // tree 1420 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000121041; + } else { + sum += -0.000121041; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000121041; + } else { + sum += 0.000121041; + } + } + // tree 1421 + if ( features[5] < 0.473096 ) { + sum += 6.94187e-05; + } else { + if ( features[1] < -0.450506 ) { + sum += -6.94187e-05; + } else { + sum += 6.94187e-05; + } + } + // tree 1422 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 8.20735e-05; + } else { + sum += -8.20735e-05; + } + } else { + if ( features[5] < 0.472433 ) { + sum += 8.20735e-05; + } else { + sum += -8.20735e-05; + } + } + // tree 1423 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000109127; + } else { + sum += -0.000109127; + } + } else { + if ( features[4] < -0.948464 ) { + sum += 0.000109127; + } else { + sum += -0.000109127; + } + } + // tree 1424 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000100109; + } else { + sum += -0.000100109; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000100109; + } else { + sum += 0.000100109; + } + } + // tree 1425 + if ( features[7] < 0.501269 ) { + if ( features[12] < 4.80458 ) { + sum += 9.46761e-05; + } else { + sum += -9.46761e-05; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -9.46761e-05; + } else { + sum += 9.46761e-05; + } + } + // tree 1426 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.96259e-05; + } else { + sum += -9.96259e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.96259e-05; + } else { + sum += -9.96259e-05; + } + } + // tree 1427 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.95279e-05; + } else { + sum += 9.95279e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.95279e-05; + } else { + sum += -9.95279e-05; + } + } + // tree 1428 + if ( features[7] < 0.390948 ) { + if ( features[11] < 1.30347 ) { + sum += 9.88671e-05; + } else { + sum += -9.88671e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -9.88671e-05; + } else { + sum += 9.88671e-05; + } + } + // tree 1429 + if ( features[11] < 1.84612 ) { + if ( features[9] < 1.48104 ) { + sum += -7.06931e-05; + } else { + sum += 7.06931e-05; + } + } else { + sum += -7.06931e-05; + } + // tree 1430 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000102187; + } else { + sum += 0.000102187; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000102187; + } else { + sum += 0.000102187; + } + } + // tree 1431 + if ( features[4] < -1.47024 ) { + sum += 9.23964e-05; + } else { + if ( features[4] < -0.712726 ) { + sum += -9.23964e-05; + } else { + sum += 9.23964e-05; + } + } + // tree 1432 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 8.07448e-05; + } else { + sum += -8.07448e-05; + } + } else { + if ( features[7] < 0.681579 ) { + sum += -8.07448e-05; + } else { + sum += 8.07448e-05; + } + } + // tree 1433 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000116664; + } else { + sum += 0.000116664; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000116664; + } else { + sum += -0.000116664; + } + } + // tree 1434 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000113866; + } else { + sum += 0.000113866; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000113866; + } else { + sum += -0.000113866; + } + } + // tree 1435 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000108164; + } else { + sum += 0.000108164; + } + } else { + if ( features[7] < 0.495339 ) { + sum += 0.000108164; + } else { + sum += -0.000108164; + } + } + // tree 1436 + if ( features[9] < 1.87281 ) { + if ( features[3] < 0.0322448 ) { + sum += 0.000115202; + } else { + sum += -0.000115202; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000115202; + } else { + sum += 0.000115202; + } + } + // tree 1437 + if ( features[1] < 0.103667 ) { + if ( features[11] < 1.17355 ) { + sum += 8.78986e-05; + } else { + sum += -8.78986e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.78986e-05; + } else { + sum += -8.78986e-05; + } + } + // tree 1438 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.93413e-05; + } else { + sum += 9.93413e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.93413e-05; + } else { + sum += -9.93413e-05; + } + } + // tree 1439 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000103974; + } else { + sum += 0.000103974; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000103974; + } else { + sum += 0.000103974; + } + } + // tree 1440 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000107462; + } else { + sum += 0.000107462; + } + } else { + if ( features[7] < 0.495339 ) { + sum += 0.000107462; + } else { + sum += -0.000107462; + } + } + // tree 1441 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.00010166; + } else { + sum += 0.00010166; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.00010166; + } else { + sum += 0.00010166; + } + } + // tree 1442 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 0.00010063; + } else { + sum += -0.00010063; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.00010063; + } else { + sum += 0.00010063; + } + } + // tree 1443 + if ( features[11] < 1.84612 ) { + if ( features[9] < 1.48104 ) { + sum += -7.01567e-05; + } else { + sum += 7.01567e-05; + } + } else { + sum += -7.01567e-05; + } + // tree 1444 + if ( features[7] < 0.501269 ) { + if ( features[12] < 4.80458 ) { + sum += 9.33728e-05; + } else { + sum += -9.33728e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.33728e-05; + } else { + sum += -9.33728e-05; + } + } + // tree 1445 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000103113; + } else { + sum += -0.000103113; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000103113; + } else { + sum += -0.000103113; + } + } + // tree 1446 + if ( features[11] < 1.84612 ) { + if ( features[5] < 0.473096 ) { + sum += 7.16005e-05; + } else { + sum += -7.16005e-05; + } + } else { + sum += -7.16005e-05; + } + // tree 1447 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.93603e-05; + } else { + sum += 8.93603e-05; + } + } else { + sum += 8.93603e-05; + } + // tree 1448 + if ( features[1] < 0.103667 ) { + if ( features[10] < -27.4195 ) { + sum += 9.34497e-05; + } else { + sum += -9.34497e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.34497e-05; + } else { + sum += -9.34497e-05; + } + } + // tree 1449 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 8.81742e-05; + } else { + sum += -8.81742e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -8.81742e-05; + } else { + sum += 8.81742e-05; + } + } + // tree 1450 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.26024e-05; + } else { + sum += -9.26024e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -9.26024e-05; + } else { + sum += 9.26024e-05; + } + } + // tree 1451 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000102331; + } else { + sum += -0.000102331; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000102331; + } else { + sum += -0.000102331; + } + } + // tree 1452 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000101658; + } else { + sum += 0.000101658; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 0.000101658; + } else { + sum += -0.000101658; + } + } + // tree 1453 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.00010969; + } else { + sum += -0.00010969; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.00010969; + } else { + sum += -0.00010969; + } + } + // tree 1454 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000115155; + } else { + sum += 0.000115155; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000115155; + } else { + sum += 0.000115155; + } + } + // tree 1455 + if ( features[3] < 0.0967294 ) { + if ( features[9] < 1.48572 ) { + sum += -9.01477e-05; + } else { + sum += 9.01477e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 9.01477e-05; + } else { + sum += -9.01477e-05; + } + } + // tree 1456 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000109797; + } else { + sum += -0.000109797; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000109797; + } else { + sum += 0.000109797; + } + } + // tree 1457 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 9.77042e-05; + } else { + sum += -9.77042e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -9.77042e-05; + } else { + sum += 9.77042e-05; + } + } + // tree 1458 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 9.75467e-05; + } else { + sum += -9.75467e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.75467e-05; + } else { + sum += 9.75467e-05; + } + } + // tree 1459 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000110555; + } else { + sum += -0.000110555; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000110555; + } else { + sum += 0.000110555; + } + } + // tree 1460 + if ( features[2] < 0.821394 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000120075; + } else { + sum += 0.000120075; + } + } else { + if ( features[5] < 0.771044 ) { + sum += 0.000120075; + } else { + sum += -0.000120075; + } + } + // tree 1461 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000101042; + } else { + sum += -0.000101042; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000101042; + } else { + sum += 0.000101042; + } + } + // tree 1462 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.32601e-05; + } else { + sum += -9.32601e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -9.32601e-05; + } else { + sum += 9.32601e-05; + } + } + // tree 1463 + if ( features[2] < 0.821394 ) { + if ( features[8] < 2.24069 ) { + sum += -9.42881e-05; + } else { + sum += 9.42881e-05; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 9.42881e-05; + } else { + sum += -9.42881e-05; + } + } + // tree 1464 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -9.75741e-05; + } else { + sum += 9.75741e-05; + } + } else { + if ( features[4] < -1.81665 ) { + sum += 9.75741e-05; + } else { + sum += -9.75741e-05; + } + } + // tree 1465 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.88716e-05; + } else { + sum += -9.88716e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.88716e-05; + } else { + sum += -9.88716e-05; + } + } + // tree 1466 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.47982e-05; + } else { + sum += 9.47982e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.47982e-05; + } else { + sum += 9.47982e-05; + } + } + // tree 1467 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000101313; + } else { + sum += 0.000101313; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -0.000101313; + } else { + sum += 0.000101313; + } + } + // tree 1468 + if ( features[7] < 0.501269 ) { + if ( features[5] < 0.783494 ) { + sum += 8.99301e-05; + } else { + sum += -8.99301e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 8.99301e-05; + } else { + sum += -8.99301e-05; + } + } + // tree 1469 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000115117; + } else { + sum += 0.000115117; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000115117; + } else { + sum += -0.000115117; + } + } + // tree 1470 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -9.95775e-05; + } else { + sum += 9.95775e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -9.95775e-05; + } else { + sum += 9.95775e-05; + } + } + // tree 1471 + if ( features[0] < 1.68308 ) { + if ( features[2] < 0.493201 ) { + sum += 8.63264e-05; + } else { + sum += -8.63264e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -8.63264e-05; + } else { + sum += 8.63264e-05; + } + } + // tree 1472 + if ( features[7] < 0.501269 ) { + sum += 8.7579e-05; + } else { + if ( features[12] < 4.33725 ) { + sum += 8.7579e-05; + } else { + sum += -8.7579e-05; + } + } + // tree 1473 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000100133; + } else { + sum += -0.000100133; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000100133; + } else { + sum += 0.000100133; + } + } + // tree 1474 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.85326e-05; + } else { + sum += -9.85326e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.85326e-05; + } else { + sum += -9.85326e-05; + } + } + // tree 1475 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000125261; + } else { + sum += -0.000125261; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000125261; + } else { + sum += -0.000125261; + } + } + // tree 1476 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.00012459; + } else { + sum += -0.00012459; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.00012459; + } else { + sum += -0.00012459; + } + } + // tree 1477 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000113756; + } else { + sum += -0.000113756; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -0.000113756; + } else { + sum += 0.000113756; + } + } + // tree 1478 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 0.000100636; + } else { + sum += -0.000100636; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000100636; + } else { + sum += 0.000100636; + } + } + // tree 1479 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.19259e-05; + } else { + sum += 9.19259e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -9.19259e-05; + } else { + sum += 9.19259e-05; + } + } + // tree 1480 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000107372; + } else { + sum += -0.000107372; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000107372; + } else { + sum += 0.000107372; + } + } + // tree 1481 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000100197; + } else { + sum += 0.000100197; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000100197; + } else { + sum += 0.000100197; + } + } + // tree 1482 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000108629; + } else { + sum += -0.000108629; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000108629; + } else { + sum += 0.000108629; + } + } + // tree 1483 + if ( features[11] < 1.84612 ) { + if ( features[5] < 0.473096 ) { + sum += 7.03762e-05; + } else { + sum += -7.03762e-05; + } + } else { + sum += -7.03762e-05; + } + // tree 1484 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000101503; + } else { + sum += -0.000101503; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000101503; + } else { + sum += -0.000101503; + } + } + // tree 1485 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.39404e-05; + } else { + sum += -9.39404e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.39404e-05; + } else { + sum += 9.39404e-05; + } + } + // tree 1486 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -0.000108861; + } else { + sum += 0.000108861; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000108861; + } else { + sum += 0.000108861; + } + } + // tree 1487 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.68723e-05; + } else { + sum += -9.68723e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.68723e-05; + } else { + sum += -9.68723e-05; + } + } + // tree 1488 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000111729; + } else { + sum += -0.000111729; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000111729; + } else { + sum += -0.000111729; + } + } + // tree 1489 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.70539e-05; + } else { + sum += -9.70539e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.70539e-05; + } else { + sum += -9.70539e-05; + } + } + // tree 1490 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.71575e-05; + } else { + sum += 9.71575e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.71575e-05; + } else { + sum += -9.71575e-05; + } + } + // tree 1491 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000100309; + } else { + sum += -0.000100309; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000100309; + } else { + sum += -0.000100309; + } + } + // tree 1492 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.86578e-05; + } else { + sum += 8.86578e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 8.86578e-05; + } else { + sum += -8.86578e-05; + } + } + // tree 1493 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.69595 ) { + sum += 9.20864e-05; + } else { + sum += -9.20864e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 9.20864e-05; + } else { + sum += -9.20864e-05; + } + } + // tree 1494 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.353762 ) { + sum += -9.13045e-05; + } else { + sum += 9.13045e-05; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 9.13045e-05; + } else { + sum += -9.13045e-05; + } + } + // tree 1495 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.69595 ) { + sum += 8.61566e-05; + } else { + sum += -8.61566e-05; + } + } else { + sum += -8.61566e-05; + } + // tree 1496 + if ( features[7] < 0.979327 ) { + if ( features[8] < 1.45949 ) { + sum += -9.01903e-05; + } else { + sum += 9.01903e-05; + } + } else { + if ( features[2] < 0.256409 ) { + sum += 9.01903e-05; + } else { + sum += -9.01903e-05; + } + } + // tree 1497 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 9.76684e-05; + } else { + sum += -9.76684e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -9.76684e-05; + } else { + sum += 9.76684e-05; + } + } + // tree 1498 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000123383; + } else { + sum += -0.000123383; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000123383; + } else { + sum += -0.000123383; + } + } + // tree 1499 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.74113e-05; + } else { + sum += 8.74113e-05; + } + } else { + sum += 8.74113e-05; + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1500-1799.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1500-1799.cpp new file mode 100644 index 0000000000000000000000000000000000000000..768c4b6885f3b74b2768e795187b95572a0a526e --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1500-1799.cpp @@ -0,0 +1,4114 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_5( const std::vector<double>& features ) const { + double sum = 0; + + // tree 1500 + if ( features[7] < 0.979327 ) { + if ( features[8] < 1.45949 ) { + sum += -9.1078e-05; + } else { + sum += 9.1078e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 9.1078e-05; + } else { + sum += -9.1078e-05; + } + } + // tree 1501 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 8.27687e-05; + } else { + sum += -8.27687e-05; + } + } else { + if ( features[12] < 4.56635 ) { + sum += -8.27687e-05; + } else { + sum += 8.27687e-05; + } + } + // tree 1502 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.84408e-05; + } else { + sum += 8.84408e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 8.84408e-05; + } else { + sum += -8.84408e-05; + } + } + // tree 1503 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000113003; + } else { + sum += 0.000113003; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000113003; + } else { + sum += 0.000113003; + } + } + // tree 1504 + if ( features[4] < -1.47024 ) { + if ( features[3] < 0.0644871 ) { + sum += 8.83138e-05; + } else { + sum += -8.83138e-05; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 8.83138e-05; + } else { + sum += -8.83138e-05; + } + } + // tree 1505 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000112511; + } else { + sum += 0.000112511; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000112511; + } else { + sum += 0.000112511; + } + } + // tree 1506 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000104766; + } else { + sum += 0.000104766; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000104766; + } else { + sum += -0.000104766; + } + } + // tree 1507 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000104205; + } else { + sum += 0.000104205; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000104205; + } else { + sum += -0.000104205; + } + } + // tree 1508 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 9.53189e-05; + } else { + sum += -9.53189e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 9.53189e-05; + } else { + sum += -9.53189e-05; + } + } + // tree 1509 + if ( features[7] < 0.390948 ) { + if ( features[11] < 1.30347 ) { + sum += 8.9283e-05; + } else { + sum += -8.9283e-05; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -8.9283e-05; + } else { + sum += 8.9283e-05; + } + } + // tree 1510 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000103559; + } else { + sum += -0.000103559; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -0.000103559; + } else { + sum += 0.000103559; + } + } + // tree 1511 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000110115; + } else { + sum += -0.000110115; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000110115; + } else { + sum += 0.000110115; + } + } + // tree 1512 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.98657e-05; + } else { + sum += -9.98657e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.98657e-05; + } else { + sum += -9.98657e-05; + } + } + // tree 1513 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 8.64495e-05; + } else { + sum += -8.64495e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -8.64495e-05; + } else { + sum += 8.64495e-05; + } + } + // tree 1514 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 8.20375e-05; + } else { + sum += -8.20375e-05; + } + } else { + if ( features[5] < 0.472433 ) { + sum += 8.20375e-05; + } else { + sum += -8.20375e-05; + } + } + // tree 1515 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.97034e-05; + } else { + sum += 9.97034e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.97034e-05; + } else { + sum += -9.97034e-05; + } + } + // tree 1516 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.92822e-05; + } else { + sum += -9.92822e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.92822e-05; + } else { + sum += -9.92822e-05; + } + } + // tree 1517 + if ( features[11] < 1.84612 ) { + if ( features[7] < 0.979305 ) { + sum += 8.47159e-05; + } else { + sum += -8.47159e-05; + } + } else { + sum += -8.47159e-05; + } + // tree 1518 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 8.80436e-05; + } else { + sum += -8.80436e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.80436e-05; + } else { + sum += 8.80436e-05; + } + } + // tree 1519 + sum += 4.55273e-05; + // tree 1520 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 0.000104046; + } else { + sum += -0.000104046; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000104046; + } else { + sum += -0.000104046; + } + } + // tree 1521 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.58929e-05; + } else { + sum += -9.58929e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.58929e-05; + } else { + sum += -9.58929e-05; + } + } + // tree 1522 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 9.37326e-05; + } else { + sum += -9.37326e-05; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -9.37326e-05; + } else { + sum += 9.37326e-05; + } + } + // tree 1523 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.94209e-05; + } else { + sum += 9.94209e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -9.94209e-05; + } else { + sum += 9.94209e-05; + } + } + // tree 1524 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000114376; + } else { + sum += -0.000114376; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000114376; + } else { + sum += 0.000114376; + } + } + // tree 1525 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.73574e-05; + } else { + sum += 8.73574e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 8.73574e-05; + } else { + sum += -8.73574e-05; + } + } + // tree 1526 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000109173; + } else { + sum += -0.000109173; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000109173; + } else { + sum += 0.000109173; + } + } + // tree 1527 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.20007e-05; + } else { + sum += -9.20007e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.20007e-05; + } else { + sum += 9.20007e-05; + } + } + // tree 1528 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.6049e-05; + } else { + sum += 9.6049e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.6049e-05; + } else { + sum += -9.6049e-05; + } + } + // tree 1529 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.82053e-05; + } else { + sum += -9.82053e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.82053e-05; + } else { + sum += -9.82053e-05; + } + } + // tree 1530 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000108376; + } else { + sum += -0.000108376; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000108376; + } else { + sum += 0.000108376; + } + } + // tree 1531 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 9.908e-05; + } else { + sum += -9.908e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -9.908e-05; + } else { + sum += 9.908e-05; + } + } + // tree 1532 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000116738; + } else { + sum += -0.000116738; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000116738; + } else { + sum += 0.000116738; + } + } + // tree 1533 + if ( features[7] < 0.979327 ) { + if ( features[8] < 1.45949 ) { + sum += -8.94087e-05; + } else { + sum += 8.94087e-05; + } + } else { + if ( features[2] < 0.256409 ) { + sum += 8.94087e-05; + } else { + sum += -8.94087e-05; + } + } + // tree 1534 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000107502; + } else { + sum += -0.000107502; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000107502; + } else { + sum += 0.000107502; + } + } + // tree 1535 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.85038e-05; + } else { + sum += -9.85038e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.85038e-05; + } else { + sum += -9.85038e-05; + } + } + // tree 1536 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -9.11071e-05; + } else { + sum += 9.11071e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.11071e-05; + } else { + sum += 9.11071e-05; + } + } + // tree 1537 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -9.27414e-05; + } else { + sum += 9.27414e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -9.27414e-05; + } else { + sum += 9.27414e-05; + } + } + // tree 1538 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000104589; + } else { + sum += -0.000104589; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 0.000104589; + } else { + sum += -0.000104589; + } + } + // tree 1539 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.81437e-05; + } else { + sum += 9.81437e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.81437e-05; + } else { + sum += -9.81437e-05; + } + } + // tree 1540 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000103343; + } else { + sum += 0.000103343; + } + } else { + if ( features[7] < 1.09558 ) { + sum += 0.000103343; + } else { + sum += -0.000103343; + } + } + // tree 1541 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 8.24861e-05; + } else { + sum += -8.24861e-05; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -8.24861e-05; + } else { + sum += 8.24861e-05; + } + } + // tree 1542 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.81533e-05; + } else { + sum += 8.81533e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.81533e-05; + } else { + sum += 8.81533e-05; + } + } + // tree 1543 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000105889; + } else { + sum += -0.000105889; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000105889; + } else { + sum += 0.000105889; + } + } + // tree 1544 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000113979; + } else { + sum += -0.000113979; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000113979; + } else { + sum += 0.000113979; + } + } + // tree 1545 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.81553e-05; + } else { + sum += -9.81553e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.81553e-05; + } else { + sum += -9.81553e-05; + } + } + // tree 1546 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000105256; + } else { + sum += -0.000105256; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000105256; + } else { + sum += 0.000105256; + } + } + // tree 1547 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 9.08164e-05; + } else { + sum += -9.08164e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.08164e-05; + } else { + sum += -9.08164e-05; + } + } + // tree 1548 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000113309; + } else { + sum += -0.000113309; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000113309; + } else { + sum += 0.000113309; + } + } + // tree 1549 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.78048e-05; + } else { + sum += -9.78048e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.78048e-05; + } else { + sum += -9.78048e-05; + } + } + // tree 1550 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 9.57528e-05; + } else { + sum += -9.57528e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -9.57528e-05; + } else { + sum += 9.57528e-05; + } + } + // tree 1551 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.63299e-05; + } else { + sum += -8.63299e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 8.63299e-05; + } else { + sum += -8.63299e-05; + } + } + // tree 1552 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.43807e-05; + } else { + sum += 8.43807e-05; + } + } else { + if ( features[3] < 0.128972 ) { + sum += 8.43807e-05; + } else { + sum += -8.43807e-05; + } + } + // tree 1553 + sum += 4.54341e-05; + // tree 1554 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 8.85574e-05; + } else { + sum += -8.85574e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -8.85574e-05; + } else { + sum += 8.85574e-05; + } + } + // tree 1555 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -8.55302e-05; + } else { + sum += 8.55302e-05; + } + } else { + if ( features[5] < 1.09634 ) { + sum += 8.55302e-05; + } else { + sum += -8.55302e-05; + } + } + // tree 1556 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000114312; + } else { + sum += 0.000114312; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000114312; + } else { + sum += -0.000114312; + } + } + // tree 1557 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.86276e-05; + } else { + sum += -8.86276e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.86276e-05; + } else { + sum += 8.86276e-05; + } + } + // tree 1558 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000114221; + } else { + sum += -0.000114221; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000114221; + } else { + sum += 0.000114221; + } + } + // tree 1559 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -8.92614e-05; + } else { + sum += 8.92614e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.92614e-05; + } else { + sum += 8.92614e-05; + } + } + // tree 1560 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.72271e-05; + } else { + sum += 9.72271e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.72271e-05; + } else { + sum += -9.72271e-05; + } + } + // tree 1561 + if ( features[1] < 0.103667 ) { + if ( features[4] < -2.68787 ) { + sum += 7.95321e-05; + } else { + sum += -7.95321e-05; + } + } else { + sum += 7.95321e-05; + } + // tree 1562 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 8.54303e-05; + } else { + sum += -8.54303e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -8.54303e-05; + } else { + sum += 8.54303e-05; + } + } + // tree 1563 + if ( features[7] < 0.501269 ) { + if ( features[12] < 4.80458 ) { + sum += 9.28453e-05; + } else { + sum += -9.28453e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.28453e-05; + } else { + sum += 9.28453e-05; + } + } + // tree 1564 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.0001363; + } else { + sum += -0.0001363; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.0001363; + } else { + sum += 0.0001363; + } + } + // tree 1565 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.8454e-05; + } else { + sum += -8.8454e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.8454e-05; + } else { + sum += 8.8454e-05; + } + } + // tree 1566 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 9.2058e-05; + } else { + sum += -9.2058e-05; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -9.2058e-05; + } else { + sum += 9.2058e-05; + } + } + // tree 1567 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000103586; + } else { + sum += -0.000103586; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -0.000103586; + } else { + sum += 0.000103586; + } + } + // tree 1568 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -8.81887e-05; + } else { + sum += 8.81887e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.81887e-05; + } else { + sum += 8.81887e-05; + } + } + // tree 1569 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000101379; + } else { + sum += 0.000101379; + } + } else { + if ( features[10] < -27.4258 ) { + sum += 0.000101379; + } else { + sum += -0.000101379; + } + } + // tree 1570 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 9.09268e-05; + } else { + sum += -9.09268e-05; + } + } else { + if ( features[6] < -0.231447 ) { + sum += 9.09268e-05; + } else { + sum += -9.09268e-05; + } + } + // tree 1571 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 9.49669e-05; + } else { + sum += -9.49669e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -9.49669e-05; + } else { + sum += 9.49669e-05; + } + } + // tree 1572 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.65573e-05; + } else { + sum += 9.65573e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -9.65573e-05; + } else { + sum += 9.65573e-05; + } + } + // tree 1573 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000101162; + } else { + sum += 0.000101162; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -0.000101162; + } else { + sum += 0.000101162; + } + } + // tree 1574 + if ( features[1] < 0.103667 ) { + if ( features[8] < 2.01757 ) { + sum += 8.29027e-05; + } else { + sum += -8.29027e-05; + } + } else { + sum += 8.29027e-05; + } + // tree 1575 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 9.23396e-05; + } else { + sum += -9.23396e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -9.23396e-05; + } else { + sum += 9.23396e-05; + } + } + // tree 1576 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000113419; + } else { + sum += -0.000113419; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000113419; + } else { + sum += 0.000113419; + } + } + // tree 1577 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000110302; + } else { + sum += 0.000110302; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000110302; + } else { + sum += 0.000110302; + } + } + // tree 1578 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 9.86968e-05; + } else { + sum += -9.86968e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.86968e-05; + } else { + sum += 9.86968e-05; + } + } + // tree 1579 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.00594e-05; + } else { + sum += -9.00594e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -9.00594e-05; + } else { + sum += 9.00594e-05; + } + } + // tree 1580 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.6671e-05; + } else { + sum += -9.6671e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.6671e-05; + } else { + sum += -9.6671e-05; + } + } + // tree 1581 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 0.00010168; + } else { + sum += -0.00010168; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.00010168; + } else { + sum += -0.00010168; + } + } + // tree 1582 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.7017e-05; + } else { + sum += 9.7017e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -9.7017e-05; + } else { + sum += 9.7017e-05; + } + } + // tree 1583 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000100711; + } else { + sum += -0.000100711; + } + } else { + if ( features[6] < -2.15667 ) { + sum += 0.000100711; + } else { + sum += -0.000100711; + } + } + // tree 1584 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.61629e-05; + } else { + sum += 9.61629e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.61629e-05; + } else { + sum += -9.61629e-05; + } + } + // tree 1585 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.48434e-05; + } else { + sum += 8.48434e-05; + } + } else { + sum += 8.48434e-05; + } + // tree 1586 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 8.66207e-05; + } else { + sum += -8.66207e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 8.66207e-05; + } else { + sum += -8.66207e-05; + } + } + // tree 1587 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.46411e-05; + } else { + sum += -8.46411e-05; + } + } else { + sum += 8.46411e-05; + } + // tree 1588 + if ( features[3] < 0.0967294 ) { + if ( features[8] < 1.51822 ) { + sum += -7.54791e-05; + } else { + sum += 7.54791e-05; + } + } else { + if ( features[11] < 1.75004 ) { + sum += -7.54791e-05; + } else { + sum += 7.54791e-05; + } + } + // tree 1589 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000111417; + } else { + sum += -0.000111417; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -0.000111417; + } else { + sum += 0.000111417; + } + } + // tree 1590 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000111683; + } else { + sum += 0.000111683; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000111683; + } else { + sum += 0.000111683; + } + } + // tree 1591 + if ( features[12] < 4.57639 ) { + sum += 8.36164e-05; + } else { + if ( features[0] < 2.53058 ) { + sum += -8.36164e-05; + } else { + sum += 8.36164e-05; + } + } + // tree 1592 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.36322e-05; + } else { + sum += 8.36322e-05; + } + } else { + sum += 8.36322e-05; + } + // tree 1593 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000138059; + } else { + sum += -0.000138059; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000138059; + } else { + sum += 0.000138059; + } + } + // tree 1594 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000104851; + } else { + sum += -0.000104851; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000104851; + } else { + sum += 0.000104851; + } + } + // tree 1595 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000101775; + } else { + sum += -0.000101775; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 0.000101775; + } else { + sum += -0.000101775; + } + } + // tree 1596 + if ( features[7] < 0.979327 ) { + if ( features[11] < 1.84612 ) { + sum += 8.9381e-05; + } else { + sum += -8.9381e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 8.9381e-05; + } else { + sum += -8.9381e-05; + } + } + // tree 1597 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 9.73049e-05; + } else { + sum += -9.73049e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.73049e-05; + } else { + sum += 9.73049e-05; + } + } + // tree 1598 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000104198; + } else { + sum += -0.000104198; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000104198; + } else { + sum += 0.000104198; + } + } + // tree 1599 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000102916; + } else { + sum += -0.000102916; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000102916; + } else { + sum += 0.000102916; + } + } + // tree 1600 + if ( features[1] < 0.103667 ) { + if ( features[0] < 2.78895 ) { + sum += 8.51755e-05; + } else { + sum += -8.51755e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.51755e-05; + } else { + sum += 8.51755e-05; + } + } + // tree 1601 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000100293; + } else { + sum += 0.000100293; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000100293; + } else { + sum += 0.000100293; + } + } + // tree 1602 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.78845e-05; + } else { + sum += 8.78845e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.78845e-05; + } else { + sum += 8.78845e-05; + } + } + // tree 1603 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 9.03835e-05; + } else { + sum += -9.03835e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 9.03835e-05; + } else { + sum += -9.03835e-05; + } + } + // tree 1604 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000100986; + } else { + sum += -0.000100986; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 0.000100986; + } else { + sum += -0.000100986; + } + } + // tree 1605 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.39162e-05; + } else { + sum += -9.39162e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.39162e-05; + } else { + sum += -9.39162e-05; + } + } + // tree 1606 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000119949; + } else { + sum += -0.000119949; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000119949; + } else { + sum += -0.000119949; + } + } + // tree 1607 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 9.33941e-05; + } else { + sum += -9.33941e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 9.33941e-05; + } else { + sum += -9.33941e-05; + } + } + // tree 1608 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000101423; + } else { + sum += -0.000101423; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000101423; + } else { + sum += 0.000101423; + } + } + // tree 1609 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 0.000100649; + } else { + sum += -0.000100649; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000100649; + } else { + sum += -0.000100649; + } + } + // tree 1610 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.36524e-05; + } else { + sum += 9.36524e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.36524e-05; + } else { + sum += -9.36524e-05; + } + } + // tree 1611 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000100988; + } else { + sum += -0.000100988; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000100988; + } else { + sum += 0.000100988; + } + } + // tree 1612 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.58581e-05; + } else { + sum += -9.58581e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.58581e-05; + } else { + sum += -9.58581e-05; + } + } + // tree 1613 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.32117e-05; + } else { + sum += 9.32117e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.32117e-05; + } else { + sum += -9.32117e-05; + } + } + // tree 1614 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 9.21366e-05; + } else { + sum += -9.21366e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 9.21366e-05; + } else { + sum += -9.21366e-05; + } + } + // tree 1615 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.57261e-05; + } else { + sum += -9.57261e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.57261e-05; + } else { + sum += -9.57261e-05; + } + } + // tree 1616 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.353762 ) { + sum += -8.41167e-05; + } else { + sum += 8.41167e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.41167e-05; + } else { + sum += -8.41167e-05; + } + } + // tree 1617 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000133101; + } else { + sum += -0.000133101; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000133101; + } else { + sum += 0.000133101; + } + } + // tree 1618 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 9.41634e-05; + } else { + sum += -9.41634e-05; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 9.41634e-05; + } else { + sum += -9.41634e-05; + } + } + // tree 1619 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.87073e-05; + } else { + sum += 8.87073e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.87073e-05; + } else { + sum += 8.87073e-05; + } + } + // tree 1620 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.4812e-05; + } else { + sum += -9.4812e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.4812e-05; + } else { + sum += -9.4812e-05; + } + } + // tree 1621 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.69595 ) { + sum += 8.92275e-05; + } else { + sum += -8.92275e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 8.92275e-05; + } else { + sum += -8.92275e-05; + } + } + // tree 1622 + if ( features[7] < 0.979327 ) { + if ( features[11] < 1.84612 ) { + sum += 8.87858e-05; + } else { + sum += -8.87858e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 8.87858e-05; + } else { + sum += -8.87858e-05; + } + } + // tree 1623 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 9.54755e-05; + } else { + sum += -9.54755e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -9.54755e-05; + } else { + sum += 9.54755e-05; + } + } + // tree 1624 + if ( features[3] < 0.0967294 ) { + if ( features[8] < 1.51822 ) { + sum += -7.31762e-05; + } else { + sum += 7.31762e-05; + } + } else { + if ( features[7] < 0.538043 ) { + sum += 7.31762e-05; + } else { + sum += -7.31762e-05; + } + } + // tree 1625 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.49726e-05; + } else { + sum += 9.49726e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.49726e-05; + } else { + sum += -9.49726e-05; + } + } + // tree 1626 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 0.000101421; + } else { + sum += -0.000101421; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000101421; + } else { + sum += -0.000101421; + } + } + // tree 1627 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.79963e-05; + } else { + sum += 8.79963e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.79963e-05; + } else { + sum += 8.79963e-05; + } + } + // tree 1628 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000112878; + } else { + sum += 0.000112878; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000112878; + } else { + sum += -0.000112878; + } + } + // tree 1629 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 9.75698e-05; + } else { + sum += -9.75698e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.75698e-05; + } else { + sum += 9.75698e-05; + } + } + // tree 1630 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 9.01615e-05; + } else { + sum += -9.01615e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -9.01615e-05; + } else { + sum += 9.01615e-05; + } + } + // tree 1631 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.45748e-05; + } else { + sum += 9.45748e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.45748e-05; + } else { + sum += -9.45748e-05; + } + } + // tree 1632 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.32707e-05; + } else { + sum += -8.32707e-05; + } + } else { + sum += 8.32707e-05; + } + // tree 1633 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000103719; + } else { + sum += -0.000103719; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000103719; + } else { + sum += 0.000103719; + } + } + // tree 1634 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000112091; + } else { + sum += -0.000112091; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000112091; + } else { + sum += 0.000112091; + } + } + // tree 1635 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -9.58504e-05; + } else { + sum += 9.58504e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.58504e-05; + } else { + sum += 9.58504e-05; + } + } + // tree 1636 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.13987e-05; + } else { + sum += 8.13987e-05; + } + } else { + if ( features[6] < -0.231447 ) { + sum += 8.13987e-05; + } else { + sum += -8.13987e-05; + } + } + // tree 1637 + if ( features[1] < 0.103667 ) { + if ( features[0] < 2.78895 ) { + sum += 8.9017e-05; + } else { + sum += -8.9017e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.9017e-05; + } else { + sum += -8.9017e-05; + } + } + // tree 1638 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000111321; + } else { + sum += -0.000111321; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000111321; + } else { + sum += 0.000111321; + } + } + // tree 1639 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.43507e-05; + } else { + sum += -9.43507e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.43507e-05; + } else { + sum += -9.43507e-05; + } + } + // tree 1640 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.4531e-05; + } else { + sum += -9.4531e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.4531e-05; + } else { + sum += -9.4531e-05; + } + } + // tree 1641 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000102353; + } else { + sum += -0.000102353; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000102353; + } else { + sum += 0.000102353; + } + } + // tree 1642 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000110499; + } else { + sum += -0.000110499; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000110499; + } else { + sum += -0.000110499; + } + } + // tree 1643 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000136173; + } else { + sum += -0.000136173; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000136173; + } else { + sum += 0.000136173; + } + } + // tree 1644 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.000103317; + } else { + sum += -0.000103317; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000103317; + } else { + sum += 0.000103317; + } + } + // tree 1645 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000111522; + } else { + sum += 0.000111522; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000111522; + } else { + sum += 0.000111522; + } + } + // tree 1646 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000107579; + } else { + sum += -0.000107579; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -0.000107579; + } else { + sum += 0.000107579; + } + } + // tree 1647 + if ( features[8] < 2.24069 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000110879; + } else { + sum += -0.000110879; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000110879; + } else { + sum += -0.000110879; + } + } + // tree 1648 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 9.38338e-05; + } else { + sum += -9.38338e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -9.38338e-05; + } else { + sum += 9.38338e-05; + } + } + // tree 1649 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -8.7563e-05; + } else { + sum += 8.7563e-05; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 8.7563e-05; + } else { + sum += -8.7563e-05; + } + } + // tree 1650 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.46643e-05; + } else { + sum += 9.46643e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.46643e-05; + } else { + sum += -9.46643e-05; + } + } + // tree 1651 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000101712; + } else { + sum += -0.000101712; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 0.000101712; + } else { + sum += -0.000101712; + } + } + // tree 1652 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.70099e-05; + } else { + sum += 8.70099e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.70099e-05; + } else { + sum += 8.70099e-05; + } + } + // tree 1653 + if ( features[8] < 2.24069 ) { + if ( features[6] < -0.88487 ) { + sum += -0.000109532; + } else { + sum += 0.000109532; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 0.000109532; + } else { + sum += -0.000109532; + } + } + // tree 1654 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.24641e-05; + } else { + sum += -9.24641e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.24641e-05; + } else { + sum += -9.24641e-05; + } + } + // tree 1655 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.39227e-05; + } else { + sum += -9.39227e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.39227e-05; + } else { + sum += -9.39227e-05; + } + } + // tree 1656 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000105073; + } else { + sum += 0.000105073; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -0.000105073; + } else { + sum += 0.000105073; + } + } + // tree 1657 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -9.19525e-05; + } else { + sum += 9.19525e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.19525e-05; + } else { + sum += -9.19525e-05; + } + } + // tree 1658 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.353762 ) { + sum += -9.0968e-05; + } else { + sum += 9.0968e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -9.0968e-05; + } else { + sum += 9.0968e-05; + } + } + // tree 1659 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 0.000100488; + } else { + sum += -0.000100488; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000100488; + } else { + sum += -0.000100488; + } + } + // tree 1660 + if ( features[9] < 1.87281 ) { + if ( features[8] < 1.43176 ) { + sum += -9.38001e-05; + } else { + sum += 9.38001e-05; + } + } else { + if ( features[7] < 0.390948 ) { + sum += -9.38001e-05; + } else { + sum += 9.38001e-05; + } + } + // tree 1661 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.30776e-05; + } else { + sum += 9.30776e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.30776e-05; + } else { + sum += -9.30776e-05; + } + } + // tree 1662 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 0.000100004; + } else { + sum += -0.000100004; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000100004; + } else { + sum += -0.000100004; + } + } + // tree 1663 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.07676e-05; + } else { + sum += -9.07676e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.07676e-05; + } else { + sum += -9.07676e-05; + } + } + // tree 1664 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -8.96847e-05; + } else { + sum += 8.96847e-05; + } + } else { + if ( features[2] < 0.632998 ) { + sum += 8.96847e-05; + } else { + sum += -8.96847e-05; + } + } + // tree 1665 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.94897e-05; + } else { + sum += 8.94897e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -8.94897e-05; + } else { + sum += 8.94897e-05; + } + } + // tree 1666 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000100157; + } else { + sum += -0.000100157; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -0.000100157; + } else { + sum += 0.000100157; + } + } + // tree 1667 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.69595 ) { + sum += 8.65903e-05; + } else { + sum += -8.65903e-05; + } + } else { + if ( features[2] < 0.256409 ) { + sum += 8.65903e-05; + } else { + sum += -8.65903e-05; + } + } + // tree 1668 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000100509; + } else { + sum += -0.000100509; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000100509; + } else { + sum += 0.000100509; + } + } + // tree 1669 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.3444e-05; + } else { + sum += -9.3444e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.3444e-05; + } else { + sum += -9.3444e-05; + } + } + // tree 1670 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 9.56032e-05; + } else { + sum += -9.56032e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.56032e-05; + } else { + sum += 9.56032e-05; + } + } + // tree 1671 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.18609e-05; + } else { + sum += -8.18609e-05; + } + } else { + sum += 8.18609e-05; + } + // tree 1672 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.00013493; + } else { + sum += -0.00013493; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.00013493; + } else { + sum += 0.00013493; + } + } + // tree 1673 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 8.93685e-05; + } else { + sum += -8.93685e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.93685e-05; + } else { + sum += 8.93685e-05; + } + } + // tree 1674 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.23892e-05; + } else { + sum += 9.23892e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.23892e-05; + } else { + sum += -9.23892e-05; + } + } + // tree 1675 + if ( features[11] < 1.84612 ) { + if ( features[7] < 0.979305 ) { + sum += 8.06959e-05; + } else { + sum += -8.06959e-05; + } + } else { + sum += -8.06959e-05; + } + // tree 1676 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000109619; + } else { + sum += -0.000109619; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000109619; + } else { + sum += 0.000109619; + } + } + // tree 1677 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.25817e-05; + } else { + sum += -9.25817e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.25817e-05; + } else { + sum += -9.25817e-05; + } + } + // tree 1678 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.11301e-05; + } else { + sum += 9.11301e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.11301e-05; + } else { + sum += -9.11301e-05; + } + } + // tree 1679 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000102859; + } else { + sum += 0.000102859; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.000102859; + } else { + sum += 0.000102859; + } + } + // tree 1680 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.19855e-05; + } else { + sum += -8.19855e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 8.19855e-05; + } else { + sum += -8.19855e-05; + } + } + // tree 1681 + if ( features[7] < 0.979327 ) { + if ( features[8] < 1.45949 ) { + sum += -8.86215e-05; + } else { + sum += 8.86215e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 8.86215e-05; + } else { + sum += -8.86215e-05; + } + } + // tree 1682 + if ( features[7] < 0.979327 ) { + if ( features[12] < 4.69595 ) { + sum += 8.79578e-05; + } else { + sum += -8.79578e-05; + } + } else { + if ( features[9] < 2.35674 ) { + sum += 8.79578e-05; + } else { + sum += -8.79578e-05; + } + } + // tree 1683 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.08848e-05; + } else { + sum += -9.08848e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.08848e-05; + } else { + sum += -9.08848e-05; + } + } + // tree 1684 + if ( features[1] < 0.103667 ) { + if ( features[0] < 2.78895 ) { + sum += 8.15772e-05; + } else { + sum += -8.15772e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.15772e-05; + } else { + sum += 8.15772e-05; + } + } + // tree 1685 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -8.86463e-05; + } else { + sum += 8.86463e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.86463e-05; + } else { + sum += 8.86463e-05; + } + } + // tree 1686 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.64409e-05; + } else { + sum += -7.64409e-05; + } + } else { + if ( features[5] < 0.783494 ) { + sum += 7.64409e-05; + } else { + sum += -7.64409e-05; + } + } + // tree 1687 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 9.93649e-05; + } else { + sum += -9.93649e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.93649e-05; + } else { + sum += -9.93649e-05; + } + } + // tree 1688 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000133513; + } else { + sum += -0.000133513; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000133513; + } else { + sum += 0.000133513; + } + } + // tree 1689 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.22507e-05; + } else { + sum += 9.22507e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 9.22507e-05; + } else { + sum += -9.22507e-05; + } + } + // tree 1690 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000109174; + } else { + sum += -0.000109174; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000109174; + } else { + sum += -0.000109174; + } + } + // tree 1691 + if ( features[9] < 1.87281 ) { + if ( features[1] < -0.121204 ) { + sum += 0.000108614; + } else { + sum += -0.000108614; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000108614; + } else { + sum += 0.000108614; + } + } + // tree 1692 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.30442e-05; + } else { + sum += 9.30442e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -9.30442e-05; + } else { + sum += 9.30442e-05; + } + } + // tree 1693 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.05722e-05; + } else { + sum += 9.05722e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 9.05722e-05; + } else { + sum += -9.05722e-05; + } + } + // tree 1694 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.96781e-05; + } else { + sum += -9.96781e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -9.96781e-05; + } else { + sum += 9.96781e-05; + } + } + // tree 1695 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.17961e-05; + } else { + sum += 9.17961e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.17961e-05; + } else { + sum += -9.17961e-05; + } + } + // tree 1696 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000110973; + } else { + sum += 0.000110973; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000110973; + } else { + sum += -0.000110973; + } + } + // tree 1697 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 9.18297e-05; + } else { + sum += -9.18297e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.18297e-05; + } else { + sum += -9.18297e-05; + } + } + // tree 1698 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -9.06797e-05; + } else { + sum += 9.06797e-05; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 9.06797e-05; + } else { + sum += -9.06797e-05; + } + } + // tree 1699 + if ( features[3] < 0.0967294 ) { + if ( features[0] < 1.81252 ) { + sum += -7.13945e-05; + } else { + sum += 7.13945e-05; + } + } else { + if ( features[9] < 2.15069 ) { + sum += -7.13945e-05; + } else { + sum += 7.13945e-05; + } + } + // tree 1700 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000132527; + } else { + sum += -0.000132527; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000132527; + } else { + sum += 0.000132527; + } + } + // tree 1701 + if ( features[6] < -0.231447 ) { + if ( features[0] < 1.68308 ) { + sum += -7.99698e-05; + } else { + sum += 7.99698e-05; + } + } else { + if ( features[9] < 1.99097 ) { + sum += 7.99698e-05; + } else { + sum += -7.99698e-05; + } + } + // tree 1702 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 9.64135e-05; + } else { + sum += -9.64135e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.64135e-05; + } else { + sum += 9.64135e-05; + } + } + // tree 1703 + if ( features[3] < 0.0967294 ) { + if ( features[9] < 1.48572 ) { + sum += -7.08253e-05; + } else { + sum += 7.08253e-05; + } + } else { + if ( features[2] < 0.444703 ) { + sum += -7.08253e-05; + } else { + sum += 7.08253e-05; + } + } + // tree 1704 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000102501; + } else { + sum += -0.000102501; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.000102501; + } else { + sum += -0.000102501; + } + } + // tree 1705 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.15459e-05; + } else { + sum += 9.15459e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.15459e-05; + } else { + sum += -9.15459e-05; + } + } + // tree 1706 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.99961e-05; + } else { + sum += -8.99961e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.99961e-05; + } else { + sum += -8.99961e-05; + } + } + // tree 1707 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.03779e-05; + } else { + sum += 9.03779e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 9.03779e-05; + } else { + sum += -9.03779e-05; + } + } + // tree 1708 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.01691e-05; + } else { + sum += -8.01691e-05; + } + } else { + sum += 8.01691e-05; + } + // tree 1709 + if ( features[11] < 1.84612 ) { + if ( features[5] < 0.473096 ) { + sum += 6.49757e-05; + } else { + sum += -6.49757e-05; + } + } else { + sum += -6.49757e-05; + } + // tree 1710 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 9.07549e-05; + } else { + sum += -9.07549e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 9.07549e-05; + } else { + sum += -9.07549e-05; + } + } + // tree 1711 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 8.95082e-05; + } else { + sum += -8.95082e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.95082e-05; + } else { + sum += -8.95082e-05; + } + } + // tree 1712 + if ( features[12] < 4.57639 ) { + sum += 8.24773e-05; + } else { + if ( features[5] < 0.731889 ) { + sum += -8.24773e-05; + } else { + sum += 8.24773e-05; + } + } + // tree 1713 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.0395e-05; + } else { + sum += -8.0395e-05; + } + } else { + sum += 8.0395e-05; + } + // tree 1714 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.10165e-05; + } else { + sum += -9.10165e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.10165e-05; + } else { + sum += -9.10165e-05; + } + } + // tree 1715 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 8.64916e-05; + } else { + sum += -8.64916e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 8.64916e-05; + } else { + sum += -8.64916e-05; + } + } + // tree 1716 + if ( features[9] < 1.87281 ) { + if ( features[2] < -0.120212 ) { + sum += -8.82801e-05; + } else { + sum += 8.82801e-05; + } + } else { + if ( features[7] < 0.390948 ) { + sum += -8.82801e-05; + } else { + sum += 8.82801e-05; + } + } + // tree 1717 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.00010956; + } else { + sum += 0.00010956; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.00010956; + } else { + sum += 0.00010956; + } + } + // tree 1718 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -9.2813e-05; + } else { + sum += 9.2813e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -9.2813e-05; + } else { + sum += 9.2813e-05; + } + } + // tree 1719 + if ( features[1] < 0.103667 ) { + if ( features[0] < 2.78895 ) { + sum += 8.87535e-05; + } else { + sum += -8.87535e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.87535e-05; + } else { + sum += -8.87535e-05; + } + } + // tree 1720 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 9.07962e-05; + } else { + sum += -9.07962e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 9.07962e-05; + } else { + sum += -9.07962e-05; + } + } + // tree 1721 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.98029e-05; + } else { + sum += 8.98029e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.98029e-05; + } else { + sum += -8.98029e-05; + } + } + // tree 1722 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000107646; + } else { + sum += -0.000107646; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000107646; + } else { + sum += 0.000107646; + } + } + // tree 1723 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 9.10836e-05; + } else { + sum += -9.10836e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.10836e-05; + } else { + sum += -9.10836e-05; + } + } + // tree 1724 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.9503e-05; + } else { + sum += 8.9503e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.9503e-05; + } else { + sum += -8.9503e-05; + } + } + // tree 1725 + if ( features[3] < 0.0967294 ) { + if ( features[8] < 1.51822 ) { + sum += -7.82756e-05; + } else { + sum += 7.82756e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -7.82756e-05; + } else { + sum += 7.82756e-05; + } + } + // tree 1726 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -0.000101697; + } else { + sum += 0.000101697; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000101697; + } else { + sum += 0.000101697; + } + } + // tree 1727 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -9.2023e-05; + } else { + sum += 9.2023e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -9.2023e-05; + } else { + sum += 9.2023e-05; + } + } + // tree 1728 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.00010662; + } else { + sum += -0.00010662; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.00010662; + } else { + sum += 0.00010662; + } + } + // tree 1729 + if ( features[5] < 0.473096 ) { + sum += 7.75241e-05; + } else { + if ( features[7] < 0.478265 ) { + sum += 7.75241e-05; + } else { + sum += -7.75241e-05; + } + } + // tree 1730 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000108847; + } else { + sum += 0.000108847; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000108847; + } else { + sum += 0.000108847; + } + } + // tree 1731 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000111302; + } else { + sum += -0.000111302; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000111302; + } else { + sum += 0.000111302; + } + } + // tree 1732 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.1401e-05; + } else { + sum += -8.1401e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 8.1401e-05; + } else { + sum += -8.1401e-05; + } + } + // tree 1733 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -8.28007e-05; + } else { + sum += 8.28007e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.28007e-05; + } else { + sum += -8.28007e-05; + } + } + // tree 1734 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.42291e-05; + } else { + sum += -8.42291e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.42291e-05; + } else { + sum += 8.42291e-05; + } + } + // tree 1735 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.91268e-05; + } else { + sum += -8.91268e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.91268e-05; + } else { + sum += -8.91268e-05; + } + } + // tree 1736 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000115681; + } else { + sum += -0.000115681; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000115681; + } else { + sum += -0.000115681; + } + } + // tree 1737 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000106455; + } else { + sum += -0.000106455; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000106455; + } else { + sum += 0.000106455; + } + } + // tree 1738 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000100397; + } else { + sum += -0.000100397; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -0.000100397; + } else { + sum += 0.000100397; + } + } + // tree 1739 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -9.046e-05; + } else { + sum += 9.046e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 9.046e-05; + } else { + sum += -9.046e-05; + } + } + // tree 1740 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.8869e-05; + } else { + sum += -8.8869e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.8869e-05; + } else { + sum += -8.8869e-05; + } + } + // tree 1741 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.00010915; + } else { + sum += -0.00010915; + } + } else { + if ( features[6] < -0.231448 ) { + sum += 0.00010915; + } else { + sum += -0.00010915; + } + } + // tree 1742 + if ( features[12] < 4.57639 ) { + sum += 8.19284e-05; + } else { + if ( features[5] < 0.731889 ) { + sum += -8.19284e-05; + } else { + sum += 8.19284e-05; + } + } + // tree 1743 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 8.97289e-05; + } else { + sum += -8.97289e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.97289e-05; + } else { + sum += 8.97289e-05; + } + } + // tree 1744 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000106989; + } else { + sum += -0.000106989; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000106989; + } else { + sum += 0.000106989; + } + } + // tree 1745 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.26043e-05; + } else { + sum += -8.26043e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.26043e-05; + } else { + sum += 8.26043e-05; + } + } + // tree 1746 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.77034e-05; + } else { + sum += -8.77034e-05; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -8.77034e-05; + } else { + sum += 8.77034e-05; + } + } + // tree 1747 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -9.56992e-05; + } else { + sum += 9.56992e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -9.56992e-05; + } else { + sum += 9.56992e-05; + } + } + // tree 1748 + if ( features[0] < 1.68308 ) { + if ( features[12] < 4.33725 ) { + sum += 8.0708e-05; + } else { + sum += -8.0708e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 8.0708e-05; + } else { + sum += -8.0708e-05; + } + } + // tree 1749 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -8.55483e-05; + } else { + sum += 8.55483e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 8.55483e-05; + } else { + sum += -8.55483e-05; + } + } + // tree 1750 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.33996e-05; + } else { + sum += 8.33996e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.33996e-05; + } else { + sum += 8.33996e-05; + } + } + // tree 1751 + if ( features[1] < 0.103667 ) { + if ( features[10] < -27.4195 ) { + sum += 7.47285e-05; + } else { + sum += -7.47285e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -7.47285e-05; + } else { + sum += 7.47285e-05; + } + } + // tree 1752 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.8701e-05; + } else { + sum += -8.8701e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.8701e-05; + } else { + sum += -8.8701e-05; + } + } + // tree 1753 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.97564e-05; + } else { + sum += -8.97564e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.97564e-05; + } else { + sum += -8.97564e-05; + } + } + // tree 1754 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000106531; + } else { + sum += -0.000106531; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000106531; + } else { + sum += 0.000106531; + } + } + // tree 1755 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 8.94097e-05; + } else { + sum += -8.94097e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 8.94097e-05; + } else { + sum += -8.94097e-05; + } + } + // tree 1756 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.92774e-05; + } else { + sum += -8.92774e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.92774e-05; + } else { + sum += -8.92774e-05; + } + } + // tree 1757 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -8.92649e-05; + } else { + sum += 8.92649e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 8.92649e-05; + } else { + sum += -8.92649e-05; + } + } + // tree 1758 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.90677e-05; + } else { + sum += -9.90677e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.90677e-05; + } else { + sum += 9.90677e-05; + } + } + // tree 1759 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000105876; + } else { + sum += -0.000105876; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000105876; + } else { + sum += 0.000105876; + } + } + // tree 1760 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.90169e-05; + } else { + sum += 8.90169e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 8.90169e-05; + } else { + sum += -8.90169e-05; + } + } + // tree 1761 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000105216; + } else { + sum += -0.000105216; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000105216; + } else { + sum += 0.000105216; + } + } + // tree 1762 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.77141e-05; + } else { + sum += -8.77141e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.77141e-05; + } else { + sum += -8.77141e-05; + } + } + // tree 1763 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 9.9641e-05; + } else { + sum += -9.9641e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.9641e-05; + } else { + sum += 9.9641e-05; + } + } + // tree 1764 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -8.25906e-05; + } else { + sum += 8.25906e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.25906e-05; + } else { + sum += 8.25906e-05; + } + } + // tree 1765 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.94117e-05; + } else { + sum += 8.94117e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.94117e-05; + } else { + sum += -8.94117e-05; + } + } + // tree 1766 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -7.94112e-05; + } else { + sum += 7.94112e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 7.94112e-05; + } else { + sum += -7.94112e-05; + } + } + // tree 1767 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000107794; + } else { + sum += 0.000107794; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000107794; + } else { + sum += 0.000107794; + } + } + // tree 1768 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000108493; + } else { + sum += 0.000108493; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000108493; + } else { + sum += -0.000108493; + } + } + // tree 1769 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000130007; + } else { + sum += -0.000130007; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000130007; + } else { + sum += 0.000130007; + } + } + // tree 1770 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000104888; + } else { + sum += -0.000104888; + } + } else { + if ( features[11] < 1.012 ) { + sum += -0.000104888; + } else { + sum += 0.000104888; + } + } + // tree 1771 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -7.77404e-05; + } else { + sum += 7.77404e-05; + } + } else { + sum += 7.77404e-05; + } + // tree 1772 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.79684e-05; + } else { + sum += -9.79684e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.79684e-05; + } else { + sum += 9.79684e-05; + } + } + // tree 1773 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.69938e-05; + } else { + sum += -9.69938e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -9.69938e-05; + } else { + sum += 9.69938e-05; + } + } + // tree 1774 + if ( features[9] < 1.87281 ) { + if ( features[1] < -0.121204 ) { + sum += 0.000104868; + } else { + sum += -0.000104868; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000104868; + } else { + sum += 0.000104868; + } + } + // tree 1775 + if ( features[7] < 0.501269 ) { + if ( features[12] < 4.80458 ) { + sum += 8.37855e-05; + } else { + sum += -8.37855e-05; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 8.37855e-05; + } else { + sum += -8.37855e-05; + } + } + // tree 1776 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 7.7339e-05; + } else { + sum += -7.7339e-05; + } + } else { + if ( features[11] < 1.75004 ) { + sum += -7.7339e-05; + } else { + sum += 7.7339e-05; + } + } + // tree 1777 + if ( features[8] < 2.24069 ) { + if ( features[6] < -0.88487 ) { + sum += -8.89432e-05; + } else { + sum += 8.89432e-05; + } + } else { + if ( features[3] < 0.0644723 ) { + sum += 8.89432e-05; + } else { + sum += -8.89432e-05; + } + } + // tree 1778 + if ( features[2] < 0.821394 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000101506; + } else { + sum += 0.000101506; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 0.000101506; + } else { + sum += -0.000101506; + } + } + // tree 1779 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000126264; + } else { + sum += -0.000126264; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000126264; + } else { + sum += 0.000126264; + } + } + // tree 1780 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000100233; + } else { + sum += -0.000100233; + } + } else { + if ( features[9] < 2.23183 ) { + sum += -0.000100233; + } else { + sum += 0.000100233; + } + } + // tree 1781 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.13455e-05; + } else { + sum += -8.13455e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.13455e-05; + } else { + sum += 8.13455e-05; + } + } + // tree 1782 + sum += 4.22339e-05; + // tree 1783 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 9.21848e-05; + } else { + sum += -9.21848e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.21848e-05; + } else { + sum += -9.21848e-05; + } + } + // tree 1784 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.02605e-05; + } else { + sum += -8.02605e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -8.02605e-05; + } else { + sum += 8.02605e-05; + } + } + // tree 1785 + if ( features[0] < 1.68308 ) { + if ( features[3] < 0.0161829 ) { + sum += 7.19589e-05; + } else { + sum += -7.19589e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 7.19589e-05; + } else { + sum += -7.19589e-05; + } + } + // tree 1786 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.7923e-05; + } else { + sum += -8.7923e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.7923e-05; + } else { + sum += -8.7923e-05; + } + } + // tree 1787 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -9.51318e-05; + } else { + sum += 9.51318e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.51318e-05; + } else { + sum += -9.51318e-05; + } + } + // tree 1788 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -7.69684e-05; + } else { + sum += 7.69684e-05; + } + } else { + sum += 7.69684e-05; + } + // tree 1789 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 9.14884e-05; + } else { + sum += -9.14884e-05; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -9.14884e-05; + } else { + sum += 9.14884e-05; + } + } + // tree 1790 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -9.41217e-05; + } else { + sum += 9.41217e-05; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -9.41217e-05; + } else { + sum += 9.41217e-05; + } + } + // tree 1791 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.65297e-05; + } else { + sum += -8.65297e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.65297e-05; + } else { + sum += -8.65297e-05; + } + } + // tree 1792 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.00010433; + } else { + sum += -0.00010433; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.00010433; + } else { + sum += 0.00010433; + } + } + // tree 1793 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.72812e-05; + } else { + sum += -9.72812e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.72812e-05; + } else { + sum += 9.72812e-05; + } + } + // tree 1794 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000106193; + } else { + sum += 0.000106193; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000106193; + } else { + sum += -0.000106193; + } + } + // tree 1795 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 9.69099e-05; + } else { + sum += -9.69099e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.69099e-05; + } else { + sum += -9.69099e-05; + } + } + // tree 1796 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -7.94827e-05; + } else { + sum += 7.94827e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -7.94827e-05; + } else { + sum += 7.94827e-05; + } + } + // tree 1797 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.00011068; + } else { + sum += -0.00011068; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.00011068; + } else { + sum += -0.00011068; + } + } + // tree 1798 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 9.17543e-05; + } else { + sum += -9.17543e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -9.17543e-05; + } else { + sum += 9.17543e-05; + } + } + // tree 1799 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 8.56733e-05; + } else { + sum += -8.56733e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 8.56733e-05; + } else { + sum += -8.56733e-05; + } + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1800-2099.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1800-2099.cpp new file mode 100644 index 0000000000000000000000000000000000000000..d0acff9f0571b072f516f5fd2f3c9f27bd889c07 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_1800-2099.cpp @@ -0,0 +1,4118 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_6( const std::vector<double>& features ) const { + double sum = 0; + + // tree 1800 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 7.76699e-05; + } else { + sum += -7.76699e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 7.76699e-05; + } else { + sum += -7.76699e-05; + } + } + // tree 1801 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.76214e-05; + } else { + sum += 8.76214e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.76214e-05; + } else { + sum += -8.76214e-05; + } + } + // tree 1802 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 8.25971e-05; + } else { + sum += -8.25971e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -8.25971e-05; + } else { + sum += 8.25971e-05; + } + } + // tree 1803 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 8.62557e-05; + } else { + sum += -8.62557e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.62557e-05; + } else { + sum += -8.62557e-05; + } + } + // tree 1804 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.70775e-05; + } else { + sum += -8.70775e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.70775e-05; + } else { + sum += -8.70775e-05; + } + } + // tree 1805 + if ( features[11] < 1.84612 ) { + if ( features[1] < -0.717334 ) { + sum += -6.64217e-05; + } else { + sum += 6.64217e-05; + } + } else { + sum += -6.64217e-05; + } + // tree 1806 + if ( features[12] < 4.57639 ) { + sum += 8.70802e-05; + } else { + if ( features[11] < 0.917376 ) { + sum += -8.70802e-05; + } else { + sum += 8.70802e-05; + } + } + // tree 1807 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 8.48715e-05; + } else { + sum += -8.48715e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.48715e-05; + } else { + sum += 8.48715e-05; + } + } + // tree 1808 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -8.7186e-05; + } else { + sum += 8.7186e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.7186e-05; + } else { + sum += -8.7186e-05; + } + } + // tree 1809 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000105885; + } else { + sum += 0.000105885; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000105885; + } else { + sum += 0.000105885; + } + } + // tree 1810 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -9.19565e-05; + } else { + sum += 9.19565e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.19565e-05; + } else { + sum += 9.19565e-05; + } + } + // tree 1811 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.04369e-05; + } else { + sum += -8.04369e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.04369e-05; + } else { + sum += 8.04369e-05; + } + } + // tree 1812 + if ( features[9] < 1.87281 ) { + if ( features[6] < -0.811175 ) { + sum += -7.21082e-05; + } else { + sum += 7.21082e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 7.21082e-05; + } else { + sum += -7.21082e-05; + } + } + // tree 1813 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.57636e-05; + } else { + sum += -8.57636e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.57636e-05; + } else { + sum += -8.57636e-05; + } + } + // tree 1814 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -7.93322e-05; + } else { + sum += 7.93322e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 7.93322e-05; + } else { + sum += -7.93322e-05; + } + } + // tree 1815 + if ( features[11] < 1.84612 ) { + if ( features[5] < 0.473096 ) { + sum += 6.17986e-05; + } else { + sum += -6.17986e-05; + } + } else { + sum += -6.17986e-05; + } + // tree 1816 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 9.17337e-05; + } else { + sum += -9.17337e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.17337e-05; + } else { + sum += -9.17337e-05; + } + } + // tree 1817 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000109946; + } else { + sum += 0.000109946; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000109946; + } else { + sum += 0.000109946; + } + } + // tree 1818 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.92033e-05; + } else { + sum += 8.92033e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -8.92033e-05; + } else { + sum += 8.92033e-05; + } + } + // tree 1819 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 8.55086e-05; + } else { + sum += -8.55086e-05; + } + } else { + if ( features[9] < 2.23183 ) { + sum += -8.55086e-05; + } else { + sum += 8.55086e-05; + } + } + // tree 1820 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000124446; + } else { + sum += -0.000124446; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000124446; + } else { + sum += 0.000124446; + } + } + // tree 1821 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 8.77699e-05; + } else { + sum += -8.77699e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.77699e-05; + } else { + sum += 8.77699e-05; + } + } + // tree 1822 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.11683e-05; + } else { + sum += 8.11683e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.11683e-05; + } else { + sum += 8.11683e-05; + } + } + // tree 1823 + if ( features[1] < 0.103667 ) { + if ( features[0] < 2.78895 ) { + sum += 8.60439e-05; + } else { + sum += -8.60439e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.60439e-05; + } else { + sum += -8.60439e-05; + } + } + // tree 1824 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -8.65338e-05; + } else { + sum += 8.65338e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 8.65338e-05; + } else { + sum += -8.65338e-05; + } + } + // tree 1825 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.76795e-05; + } else { + sum += -8.76795e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.76795e-05; + } else { + sum += -8.76795e-05; + } + } + // tree 1826 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000102388; + } else { + sum += -0.000102388; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000102388; + } else { + sum += 0.000102388; + } + } + // tree 1827 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 8.70692e-05; + } else { + sum += -8.70692e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.70692e-05; + } else { + sum += 8.70692e-05; + } + } + // tree 1828 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000101819; + } else { + sum += -0.000101819; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000101819; + } else { + sum += 0.000101819; + } + } + // tree 1829 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.79086e-05; + } else { + sum += 8.79086e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -8.79086e-05; + } else { + sum += 8.79086e-05; + } + } + // tree 1830 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 9.06192e-05; + } else { + sum += -9.06192e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.06192e-05; + } else { + sum += 9.06192e-05; + } + } + // tree 1831 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 8.40389e-05; + } else { + sum += -8.40389e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -8.40389e-05; + } else { + sum += 8.40389e-05; + } + } + // tree 1832 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.71597e-05; + } else { + sum += 8.71597e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.71597e-05; + } else { + sum += 8.71597e-05; + } + } + // tree 1833 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000104823; + } else { + sum += 0.000104823; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000104823; + } else { + sum += -0.000104823; + } + } + // tree 1834 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -9.71866e-05; + } else { + sum += 9.71866e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.71866e-05; + } else { + sum += 9.71866e-05; + } + } + // tree 1835 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.69585e-05; + } else { + sum += -8.69585e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.69585e-05; + } else { + sum += -8.69585e-05; + } + } + // tree 1836 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000104413; + } else { + sum += 0.000104413; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000104413; + } else { + sum += -0.000104413; + } + } + // tree 1837 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.07085e-05; + } else { + sum += -8.07085e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -8.07085e-05; + } else { + sum += 8.07085e-05; + } + } + // tree 1838 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 9.00315e-05; + } else { + sum += -9.00315e-05; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -9.00315e-05; + } else { + sum += 9.00315e-05; + } + } + // tree 1839 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000108863; + } else { + sum += -0.000108863; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000108863; + } else { + sum += -0.000108863; + } + } + // tree 1840 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.31481e-05; + } else { + sum += -9.31481e-05; + } + } else { + if ( features[6] < -2.15667 ) { + sum += 9.31481e-05; + } else { + sum += -9.31481e-05; + } + } + // tree 1841 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.68982e-05; + } else { + sum += 8.68982e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 8.68982e-05; + } else { + sum += -8.68982e-05; + } + } + // tree 1842 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.69178e-05; + } else { + sum += -8.69178e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.69178e-05; + } else { + sum += -8.69178e-05; + } + } + // tree 1843 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.6828e-05; + } else { + sum += -9.6828e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.6828e-05; + } else { + sum += 9.6828e-05; + } + } + // tree 1844 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.57046e-05; + } else { + sum += -8.57046e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.57046e-05; + } else { + sum += -8.57046e-05; + } + } + // tree 1845 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 7.6159e-05; + } else { + sum += -7.6159e-05; + } + } else { + sum += 7.6159e-05; + } + // tree 1846 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.8737e-05; + } else { + sum += 8.8737e-05; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 8.8737e-05; + } else { + sum += -8.8737e-05; + } + } + // tree 1847 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000126207; + } else { + sum += -0.000126207; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000126207; + } else { + sum += 0.000126207; + } + } + // tree 1848 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -8.32481e-05; + } else { + sum += 8.32481e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 8.32481e-05; + } else { + sum += -8.32481e-05; + } + } + // tree 1849 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.52313e-05; + } else { + sum += -9.52313e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -9.52313e-05; + } else { + sum += 9.52313e-05; + } + } + // tree 1850 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.00010206; + } else { + sum += -0.00010206; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.00010206; + } else { + sum += 0.00010206; + } + } + // tree 1851 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 8.47623e-05; + } else { + sum += -8.47623e-05; + } + } else { + if ( features[6] < -2.15667 ) { + sum += 8.47623e-05; + } else { + sum += -8.47623e-05; + } + } + // tree 1852 + if ( features[1] < 0.103667 ) { + if ( features[0] < 2.78895 ) { + sum += 7.74463e-05; + } else { + sum += -7.74463e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -7.74463e-05; + } else { + sum += 7.74463e-05; + } + } + // tree 1853 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.37708e-05; + } else { + sum += -9.37708e-05; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 9.37708e-05; + } else { + sum += -9.37708e-05; + } + } + // tree 1854 + if ( features[11] < 1.84612 ) { + if ( features[11] < 0.668331 ) { + sum += -6.00631e-05; + } else { + sum += 6.00631e-05; + } + } else { + sum += -6.00631e-05; + } + // tree 1855 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.53632e-05; + } else { + sum += 8.53632e-05; + } + } else { + if ( features[4] < -0.426155 ) { + sum += -8.53632e-05; + } else { + sum += 8.53632e-05; + } + } + // tree 1856 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -9.05035e-05; + } else { + sum += 9.05035e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -9.05035e-05; + } else { + sum += 9.05035e-05; + } + } + // tree 1857 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.63686e-05; + } else { + sum += 8.63686e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.63686e-05; + } else { + sum += -8.63686e-05; + } + } + // tree 1858 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.00010413; + } else { + sum += -0.00010413; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.00010413; + } else { + sum += -0.00010413; + } + } + // tree 1859 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -8.79576e-05; + } else { + sum += 8.79576e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.79576e-05; + } else { + sum += 8.79576e-05; + } + } + // tree 1860 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000108114; + } else { + sum += 0.000108114; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000108114; + } else { + sum += 0.000108114; + } + } + // tree 1861 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.62583e-05; + } else { + sum += -8.62583e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 8.62583e-05; + } else { + sum += -8.62583e-05; + } + } + // tree 1862 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.59231e-05; + } else { + sum += -8.59231e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 8.59231e-05; + } else { + sum += -8.59231e-05; + } + } + // tree 1863 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.46268e-05; + } else { + sum += -8.46268e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.46268e-05; + } else { + sum += -8.46268e-05; + } + } + // tree 1864 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.00010762; + } else { + sum += -0.00010762; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.00010762; + } else { + sum += 0.00010762; + } + } + // tree 1865 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000101519; + } else { + sum += -0.000101519; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -0.000101519; + } else { + sum += 0.000101519; + } + } + // tree 1866 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 9.44609e-05; + } else { + sum += -9.44609e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -9.44609e-05; + } else { + sum += 9.44609e-05; + } + } + // tree 1867 + if ( features[7] < 0.390948 ) { + if ( features[5] < 0.267813 ) { + sum += 9.35715e-05; + } else { + sum += -9.35715e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.35715e-05; + } else { + sum += -9.35715e-05; + } + } + // tree 1868 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.51712e-05; + } else { + sum += -9.51712e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -9.51712e-05; + } else { + sum += 9.51712e-05; + } + } + // tree 1869 + if ( features[7] < 0.390948 ) { + if ( features[9] < 1.93614 ) { + sum += 9.18368e-05; + } else { + sum += -9.18368e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -9.18368e-05; + } else { + sum += 9.18368e-05; + } + } + // tree 1870 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.62532e-05; + } else { + sum += 8.62532e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.62532e-05; + } else { + sum += -8.62532e-05; + } + } + // tree 1871 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000106499; + } else { + sum += -0.000106499; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000106499; + } else { + sum += 0.000106499; + } + } + // tree 1872 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.53874e-05; + } else { + sum += -8.53874e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.53874e-05; + } else { + sum += -8.53874e-05; + } + } + // tree 1873 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 8.12692e-05; + } else { + sum += -8.12692e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -8.12692e-05; + } else { + sum += 8.12692e-05; + } + } + // tree 1874 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.31425e-05; + } else { + sum += -9.31425e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -9.31425e-05; + } else { + sum += 9.31425e-05; + } + } + // tree 1875 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 8.8011e-05; + } else { + sum += -8.8011e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.8011e-05; + } else { + sum += 8.8011e-05; + } + } + // tree 1876 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.54158e-05; + } else { + sum += -8.54158e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.54158e-05; + } else { + sum += -8.54158e-05; + } + } + // tree 1877 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -7.81517e-05; + } else { + sum += 7.81517e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 7.81517e-05; + } else { + sum += -7.81517e-05; + } + } + // tree 1878 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.29675e-05; + } else { + sum += -9.29675e-05; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 9.29675e-05; + } else { + sum += -9.29675e-05; + } + } + // tree 1879 + if ( features[7] < 0.390948 ) { + if ( features[9] < 2.12219 ) { + sum += 9.65143e-05; + } else { + sum += -9.65143e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.65143e-05; + } else { + sum += -9.65143e-05; + } + } + // tree 1880 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 7.77377e-05; + } else { + sum += -7.77377e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -7.77377e-05; + } else { + sum += 7.77377e-05; + } + } + // tree 1881 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.6183e-05; + } else { + sum += 8.6183e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 8.6183e-05; + } else { + sum += -8.6183e-05; + } + } + // tree 1882 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.57209e-05; + } else { + sum += 8.57209e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 8.57209e-05; + } else { + sum += -8.57209e-05; + } + } + // tree 1883 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -8.59402e-05; + } else { + sum += 8.59402e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.59402e-05; + } else { + sum += -8.59402e-05; + } + } + // tree 1884 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 8.50459e-05; + } else { + sum += -8.50459e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -8.50459e-05; + } else { + sum += 8.50459e-05; + } + } + // tree 1885 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000103369; + } else { + sum += 0.000103369; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000103369; + } else { + sum += -0.000103369; + } + } + // tree 1886 + if ( features[1] < 0.103667 ) { + if ( features[4] < -2.68787 ) { + sum += 6.98363e-05; + } else { + sum += -6.98363e-05; + } + } else { + sum += 6.98363e-05; + } + // tree 1887 + if ( features[12] < 4.57639 ) { + sum += 8.37446e-05; + } else { + if ( features[11] < 1.012 ) { + sum += -8.37446e-05; + } else { + sum += 8.37446e-05; + } + } + // tree 1888 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000101438; + } else { + sum += 0.000101438; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000101438; + } else { + sum += -0.000101438; + } + } + // tree 1889 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 7.84771e-05; + } else { + sum += -7.84771e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.84771e-05; + } else { + sum += 7.84771e-05; + } + } + // tree 1890 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -7.52043e-05; + } else { + sum += 7.52043e-05; + } + } else { + sum += 7.52043e-05; + } + // tree 1891 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.45792e-05; + } else { + sum += -9.45792e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.45792e-05; + } else { + sum += 9.45792e-05; + } + } + // tree 1892 + if ( features[5] < 0.473096 ) { + sum += 7.93681e-05; + } else { + if ( features[5] < 0.87839 ) { + sum += -7.93681e-05; + } else { + sum += 7.93681e-05; + } + } + // tree 1893 + if ( features[6] < -0.231447 ) { + if ( features[7] < 0.390948 ) { + sum += -8.28936e-05; + } else { + sum += 8.28936e-05; + } + } else { + if ( features[11] < 1.03707 ) { + sum += -8.28936e-05; + } else { + sum += 8.28936e-05; + } + } + // tree 1894 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.52943e-05; + } else { + sum += -8.52943e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.52943e-05; + } else { + sum += -8.52943e-05; + } + } + // tree 1895 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 8.44843e-05; + } else { + sum += -8.44843e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.44843e-05; + } else { + sum += -8.44843e-05; + } + } + // tree 1896 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -7.80738e-05; + } else { + sum += 7.80738e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -7.80738e-05; + } else { + sum += 7.80738e-05; + } + } + // tree 1897 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.94835e-05; + } else { + sum += -9.94835e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.94835e-05; + } else { + sum += 9.94835e-05; + } + } + // tree 1898 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 9.39862e-05; + } else { + sum += -9.39862e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.39862e-05; + } else { + sum += 9.39862e-05; + } + } + // tree 1899 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 7.14771e-05; + } else { + sum += -7.14771e-05; + } + } else { + if ( features[9] < 2.15069 ) { + sum += -7.14771e-05; + } else { + sum += 7.14771e-05; + } + } + // tree 1900 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.50712e-05; + } else { + sum += -8.50712e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.50712e-05; + } else { + sum += -8.50712e-05; + } + } + // tree 1901 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 6.82173e-05; + } else { + sum += -6.82173e-05; + } + } else { + if ( features[7] < 0.538043 ) { + sum += 6.82173e-05; + } else { + sum += -6.82173e-05; + } + } + // tree 1902 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.40853e-05; + } else { + sum += -9.40853e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.40853e-05; + } else { + sum += 9.40853e-05; + } + } + // tree 1903 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.98159e-05; + } else { + sum += 8.98159e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.98159e-05; + } else { + sum += 8.98159e-05; + } + } + // tree 1904 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.85256e-05; + } else { + sum += -9.85256e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -9.85256e-05; + } else { + sum += 9.85256e-05; + } + } + // tree 1905 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -8.4476e-05; + } else { + sum += 8.4476e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.4476e-05; + } else { + sum += -8.4476e-05; + } + } + // tree 1906 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.45283e-05; + } else { + sum += -8.45283e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.45283e-05; + } else { + sum += -8.45283e-05; + } + } + // tree 1907 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 8.65226e-05; + } else { + sum += -8.65226e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.65226e-05; + } else { + sum += 8.65226e-05; + } + } + // tree 1908 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.78008e-05; + } else { + sum += -9.78008e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -9.78008e-05; + } else { + sum += 9.78008e-05; + } + } + // tree 1909 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 8.69873e-05; + } else { + sum += -8.69873e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.69873e-05; + } else { + sum += 8.69873e-05; + } + } + // tree 1910 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -9.03178e-05; + } else { + sum += 9.03178e-05; + } + } else { + if ( features[10] < -27.4258 ) { + sum += 9.03178e-05; + } else { + sum += -9.03178e-05; + } + } + // tree 1911 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -9.36335e-05; + } else { + sum += 9.36335e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.36335e-05; + } else { + sum += 9.36335e-05; + } + } + // tree 1912 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.48199e-05; + } else { + sum += 8.48199e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.48199e-05; + } else { + sum += -8.48199e-05; + } + } + // tree 1913 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.29728e-05; + } else { + sum += -9.29728e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.29728e-05; + } else { + sum += 9.29728e-05; + } + } + // tree 1914 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.24748e-05; + } else { + sum += -9.24748e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.24748e-05; + } else { + sum += 9.24748e-05; + } + } + // tree 1915 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.39664e-05; + } else { + sum += 8.39664e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.39664e-05; + } else { + sum += -8.39664e-05; + } + } + // tree 1916 + if ( features[12] < 4.57639 ) { + sum += 7.74986e-05; + } else { + if ( features[7] < 0.464439 ) { + sum += 7.74986e-05; + } else { + sum += -7.74986e-05; + } + } + // tree 1917 + if ( features[0] < 1.68308 ) { + if ( features[12] < 4.33725 ) { + sum += 7.77229e-05; + } else { + sum += -7.77229e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.77229e-05; + } else { + sum += 7.77229e-05; + } + } + // tree 1918 + if ( features[12] < 4.57639 ) { + sum += 7.64192e-05; + } else { + if ( features[8] < 1.91935 ) { + sum += -7.64192e-05; + } else { + sum += 7.64192e-05; + } + } + // tree 1919 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 8.40897e-05; + } else { + sum += -8.40897e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.40897e-05; + } else { + sum += 8.40897e-05; + } + } + // tree 1920 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.41894e-05; + } else { + sum += -8.41894e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.41894e-05; + } else { + sum += -8.41894e-05; + } + } + // tree 1921 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.75073e-05; + } else { + sum += -9.75073e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.75073e-05; + } else { + sum += 9.75073e-05; + } + } + // tree 1922 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 7.6681e-05; + } else { + sum += -7.6681e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 7.6681e-05; + } else { + sum += -7.6681e-05; + } + } + // tree 1923 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 7.78514e-05; + } else { + sum += -7.78514e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.78514e-05; + } else { + sum += 7.78514e-05; + } + } + // tree 1924 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000101819; + } else { + sum += 0.000101819; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -0.000101819; + } else { + sum += 0.000101819; + } + } + // tree 1925 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.71417e-05; + } else { + sum += -9.71417e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.71417e-05; + } else { + sum += 9.71417e-05; + } + } + // tree 1926 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 8.4182e-05; + } else { + sum += -8.4182e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -8.4182e-05; + } else { + sum += 8.4182e-05; + } + } + // tree 1927 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.71871e-05; + } else { + sum += 8.71871e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -8.71871e-05; + } else { + sum += 8.71871e-05; + } + } + // tree 1928 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 7.67661e-05; + } else { + sum += -7.67661e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -7.67661e-05; + } else { + sum += 7.67661e-05; + } + } + // tree 1929 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.61502e-05; + } else { + sum += -9.61502e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -9.61502e-05; + } else { + sum += 9.61502e-05; + } + } + // tree 1930 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.67696e-05; + } else { + sum += -6.67696e-05; + } + } else { + if ( features[5] < 0.472433 ) { + sum += 6.67696e-05; + } else { + sum += -6.67696e-05; + } + } + // tree 1931 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000101636; + } else { + sum += 0.000101636; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000101636; + } else { + sum += -0.000101636; + } + } + // tree 1932 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 8.29549e-05; + } else { + sum += -8.29549e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.29549e-05; + } else { + sum += -8.29549e-05; + } + } + // tree 1933 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.6613e-05; + } else { + sum += -9.6613e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.6613e-05; + } else { + sum += 9.6613e-05; + } + } + // tree 1934 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 8.22105e-05; + } else { + sum += -8.22105e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.22105e-05; + } else { + sum += -8.22105e-05; + } + } + // tree 1935 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.47688e-05; + } else { + sum += 8.47688e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -8.47688e-05; + } else { + sum += 8.47688e-05; + } + } + // tree 1936 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 8.5825e-05; + } else { + sum += -8.5825e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 8.5825e-05; + } else { + sum += -8.5825e-05; + } + } + // tree 1937 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.41962e-05; + } else { + sum += 8.41962e-05; + } + } else { + if ( features[0] < 1.99219 ) { + sum += 8.41962e-05; + } else { + sum += -8.41962e-05; + } + } + // tree 1938 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 9.68137e-05; + } else { + sum += -9.68137e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.68137e-05; + } else { + sum += -9.68137e-05; + } + } + // tree 1939 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.87304e-05; + } else { + sum += 8.87304e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.87304e-05; + } else { + sum += 8.87304e-05; + } + } + // tree 1940 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.5656e-05; + } else { + sum += -9.5656e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.5656e-05; + } else { + sum += 9.5656e-05; + } + } + // tree 1941 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -9.17328e-05; + } else { + sum += 9.17328e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.17328e-05; + } else { + sum += 9.17328e-05; + } + } + // tree 1942 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.78175e-05; + } else { + sum += 6.78175e-05; + } + } else { + sum += 6.78175e-05; + } + // tree 1943 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -9.50896e-05; + } else { + sum += 9.50896e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.50896e-05; + } else { + sum += 9.50896e-05; + } + } + // tree 1944 + if ( features[4] < -1.47024 ) { + if ( features[5] < 0.630907 ) { + sum += 9.64968e-05; + } else { + sum += -9.64968e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -9.64968e-05; + } else { + sum += 9.64968e-05; + } + } + // tree 1945 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000123834; + } else { + sum += -0.000123834; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000123834; + } else { + sum += 0.000123834; + } + } + // tree 1946 + if ( features[0] < 1.68308 ) { + if ( features[7] < 0.620143 ) { + sum += -6.14571e-05; + } else { + sum += 6.14571e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 6.14571e-05; + } else { + sum += -6.14571e-05; + } + } + // tree 1947 + if ( features[12] < 4.57639 ) { + sum += 8.01389e-05; + } else { + if ( features[11] < 1.012 ) { + sum += -8.01389e-05; + } else { + sum += 8.01389e-05; + } + } + // tree 1948 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 7.6704e-05; + } else { + sum += -7.6704e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -7.6704e-05; + } else { + sum += 7.6704e-05; + } + } + // tree 1949 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 8.21042e-05; + } else { + sum += -8.21042e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.21042e-05; + } else { + sum += -8.21042e-05; + } + } + // tree 1950 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -9.0029e-05; + } else { + sum += 9.0029e-05; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -9.0029e-05; + } else { + sum += 9.0029e-05; + } + } + // tree 1951 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.37508e-05; + } else { + sum += 8.37508e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.37508e-05; + } else { + sum += -8.37508e-05; + } + } + // tree 1952 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.84543e-05; + } else { + sum += -8.84543e-05; + } + } else { + if ( features[6] < -2.15667 ) { + sum += 8.84543e-05; + } else { + sum += -8.84543e-05; + } + } + // tree 1953 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -7.32867e-05; + } else { + sum += 7.32867e-05; + } + } else { + sum += 7.32867e-05; + } + // tree 1954 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.24703e-05; + } else { + sum += -9.24703e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -9.24703e-05; + } else { + sum += 9.24703e-05; + } + } + // tree 1955 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -9.91316e-05; + } else { + sum += 9.91316e-05; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 9.91316e-05; + } else { + sum += -9.91316e-05; + } + } + // tree 1956 + if ( features[6] < -0.231447 ) { + if ( features[9] < 1.87281 ) { + sum += -7.46041e-05; + } else { + sum += 7.46041e-05; + } + } else { + if ( features[1] < -0.414925 ) { + sum += -7.46041e-05; + } else { + sum += 7.46041e-05; + } + } + // tree 1957 + if ( features[9] < 1.87281 ) { + if ( features[3] < 0.0322448 ) { + sum += 7.36135e-05; + } else { + sum += -7.36135e-05; + } + } else { + if ( features[4] < -1.2963 ) { + sum += 7.36135e-05; + } else { + sum += -7.36135e-05; + } + } + // tree 1958 + if ( features[8] < 2.24069 ) { + if ( features[5] < 0.734344 ) { + sum += -9.97251e-05; + } else { + sum += 9.97251e-05; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 9.97251e-05; + } else { + sum += -9.97251e-05; + } + } + // tree 1959 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -9.95165e-05; + } else { + sum += 9.95165e-05; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 9.95165e-05; + } else { + sum += -9.95165e-05; + } + } + // tree 1960 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 8.89386e-05; + } else { + sum += -8.89386e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.89386e-05; + } else { + sum += 8.89386e-05; + } + } + // tree 1961 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 9.59848e-05; + } else { + sum += -9.59848e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.59848e-05; + } else { + sum += -9.59848e-05; + } + } + // tree 1962 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 8.15354e-05; + } else { + sum += -8.15354e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 8.15354e-05; + } else { + sum += -8.15354e-05; + } + } + // tree 1963 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000110202; + } else { + sum += -0.000110202; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000110202; + } else { + sum += -0.000110202; + } + } + // tree 1964 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 8.38544e-05; + } else { + sum += -8.38544e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.38544e-05; + } else { + sum += 8.38544e-05; + } + } + // tree 1965 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 8.3405e-05; + } else { + sum += -8.3405e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.3405e-05; + } else { + sum += 8.3405e-05; + } + } + // tree 1966 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -7.14499e-05; + } else { + sum += 7.14499e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 7.14499e-05; + } else { + sum += -7.14499e-05; + } + } + // tree 1967 + if ( features[12] < 4.57639 ) { + sum += 7.95849e-05; + } else { + if ( features[11] < 1.012 ) { + sum += -7.95849e-05; + } else { + sum += 7.95849e-05; + } + } + // tree 1968 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -7.9238e-05; + } else { + sum += 7.9238e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.9238e-05; + } else { + sum += 7.9238e-05; + } + } + // tree 1969 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.30561e-05; + } else { + sum += 8.30561e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.30561e-05; + } else { + sum += -8.30561e-05; + } + } + // tree 1970 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 7.70669e-05; + } else { + sum += -7.70669e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.70669e-05; + } else { + sum += 7.70669e-05; + } + } + // tree 1971 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.42015e-05; + } else { + sum += -9.42015e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.42015e-05; + } else { + sum += 9.42015e-05; + } + } + // tree 1972 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.3269e-05; + } else { + sum += -8.3269e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.3269e-05; + } else { + sum += -8.3269e-05; + } + } + // tree 1973 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.30803e-05; + } else { + sum += 8.30803e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.30803e-05; + } else { + sum += -8.30803e-05; + } + } + // tree 1974 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.17646e-05; + } else { + sum += -9.17646e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -9.17646e-05; + } else { + sum += 9.17646e-05; + } + } + // tree 1975 + if ( features[6] < -0.231447 ) { + if ( features[9] < 1.87281 ) { + sum += -7.64731e-05; + } else { + sum += 7.64731e-05; + } + } else { + if ( features[4] < -0.944929 ) { + sum += -7.64731e-05; + } else { + sum += 7.64731e-05; + } + } + // tree 1976 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.3754e-05; + } else { + sum += -9.3754e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -9.3754e-05; + } else { + sum += 9.3754e-05; + } + } + // tree 1977 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000120057; + } else { + sum += -0.000120057; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000120057; + } else { + sum += 0.000120057; + } + } + // tree 1978 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -7.82157e-05; + } else { + sum += 7.82157e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -7.82157e-05; + } else { + sum += 7.82157e-05; + } + } + // tree 1979 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.31094e-05; + } else { + sum += -9.31094e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.31094e-05; + } else { + sum += 9.31094e-05; + } + } + // tree 1980 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -7.57055e-05; + } else { + sum += 7.57055e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -7.57055e-05; + } else { + sum += 7.57055e-05; + } + } + // tree 1981 + if ( features[5] < 0.473096 ) { + if ( features[12] < 4.68547 ) { + sum += 7.11163e-05; + } else { + sum += -7.11163e-05; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 7.11163e-05; + } else { + sum += -7.11163e-05; + } + } + // tree 1982 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 8.30741e-05; + } else { + sum += -8.30741e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.30741e-05; + } else { + sum += -8.30741e-05; + } + } + // tree 1983 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.60963e-05; + } else { + sum += 6.60963e-05; + } + } else { + sum += 6.60963e-05; + } + // tree 1984 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -7.77063e-05; + } else { + sum += 7.77063e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -7.77063e-05; + } else { + sum += 7.77063e-05; + } + } + // tree 1985 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.00010156; + } else { + sum += -0.00010156; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 0.00010156; + } else { + sum += -0.00010156; + } + } + // tree 1986 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 8.29657e-05; + } else { + sum += -8.29657e-05; + } + } else { + if ( features[6] < -0.231447 ) { + sum += 8.29657e-05; + } else { + sum += -8.29657e-05; + } + } + // tree 1987 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 8.7305e-05; + } else { + sum += -8.7305e-05; + } + } else { + if ( features[5] < 1.09243 ) { + sum += 8.7305e-05; + } else { + sum += -8.7305e-05; + } + } + // tree 1988 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 7.99793e-05; + } else { + sum += -7.99793e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.99793e-05; + } else { + sum += 7.99793e-05; + } + } + // tree 1989 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.31295e-05; + } else { + sum += -9.31295e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.31295e-05; + } else { + sum += 9.31295e-05; + } + } + // tree 1990 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.27279e-05; + } else { + sum += 8.27279e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.27279e-05; + } else { + sum += -8.27279e-05; + } + } + // tree 1991 + if ( features[11] < 1.84612 ) { + if ( features[5] < 0.473096 ) { + sum += 5.79146e-05; + } else { + sum += -5.79146e-05; + } + } else { + sum += -5.79146e-05; + } + // tree 1992 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -7.27336e-05; + } else { + sum += 7.27336e-05; + } + } else { + sum += 7.27336e-05; + } + // tree 1993 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.92937e-05; + } else { + sum += 8.92937e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.92937e-05; + } else { + sum += 8.92937e-05; + } + } + // tree 1994 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.79359e-05; + } else { + sum += 8.79359e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.79359e-05; + } else { + sum += 8.79359e-05; + } + } + // tree 1995 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.0924e-05; + } else { + sum += -9.0924e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -9.0924e-05; + } else { + sum += 9.0924e-05; + } + } + // tree 1996 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 8.17337e-05; + } else { + sum += -8.17337e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.17337e-05; + } else { + sum += 8.17337e-05; + } + } + // tree 1997 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.22199e-05; + } else { + sum += -9.22199e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -9.22199e-05; + } else { + sum += 9.22199e-05; + } + } + // tree 1998 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -9.37283e-05; + } else { + sum += 9.37283e-05; + } + } else { + if ( features[5] < 0.940993 ) { + sum += -9.37283e-05; + } else { + sum += 9.37283e-05; + } + } + // tree 1999 + if ( features[12] < 4.57639 ) { + sum += 7.36173e-05; + } else { + if ( features[9] < 1.86353 ) { + sum += -7.36173e-05; + } else { + sum += 7.36173e-05; + } + } + // tree 2000 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -9.95036e-05; + } else { + sum += 9.95036e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 9.95036e-05; + } else { + sum += -9.95036e-05; + } + } + // tree 2001 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.02657e-05; + } else { + sum += -9.02657e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -9.02657e-05; + } else { + sum += 9.02657e-05; + } + } + // tree 2002 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 8.34775e-05; + } else { + sum += -8.34775e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.34775e-05; + } else { + sum += -8.34775e-05; + } + } + // tree 2003 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 8.61084e-05; + } else { + sum += -8.61084e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -8.61084e-05; + } else { + sum += 8.61084e-05; + } + } + // tree 2004 + sum += 3.65589e-05; + // tree 2005 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.77311e-05; + } else { + sum += 8.77311e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.77311e-05; + } else { + sum += 8.77311e-05; + } + } + // tree 2006 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 7.41539e-05; + } else { + sum += -7.41539e-05; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 7.41539e-05; + } else { + sum += -7.41539e-05; + } + } + // tree 2007 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -8.2011e-05; + } else { + sum += 8.2011e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.2011e-05; + } else { + sum += -8.2011e-05; + } + } + // tree 2008 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000121197; + } else { + sum += -0.000121197; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000121197; + } else { + sum += 0.000121197; + } + } + // tree 2009 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -8.18369e-05; + } else { + sum += 8.18369e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -8.18369e-05; + } else { + sum += 8.18369e-05; + } + } + // tree 2010 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -8.79526e-05; + } else { + sum += 8.79526e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.79526e-05; + } else { + sum += 8.79526e-05; + } + } + // tree 2011 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 8.6192e-05; + } else { + sum += -8.6192e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 8.6192e-05; + } else { + sum += -8.6192e-05; + } + } + // tree 2012 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.52945e-05; + } else { + sum += 8.52945e-05; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 8.52945e-05; + } else { + sum += -8.52945e-05; + } + } + // tree 2013 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -9.32927e-05; + } else { + sum += 9.32927e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.32927e-05; + } else { + sum += 9.32927e-05; + } + } + // tree 2014 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.20105e-05; + } else { + sum += -9.20105e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.20105e-05; + } else { + sum += 9.20105e-05; + } + } + // tree 2015 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.01539e-05; + } else { + sum += -9.01539e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -9.01539e-05; + } else { + sum += 9.01539e-05; + } + } + // tree 2016 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 9.12718e-05; + } else { + sum += -9.12718e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.12718e-05; + } else { + sum += 9.12718e-05; + } + } + // tree 2017 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 7.85013e-05; + } else { + sum += -7.85013e-05; + } + } else { + if ( features[3] < 0.0644871 ) { + sum += -7.85013e-05; + } else { + sum += 7.85013e-05; + } + } + // tree 2018 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -9.24584e-05; + } else { + sum += 9.24584e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -9.24584e-05; + } else { + sum += 9.24584e-05; + } + } + // tree 2019 + if ( features[9] < 1.87281 ) { + if ( features[3] < 0.0322448 ) { + sum += 9.46904e-05; + } else { + sum += -9.46904e-05; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -9.46904e-05; + } else { + sum += 9.46904e-05; + } + } + // tree 2020 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.82812e-05; + } else { + sum += 8.82812e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.82812e-05; + } else { + sum += 8.82812e-05; + } + } + // tree 2021 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.93471e-05; + } else { + sum += -8.93471e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.93471e-05; + } else { + sum += 8.93471e-05; + } + } + // tree 2022 + if ( features[1] < 0.103667 ) { + if ( features[0] < 2.78895 ) { + sum += 8.02418e-05; + } else { + sum += -8.02418e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.02418e-05; + } else { + sum += -8.02418e-05; + } + } + // tree 2023 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 7.49199e-05; + } else { + sum += -7.49199e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 7.49199e-05; + } else { + sum += -7.49199e-05; + } + } + // tree 2024 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 9.14753e-05; + } else { + sum += -9.14753e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.14753e-05; + } else { + sum += 9.14753e-05; + } + } + // tree 2025 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.9532e-05; + } else { + sum += -8.9532e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.9532e-05; + } else { + sum += 8.9532e-05; + } + } + // tree 2026 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.9824e-05; + } else { + sum += -8.9824e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.9824e-05; + } else { + sum += 8.9824e-05; + } + } + // tree 2027 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.93432e-05; + } else { + sum += -8.93432e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.93432e-05; + } else { + sum += 8.93432e-05; + } + } + // tree 2028 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 8.48803e-05; + } else { + sum += -8.48803e-05; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 8.48803e-05; + } else { + sum += -8.48803e-05; + } + } + // tree 2029 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -9.76782e-05; + } else { + sum += 9.76782e-05; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 9.76782e-05; + } else { + sum += -9.76782e-05; + } + } + // tree 2030 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 9.01771e-05; + } else { + sum += -9.01771e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -9.01771e-05; + } else { + sum += 9.01771e-05; + } + } + // tree 2031 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000103112; + } else { + sum += 0.000103112; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000103112; + } else { + sum += 0.000103112; + } + } + // tree 2032 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -8.11048e-05; + } else { + sum += 8.11048e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.11048e-05; + } else { + sum += -8.11048e-05; + } + } + // tree 2033 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 7.89806e-05; + } else { + sum += -7.89806e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -7.89806e-05; + } else { + sum += 7.89806e-05; + } + } + // tree 2034 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 8.52487e-05; + } else { + sum += -8.52487e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -8.52487e-05; + } else { + sum += 8.52487e-05; + } + } + // tree 2035 + if ( features[1] < 0.103667 ) { + if ( features[6] < -2.5465 ) { + sum += 8.20366e-05; + } else { + sum += -8.20366e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.20366e-05; + } else { + sum += -8.20366e-05; + } + } + // tree 2036 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.81722e-05; + } else { + sum += 9.81722e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -9.81722e-05; + } else { + sum += 9.81722e-05; + } + } + // tree 2037 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.92003e-05; + } else { + sum += 6.92003e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 6.92003e-05; + } else { + sum += -6.92003e-05; + } + } + // tree 2038 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 7.56506e-05; + } else { + sum += -7.56506e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.56506e-05; + } else { + sum += 7.56506e-05; + } + } + // tree 2039 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.96951e-05; + } else { + sum += -8.96951e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.96951e-05; + } else { + sum += 8.96951e-05; + } + } + // tree 2040 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.16033e-05; + } else { + sum += 8.16033e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.16033e-05; + } else { + sum += -8.16033e-05; + } + } + // tree 2041 + if ( features[4] < -1.47024 ) { + if ( features[6] < -0.594739 ) { + sum += 6.98136e-05; + } else { + sum += -6.98136e-05; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -6.98136e-05; + } else { + sum += 6.98136e-05; + } + } + // tree 2042 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.95387e-05; + } else { + sum += -8.95387e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.95387e-05; + } else { + sum += 8.95387e-05; + } + } + // tree 2043 + if ( features[7] < 0.464495 ) { + if ( features[0] < 1.66342 ) { + sum += -7.81755e-05; + } else { + sum += 7.81755e-05; + } + } else { + if ( features[2] < 0.444747 ) { + sum += 7.81755e-05; + } else { + sum += -7.81755e-05; + } + } + // tree 2044 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 7.18725e-05; + } else { + sum += -7.18725e-05; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 7.18725e-05; + } else { + sum += -7.18725e-05; + } + } + // tree 2045 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -8.57506e-05; + } else { + sum += 8.57506e-05; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 8.57506e-05; + } else { + sum += -8.57506e-05; + } + } + // tree 2046 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -7.41946e-05; + } else { + sum += 7.41946e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.41946e-05; + } else { + sum += 7.41946e-05; + } + } + // tree 2047 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.99873e-05; + } else { + sum += -8.99873e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.99873e-05; + } else { + sum += 8.99873e-05; + } + } + // tree 2048 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.9506e-05; + } else { + sum += -8.9506e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.9506e-05; + } else { + sum += 8.9506e-05; + } + } + // tree 2049 + if ( features[7] < 0.390948 ) { + if ( features[9] < 2.12219 ) { + sum += 8.89858e-05; + } else { + sum += -8.89858e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -8.89858e-05; + } else { + sum += 8.89858e-05; + } + } + // tree 2050 + if ( features[12] < 4.57639 ) { + sum += 7.52563e-05; + } else { + if ( features[0] < 2.53058 ) { + sum += -7.52563e-05; + } else { + sum += 7.52563e-05; + } + } + // tree 2051 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.87549e-05; + } else { + sum += -8.87549e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -8.87549e-05; + } else { + sum += 8.87549e-05; + } + } + // tree 2052 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 7.5094e-05; + } else { + sum += -7.5094e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.5094e-05; + } else { + sum += 7.5094e-05; + } + } + // tree 2053 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 7.41109e-05; + } else { + sum += -7.41109e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 7.41109e-05; + } else { + sum += -7.41109e-05; + } + } + // tree 2054 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 7.87121e-05; + } else { + sum += -7.87121e-05; + } + } else { + if ( features[5] < 0.681654 ) { + sum += -7.87121e-05; + } else { + sum += 7.87121e-05; + } + } + // tree 2055 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.80722e-05; + } else { + sum += -8.80722e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.80722e-05; + } else { + sum += 8.80722e-05; + } + } + // tree 2056 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.46388e-05; + } else { + sum += 8.46388e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -8.46388e-05; + } else { + sum += 8.46388e-05; + } + } + // tree 2057 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.70278e-05; + } else { + sum += -8.70278e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -8.70278e-05; + } else { + sum += 8.70278e-05; + } + } + // tree 2058 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 7.758e-05; + } else { + sum += -7.758e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -7.758e-05; + } else { + sum += 7.758e-05; + } + } + // tree 2059 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.64698e-05; + } else { + sum += 8.64698e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.64698e-05; + } else { + sum += 8.64698e-05; + } + } + // tree 2060 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.76321e-05; + } else { + sum += -8.76321e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.76321e-05; + } else { + sum += 8.76321e-05; + } + } + // tree 2061 + if ( features[12] < 4.57639 ) { + sum += 7.44292e-05; + } else { + if ( features[11] < 1.012 ) { + sum += -7.44292e-05; + } else { + sum += 7.44292e-05; + } + } + // tree 2062 + if ( features[5] < 0.473096 ) { + sum += 6.52294e-05; + } else { + if ( features[2] < 0.632998 ) { + sum += 6.52294e-05; + } else { + sum += -6.52294e-05; + } + } + // tree 2063 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.89108e-05; + } else { + sum += -8.89108e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.89108e-05; + } else { + sum += 8.89108e-05; + } + } + // tree 2064 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 7.5152e-05; + } else { + sum += -7.5152e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.5152e-05; + } else { + sum += 7.5152e-05; + } + } + // tree 2065 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.73686e-05; + } else { + sum += -8.73686e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.73686e-05; + } else { + sum += 8.73686e-05; + } + } + // tree 2066 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -8.65033e-05; + } else { + sum += 8.65033e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.65033e-05; + } else { + sum += 8.65033e-05; + } + } + // tree 2067 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.81109e-05; + } else { + sum += -8.81109e-05; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 8.81109e-05; + } else { + sum += -8.81109e-05; + } + } + // tree 2068 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -0.000105056; + } else { + sum += 0.000105056; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000105056; + } else { + sum += -0.000105056; + } + } + // tree 2069 + if ( features[7] < 0.464495 ) { + sum += 7.98166e-05; + } else { + if ( features[9] < 2.64699 ) { + sum += -7.98166e-05; + } else { + sum += 7.98166e-05; + } + } + // tree 2070 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.80721e-05; + } else { + sum += -8.80721e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.80721e-05; + } else { + sum += 8.80721e-05; + } + } + // tree 2071 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.95866e-05; + } else { + sum += -7.95866e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -7.95866e-05; + } else { + sum += 7.95866e-05; + } + } + // tree 2072 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -6.86757e-05; + } else { + sum += 6.86757e-05; + } + } else { + if ( features[10] < -27.4241 ) { + sum += 6.86757e-05; + } else { + sum += -6.86757e-05; + } + } + // tree 2073 + if ( features[1] < 0.103667 ) { + if ( features[6] < -2.5465 ) { + sum += 8.12045e-05; + } else { + sum += -8.12045e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.12045e-05; + } else { + sum += -8.12045e-05; + } + } + // tree 2074 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.68077e-05; + } else { + sum += -8.68077e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.68077e-05; + } else { + sum += 8.68077e-05; + } + } + // tree 2075 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.61792e-05; + } else { + sum += 8.61792e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.61792e-05; + } else { + sum += 8.61792e-05; + } + } + // tree 2076 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 7.4183e-05; + } else { + sum += -7.4183e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.4183e-05; + } else { + sum += 7.4183e-05; + } + } + // tree 2077 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.08179e-05; + } else { + sum += 8.08179e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.08179e-05; + } else { + sum += -8.08179e-05; + } + } + // tree 2078 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -7.65484e-05; + } else { + sum += 7.65484e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -7.65484e-05; + } else { + sum += 7.65484e-05; + } + } + // tree 2079 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 8.9865e-05; + } else { + sum += -8.9865e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -8.9865e-05; + } else { + sum += 8.9865e-05; + } + } + // tree 2080 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.15685e-05; + } else { + sum += -8.15685e-05; + } + } else { + if ( features[12] < 4.9021 ) { + sum += -8.15685e-05; + } else { + sum += 8.15685e-05; + } + } + // tree 2081 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000101898; + } else { + sum += 0.000101898; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000101898; + } else { + sum += 0.000101898; + } + } + // tree 2082 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000117652; + } else { + sum += -0.000117652; + } + } else { + if ( features[7] < 0.390948 ) { + sum += -0.000117652; + } else { + sum += 0.000117652; + } + } + // tree 2083 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 8.4008e-05; + } else { + sum += -8.4008e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -8.4008e-05; + } else { + sum += 8.4008e-05; + } + } + // tree 2084 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.70614e-05; + } else { + sum += -8.70614e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.70614e-05; + } else { + sum += 8.70614e-05; + } + } + // tree 2085 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -8.04031e-05; + } else { + sum += 8.04031e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.04031e-05; + } else { + sum += -8.04031e-05; + } + } + // tree 2086 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.77645e-05; + } else { + sum += -8.77645e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.77645e-05; + } else { + sum += 8.77645e-05; + } + } + // tree 2087 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 8.49569e-05; + } else { + sum += -8.49569e-05; + } + } else { + if ( features[1] < -0.75808 ) { + sum += -8.49569e-05; + } else { + sum += 8.49569e-05; + } + } + // tree 2088 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.6746e-05; + } else { + sum += -8.6746e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.6746e-05; + } else { + sum += 8.6746e-05; + } + } + // tree 2089 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 9.2491e-05; + } else { + sum += -9.2491e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.2491e-05; + } else { + sum += -9.2491e-05; + } + } + // tree 2090 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -7.61877e-05; + } else { + sum += 7.61877e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -7.61877e-05; + } else { + sum += 7.61877e-05; + } + } + // tree 2091 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -7.91877e-05; + } else { + sum += 7.91877e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 7.91877e-05; + } else { + sum += -7.91877e-05; + } + } + // tree 2092 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 7.41354e-05; + } else { + sum += -7.41354e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.41354e-05; + } else { + sum += 7.41354e-05; + } + } + // tree 2093 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.84293e-05; + } else { + sum += -6.84293e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 6.84293e-05; + } else { + sum += -6.84293e-05; + } + } + // tree 2094 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000108286; + } else { + sum += -0.000108286; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000108286; + } else { + sum += -0.000108286; + } + } + // tree 2095 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.02638e-05; + } else { + sum += -8.02638e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 8.02638e-05; + } else { + sum += -8.02638e-05; + } + } + // tree 2096 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000101022; + } else { + sum += -0.000101022; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000101022; + } else { + sum += 0.000101022; + } + } + // tree 2097 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000107616; + } else { + sum += -0.000107616; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000107616; + } else { + sum += -0.000107616; + } + } + // tree 2098 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 8.59555e-05; + } else { + sum += -8.59555e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -8.59555e-05; + } else { + sum += 8.59555e-05; + } + } + // tree 2099 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.5596e-05; + } else { + sum += 8.5596e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.5596e-05; + } else { + sum += 8.5596e-05; + } + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2100-2399.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2100-2399.cpp new file mode 100644 index 0000000000000000000000000000000000000000..05e2e51b17e36269bced273d9cb271bf45918146 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2100-2399.cpp @@ -0,0 +1,4102 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_7( const std::vector<double>& features ) const { + double sum = 0; + + // tree 2100 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -7.1833e-05; + } else { + sum += 7.1833e-05; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 7.1833e-05; + } else { + sum += -7.1833e-05; + } + } + // tree 2101 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.72226e-05; + } else { + sum += -8.72226e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.72226e-05; + } else { + sum += 8.72226e-05; + } + } + // tree 2102 + if ( features[12] < 4.57639 ) { + sum += 7.39336e-05; + } else { + if ( features[5] < 0.731889 ) { + sum += -7.39336e-05; + } else { + sum += 7.39336e-05; + } + } + // tree 2103 + if ( features[7] < 0.464495 ) { + if ( features[0] < 1.66342 ) { + sum += -8.55417e-05; + } else { + sum += 8.55417e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.55417e-05; + } else { + sum += -8.55417e-05; + } + } + // tree 2104 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.32617e-05; + } else { + sum += -8.32617e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -8.32617e-05; + } else { + sum += 8.32617e-05; + } + } + // tree 2105 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.63565e-05; + } else { + sum += -8.63565e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.63565e-05; + } else { + sum += 8.63565e-05; + } + } + // tree 2106 + sum += 3.68898e-05; + // tree 2107 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.99091e-05; + } else { + sum += -9.99091e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -9.99091e-05; + } else { + sum += 9.99091e-05; + } + } + // tree 2108 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.46267e-05; + } else { + sum += -8.46267e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -8.46267e-05; + } else { + sum += 8.46267e-05; + } + } + // tree 2109 + if ( features[7] < 0.464495 ) { + sum += 8.10186e-05; + } else { + if ( features[12] < 3.85898 ) { + sum += 8.10186e-05; + } else { + sum += -8.10186e-05; + } + } + // tree 2110 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.67919e-05; + } else { + sum += -8.67919e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.67919e-05; + } else { + sum += 8.67919e-05; + } + } + // tree 2111 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.77604 ) { + sum += 7.3432e-05; + } else { + sum += -7.3432e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 7.3432e-05; + } else { + sum += -7.3432e-05; + } + } + // tree 2112 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.76272e-05; + } else { + sum += -9.76272e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 9.76272e-05; + } else { + sum += -9.76272e-05; + } + } + // tree 2113 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 7.95167e-05; + } else { + sum += -7.95167e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 7.95167e-05; + } else { + sum += -7.95167e-05; + } + } + // tree 2114 + if ( features[3] < 0.0967294 ) { + if ( features[4] < -1.2963 ) { + sum += 6.78274e-05; + } else { + sum += -6.78274e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 6.78274e-05; + } else { + sum += -6.78274e-05; + } + } + // tree 2115 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.55416e-05; + } else { + sum += -8.55416e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.55416e-05; + } else { + sum += 8.55416e-05; + } + } + // tree 2116 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.60386e-05; + } else { + sum += 8.60386e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.60386e-05; + } else { + sum += 8.60386e-05; + } + } + // tree 2117 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.63522e-05; + } else { + sum += -8.63522e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.63522e-05; + } else { + sum += 8.63522e-05; + } + } + // tree 2118 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.47784e-05; + } else { + sum += 8.47784e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.47784e-05; + } else { + sum += 8.47784e-05; + } + } + // tree 2119 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.19867e-05; + } else { + sum += 9.19867e-05; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -9.19867e-05; + } else { + sum += 9.19867e-05; + } + } + // tree 2120 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 8.14026e-05; + } else { + sum += -8.14026e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.14026e-05; + } else { + sum += 8.14026e-05; + } + } + // tree 2121 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.57289e-05; + } else { + sum += -8.57289e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.57289e-05; + } else { + sum += 8.57289e-05; + } + } + // tree 2122 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.41243e-05; + } else { + sum += -8.41243e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -8.41243e-05; + } else { + sum += 8.41243e-05; + } + } + // tree 2123 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -0.000102614; + } else { + sum += 0.000102614; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000102614; + } else { + sum += -0.000102614; + } + } + // tree 2124 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -7.22335e-05; + } else { + sum += 7.22335e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -7.22335e-05; + } else { + sum += 7.22335e-05; + } + } + // tree 2125 + if ( features[1] < 0.103667 ) { + if ( features[6] < -2.5465 ) { + sum += 7.94623e-05; + } else { + sum += -7.94623e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 7.94623e-05; + } else { + sum += -7.94623e-05; + } + } + // tree 2126 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 7.168e-05; + } else { + sum += -7.168e-05; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 7.168e-05; + } else { + sum += -7.168e-05; + } + } + // tree 2127 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 8.72722e-05; + } else { + sum += -8.72722e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -8.72722e-05; + } else { + sum += 8.72722e-05; + } + } + // tree 2128 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 8.03302e-05; + } else { + sum += -8.03302e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.03302e-05; + } else { + sum += 8.03302e-05; + } + } + // tree 2129 + if ( features[7] < 0.390948 ) { + if ( features[9] < 2.12219 ) { + sum += 8.49664e-05; + } else { + sum += -8.49664e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.49664e-05; + } else { + sum += -8.49664e-05; + } + } + // tree 2130 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.40178e-05; + } else { + sum += -8.40178e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -8.40178e-05; + } else { + sum += 8.40178e-05; + } + } + // tree 2131 + if ( features[1] < 0.103667 ) { + if ( features[6] < -2.5465 ) { + sum += 7.93355e-05; + } else { + sum += -7.93355e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 7.93355e-05; + } else { + sum += -7.93355e-05; + } + } + // tree 2132 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.532e-05; + } else { + sum += -8.532e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.532e-05; + } else { + sum += 8.532e-05; + } + } + // tree 2133 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.48714e-05; + } else { + sum += 8.48714e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.48714e-05; + } else { + sum += 8.48714e-05; + } + } + // tree 2134 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 9.12848e-05; + } else { + sum += -9.12848e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.12848e-05; + } else { + sum += -9.12848e-05; + } + } + // tree 2135 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.91071e-05; + } else { + sum += -8.91071e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -8.91071e-05; + } else { + sum += 8.91071e-05; + } + } + // tree 2136 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 6.75417e-05; + } else { + sum += -6.75417e-05; + } + } else { + if ( features[10] < -27.4241 ) { + sum += 6.75417e-05; + } else { + sum += -6.75417e-05; + } + } + // tree 2137 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.35605e-05; + } else { + sum += -8.35605e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -8.35605e-05; + } else { + sum += 8.35605e-05; + } + } + // tree 2138 + if ( features[11] < 1.84612 ) { + if ( features[7] < 0.979305 ) { + sum += 6.9837e-05; + } else { + sum += -6.9837e-05; + } + } else { + sum += -6.9837e-05; + } + // tree 2139 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.000103231; + } else { + sum += -0.000103231; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000103231; + } else { + sum += 0.000103231; + } + } + // tree 2140 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.65775e-05; + } else { + sum += -9.65775e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 9.65775e-05; + } else { + sum += -9.65775e-05; + } + } + // tree 2141 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.55603e-05; + } else { + sum += -8.55603e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.55603e-05; + } else { + sum += 8.55603e-05; + } + } + // tree 2142 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.90863e-05; + } else { + sum += -7.90863e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.90863e-05; + } else { + sum += 7.90863e-05; + } + } + // tree 2143 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -7.22394e-05; + } else { + sum += 7.22394e-05; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -7.22394e-05; + } else { + sum += 7.22394e-05; + } + } + // tree 2144 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -6.91315e-05; + } else { + sum += 6.91315e-05; + } + } else { + if ( features[12] < 4.56635 ) { + sum += -6.91315e-05; + } else { + sum += 6.91315e-05; + } + } + // tree 2145 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.38413e-05; + } else { + sum += 8.38413e-05; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 8.38413e-05; + } else { + sum += -8.38413e-05; + } + } + // tree 2146 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.69178e-05; + } else { + sum += -8.69178e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.69178e-05; + } else { + sum += 8.69178e-05; + } + } + // tree 2147 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -8.96268e-05; + } else { + sum += 8.96268e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -8.96268e-05; + } else { + sum += 8.96268e-05; + } + } + // tree 2148 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.93157e-05; + } else { + sum += -7.93157e-05; + } + } else { + if ( features[3] < 0.0644871 ) { + sum += -7.93157e-05; + } else { + sum += 7.93157e-05; + } + } + // tree 2149 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.53972e-05; + } else { + sum += -8.53972e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.53972e-05; + } else { + sum += 8.53972e-05; + } + } + // tree 2150 + if ( features[7] < 0.390948 ) { + if ( features[6] < -1.38158 ) { + sum += -8.86805e-05; + } else { + sum += 8.86805e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 8.86805e-05; + } else { + sum += -8.86805e-05; + } + } + // tree 2151 + if ( features[2] < 0.821394 ) { + if ( features[8] < 2.24069 ) { + sum += -8.15956e-05; + } else { + sum += 8.15956e-05; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 8.15956e-05; + } else { + sum += -8.15956e-05; + } + } + // tree 2152 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 7.37942e-05; + } else { + sum += -7.37942e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.37942e-05; + } else { + sum += 7.37942e-05; + } + } + // tree 2153 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.51393e-05; + } else { + sum += 8.51393e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.51393e-05; + } else { + sum += 8.51393e-05; + } + } + // tree 2154 + if ( features[7] < 0.390948 ) { + if ( features[9] < 2.12219 ) { + sum += 8.59853e-05; + } else { + sum += -8.59853e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -8.59853e-05; + } else { + sum += 8.59853e-05; + } + } + // tree 2155 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.69402e-05; + } else { + sum += 9.69402e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.69402e-05; + } else { + sum += -9.69402e-05; + } + } + // tree 2156 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 8.06814e-05; + } else { + sum += -8.06814e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.06814e-05; + } else { + sum += 8.06814e-05; + } + } + // tree 2157 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.4399e-05; + } else { + sum += -8.4399e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.4399e-05; + } else { + sum += 8.4399e-05; + } + } + // tree 2158 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -7.86596e-05; + } else { + sum += 7.86596e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 7.86596e-05; + } else { + sum += -7.86596e-05; + } + } + // tree 2159 + if ( features[8] < 2.24069 ) { + if ( features[2] < 0.0680814 ) { + sum += -8.86723e-05; + } else { + sum += 8.86723e-05; + } + } else { + if ( features[2] < 0.671819 ) { + sum += 8.86723e-05; + } else { + sum += -8.86723e-05; + } + } + // tree 2160 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 8.00991e-05; + } else { + sum += -8.00991e-05; + } + } else { + if ( features[7] < 0.825673 ) { + sum += 8.00991e-05; + } else { + sum += -8.00991e-05; + } + } + // tree 2161 + if ( features[7] < 0.464495 ) { + if ( features[4] < -0.600526 ) { + sum += 7.39945e-05; + } else { + sum += -7.39945e-05; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -7.39945e-05; + } else { + sum += 7.39945e-05; + } + } + // tree 2162 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -8.10266e-05; + } else { + sum += 8.10266e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -8.10266e-05; + } else { + sum += 8.10266e-05; + } + } + // tree 2163 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000116483; + } else { + sum += -0.000116483; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000116483; + } else { + sum += 0.000116483; + } + } + // tree 2164 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 6.52225e-05; + } else { + sum += -6.52225e-05; + } + } else { + sum += 6.52225e-05; + } + // tree 2165 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.66462e-05; + } else { + sum += 9.66462e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.66462e-05; + } else { + sum += -9.66462e-05; + } + } + // tree 2166 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.7304e-05; + } else { + sum += -9.7304e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -9.7304e-05; + } else { + sum += 9.7304e-05; + } + } + // tree 2167 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.41694e-05; + } else { + sum += 8.41694e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.41694e-05; + } else { + sum += 8.41694e-05; + } + } + // tree 2168 + sum += 3.56139e-05; + // tree 2169 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.49795e-05; + } else { + sum += -8.49795e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.49795e-05; + } else { + sum += 8.49795e-05; + } + } + // tree 2170 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.41177e-05; + } else { + sum += -6.41177e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 6.41177e-05; + } else { + sum += -6.41177e-05; + } + } + // tree 2171 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.74919e-05; + } else { + sum += 8.74919e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.74919e-05; + } else { + sum += -8.74919e-05; + } + } + // tree 2172 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -0.000101251; + } else { + sum += 0.000101251; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000101251; + } else { + sum += -0.000101251; + } + } + // tree 2173 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.99203e-05; + } else { + sum += -8.99203e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.99203e-05; + } else { + sum += -8.99203e-05; + } + } + // tree 2174 + if ( features[8] < 2.24069 ) { + if ( features[2] < 0.0680814 ) { + sum += -8.97658e-05; + } else { + sum += 8.97658e-05; + } + } else { + if ( features[4] < -0.948464 ) { + sum += 8.97658e-05; + } else { + sum += -8.97658e-05; + } + } + // tree 2175 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.47557e-05; + } else { + sum += -6.47557e-05; + } + } else { + if ( features[0] < 2.88598 ) { + sum += 6.47557e-05; + } else { + sum += -6.47557e-05; + } + } + // tree 2176 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.44089e-05; + } else { + sum += -6.44089e-05; + } + } else { + if ( features[0] < 2.88598 ) { + sum += 6.44089e-05; + } else { + sum += -6.44089e-05; + } + } + // tree 2177 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.79297e-05; + } else { + sum += -7.79297e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.79297e-05; + } else { + sum += 7.79297e-05; + } + } + // tree 2178 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.27333e-05; + } else { + sum += -7.27333e-05; + } + } else { + sum += 7.27333e-05; + } + // tree 2179 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.71471e-05; + } else { + sum += 8.71471e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.71471e-05; + } else { + sum += -8.71471e-05; + } + } + // tree 2180 + if ( features[7] < 0.464495 ) { + if ( features[3] < 0.0483549 ) { + sum += 8.56786e-05; + } else { + sum += -8.56786e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.56786e-05; + } else { + sum += -8.56786e-05; + } + } + // tree 2181 + if ( features[9] < 1.87281 ) { + if ( features[3] < 0.0322448 ) { + sum += 9.14464e-05; + } else { + sum += -9.14464e-05; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -9.14464e-05; + } else { + sum += 9.14464e-05; + } + } + // tree 2182 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.36697e-05; + } else { + sum += 8.36697e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.36697e-05; + } else { + sum += 8.36697e-05; + } + } + // tree 2183 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 8.23956e-05; + } else { + sum += -8.23956e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -8.23956e-05; + } else { + sum += 8.23956e-05; + } + } + // tree 2184 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.7995e-05; + } else { + sum += -7.7995e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 7.7995e-05; + } else { + sum += -7.7995e-05; + } + } + // tree 2185 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 7.77148e-05; + } else { + sum += -7.77148e-05; + } + } else { + if ( features[6] < -0.231447 ) { + sum += 7.77148e-05; + } else { + sum += -7.77148e-05; + } + } + // tree 2186 + if ( features[7] < 0.464495 ) { + if ( features[3] < 0.0483549 ) { + sum += 7.4166e-05; + } else { + sum += -7.4166e-05; + } + } else { + if ( features[0] < 2.81307 ) { + sum += 7.4166e-05; + } else { + sum += -7.4166e-05; + } + } + // tree 2187 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 9.26123e-05; + } else { + sum += -9.26123e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 9.26123e-05; + } else { + sum += -9.26123e-05; + } + } + // tree 2188 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.45697e-05; + } else { + sum += -8.45697e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.45697e-05; + } else { + sum += 8.45697e-05; + } + } + // tree 2189 + if ( features[9] < 1.87281 ) { + if ( features[3] < 0.0322448 ) { + sum += 9.06217e-05; + } else { + sum += -9.06217e-05; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -9.06217e-05; + } else { + sum += 9.06217e-05; + } + } + // tree 2190 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 7.83272e-05; + } else { + sum += -7.83272e-05; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -7.83272e-05; + } else { + sum += 7.83272e-05; + } + } + // tree 2191 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 7.90529e-05; + } else { + sum += -7.90529e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.90529e-05; + } else { + sum += 7.90529e-05; + } + } + // tree 2192 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -7.74838e-05; + } else { + sum += 7.74838e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.74838e-05; + } else { + sum += 7.74838e-05; + } + } + // tree 2193 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -0.000100141; + } else { + sum += 0.000100141; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000100141; + } else { + sum += -0.000100141; + } + } + // tree 2194 + if ( features[0] < 1.68308 ) { + if ( features[3] < 0.0161829 ) { + sum += 7.35939e-05; + } else { + sum += -7.35939e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.35939e-05; + } else { + sum += 7.35939e-05; + } + } + // tree 2195 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -8.68042e-05; + } else { + sum += 8.68042e-05; + } + } else { + if ( features[12] < 4.81552 ) { + sum += -8.68042e-05; + } else { + sum += 8.68042e-05; + } + } + // tree 2196 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.21747e-05; + } else { + sum += -8.21747e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -8.21747e-05; + } else { + sum += 8.21747e-05; + } + } + // tree 2197 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 7.26658e-05; + } else { + sum += -7.26658e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.26658e-05; + } else { + sum += 7.26658e-05; + } + } + // tree 2198 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000105002; + } else { + sum += -0.000105002; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000105002; + } else { + sum += -0.000105002; + } + } + // tree 2199 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.47296e-05; + } else { + sum += 8.47296e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.47296e-05; + } else { + sum += 8.47296e-05; + } + } + // tree 2200 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.73851e-05; + } else { + sum += 8.73851e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.73851e-05; + } else { + sum += -8.73851e-05; + } + } + // tree 2201 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.390948 ) { + sum += -8.20271e-05; + } else { + sum += 8.20271e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.20271e-05; + } else { + sum += 8.20271e-05; + } + } + // tree 2202 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.32299e-05; + } else { + sum += -7.32299e-05; + } + } else { + sum += 7.32299e-05; + } + // tree 2203 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 8.20394e-05; + } else { + sum += -8.20394e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -8.20394e-05; + } else { + sum += 8.20394e-05; + } + } + // tree 2204 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.02767e-05; + } else { + sum += -9.02767e-05; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -9.02767e-05; + } else { + sum += 9.02767e-05; + } + } + // tree 2205 + if ( features[8] < 2.24069 ) { + if ( features[2] < 0.0680814 ) { + sum += -9.14061e-05; + } else { + sum += 9.14061e-05; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -9.14061e-05; + } else { + sum += 9.14061e-05; + } + } + // tree 2206 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.25314e-05; + } else { + sum += -8.25314e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -8.25314e-05; + } else { + sum += 8.25314e-05; + } + } + // tree 2207 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 8.55504e-05; + } else { + sum += -8.55504e-05; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -8.55504e-05; + } else { + sum += 8.55504e-05; + } + } + // tree 2208 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.31738e-05; + } else { + sum += -8.31738e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -8.31738e-05; + } else { + sum += 8.31738e-05; + } + } + // tree 2209 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.39002e-05; + } else { + sum += 9.39002e-05; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -9.39002e-05; + } else { + sum += 9.39002e-05; + } + } + // tree 2210 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.19945e-05; + } else { + sum += -8.19945e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -8.19945e-05; + } else { + sum += 8.19945e-05; + } + } + // tree 2211 + if ( features[2] < 0.821394 ) { + if ( features[11] < 1.84612 ) { + sum += 9.03427e-05; + } else { + sum += -9.03427e-05; + } + } else { + if ( features[5] < 0.771044 ) { + sum += 9.03427e-05; + } else { + sum += -9.03427e-05; + } + } + // tree 2212 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.34253e-05; + } else { + sum += -7.34253e-05; + } + } else { + sum += 7.34253e-05; + } + // tree 2213 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.63883e-05; + } else { + sum += 8.63883e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.63883e-05; + } else { + sum += -8.63883e-05; + } + } + // tree 2214 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.27753e-05; + } else { + sum += 8.27753e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.27753e-05; + } else { + sum += 8.27753e-05; + } + } + // tree 2215 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 8.34807e-05; + } else { + sum += -8.34807e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.34807e-05; + } else { + sum += -8.34807e-05; + } + } + // tree 2216 + if ( features[12] < 4.57639 ) { + sum += 7.10865e-05; + } else { + if ( features[0] < 2.53058 ) { + sum += -7.10865e-05; + } else { + sum += 7.10865e-05; + } + } + // tree 2217 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.20312e-05; + } else { + sum += 8.20312e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.20312e-05; + } else { + sum += 8.20312e-05; + } + } + // tree 2218 + if ( features[11] < 1.84612 ) { + if ( features[6] < -1.05893 ) { + sum += 5.32158e-05; + } else { + sum += -5.32158e-05; + } + } else { + sum += -5.32158e-05; + } + // tree 2219 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 8.22794e-05; + } else { + sum += -8.22794e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.22794e-05; + } else { + sum += 8.22794e-05; + } + } + // tree 2220 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 7.03486e-05; + } else { + sum += -7.03486e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -7.03486e-05; + } else { + sum += 7.03486e-05; + } + } + // tree 2221 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.438e-05; + } else { + sum += -8.438e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.438e-05; + } else { + sum += 8.438e-05; + } + } + // tree 2222 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.71908e-05; + } else { + sum += -8.71908e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.71908e-05; + } else { + sum += -8.71908e-05; + } + } + // tree 2223 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.67267e-05; + } else { + sum += -8.67267e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.67267e-05; + } else { + sum += -8.67267e-05; + } + } + // tree 2224 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.25176e-05; + } else { + sum += -8.25176e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -8.25176e-05; + } else { + sum += 8.25176e-05; + } + } + // tree 2225 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.04734e-05; + } else { + sum += 8.04734e-05; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 8.04734e-05; + } else { + sum += -8.04734e-05; + } + } + // tree 2226 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.33386e-05; + } else { + sum += 9.33386e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -9.33386e-05; + } else { + sum += 9.33386e-05; + } + } + // tree 2227 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.49024e-05; + } else { + sum += -7.49024e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 7.49024e-05; + } else { + sum += -7.49024e-05; + } + } + // tree 2228 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.87134e-05; + } else { + sum += 9.87134e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.87134e-05; + } else { + sum += -9.87134e-05; + } + } + // tree 2229 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.27735e-05; + } else { + sum += 8.27735e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.27735e-05; + } else { + sum += 8.27735e-05; + } + } + // tree 2230 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.20117e-05; + } else { + sum += -7.20117e-05; + } + } else { + sum += 7.20117e-05; + } + // tree 2231 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.29124e-05; + } else { + sum += 9.29124e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -9.29124e-05; + } else { + sum += 9.29124e-05; + } + } + // tree 2232 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.22897e-05; + } else { + sum += -8.22897e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.22897e-05; + } else { + sum += 8.22897e-05; + } + } + // tree 2233 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -7.63197e-05; + } else { + sum += 7.63197e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 7.63197e-05; + } else { + sum += -7.63197e-05; + } + } + // tree 2234 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 7.08541e-05; + } else { + sum += -7.08541e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -7.08541e-05; + } else { + sum += 7.08541e-05; + } + } + // tree 2235 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -7.47935e-05; + } else { + sum += 7.47935e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -7.47935e-05; + } else { + sum += 7.47935e-05; + } + } + // tree 2236 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.79624e-05; + } else { + sum += -8.79624e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.79624e-05; + } else { + sum += -8.79624e-05; + } + } + // tree 2237 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 7.51381e-05; + } else { + sum += -7.51381e-05; + } + } else { + if ( features[5] < 1.09634 ) { + sum += 7.51381e-05; + } else { + sum += -7.51381e-05; + } + } + // tree 2238 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.47513e-05; + } else { + sum += -8.47513e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.47513e-05; + } else { + sum += -8.47513e-05; + } + } + // tree 2239 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.17019e-05; + } else { + sum += -8.17019e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -8.17019e-05; + } else { + sum += 8.17019e-05; + } + } + // tree 2240 + if ( features[7] < 0.464495 ) { + if ( features[3] < 0.0483549 ) { + sum += 8.02088e-05; + } else { + sum += -8.02088e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.02088e-05; + } else { + sum += 8.02088e-05; + } + } + // tree 2241 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 8.58775e-05; + } else { + sum += -8.58775e-05; + } + } else { + if ( features[5] < 1.09634 ) { + sum += 8.58775e-05; + } else { + sum += -8.58775e-05; + } + } + // tree 2242 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.39401e-05; + } else { + sum += 9.39401e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.39401e-05; + } else { + sum += -9.39401e-05; + } + } + // tree 2243 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.24784e-05; + } else { + sum += -7.24784e-05; + } + } else { + sum += 7.24784e-05; + } + // tree 2244 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.55777e-05; + } else { + sum += -7.55777e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 7.55777e-05; + } else { + sum += -7.55777e-05; + } + } + // tree 2245 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.69845e-05; + } else { + sum += 7.69845e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 7.69845e-05; + } else { + sum += -7.69845e-05; + } + } + // tree 2246 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -7.54132e-05; + } else { + sum += 7.54132e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.54132e-05; + } else { + sum += 7.54132e-05; + } + } + // tree 2247 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.51175e-05; + } else { + sum += -8.51175e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.51175e-05; + } else { + sum += -8.51175e-05; + } + } + // tree 2248 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.25205e-05; + } else { + sum += 7.25205e-05; + } + } else { + sum += 7.25205e-05; + } + // tree 2249 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.02047e-05; + } else { + sum += 8.02047e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -8.02047e-05; + } else { + sum += 8.02047e-05; + } + } + // tree 2250 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 7.20697e-05; + } else { + sum += -7.20697e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 7.20697e-05; + } else { + sum += -7.20697e-05; + } + } + // tree 2251 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 6.98458e-05; + } else { + sum += -6.98458e-05; + } + } else { + sum += 6.98458e-05; + } + // tree 2252 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 7.14577e-05; + } else { + sum += -7.14577e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.14577e-05; + } else { + sum += 7.14577e-05; + } + } + // tree 2253 + if ( features[7] < 0.464495 ) { + sum += 7.51181e-05; + } else { + if ( features[9] < 2.64699 ) { + sum += -7.51181e-05; + } else { + sum += 7.51181e-05; + } + } + // tree 2254 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.23402e-05; + } else { + sum += -8.23402e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.23402e-05; + } else { + sum += 8.23402e-05; + } + } + // tree 2255 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.11469e-05; + } else { + sum += 8.11469e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -8.11469e-05; + } else { + sum += 8.11469e-05; + } + } + // tree 2256 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.15138e-05; + } else { + sum += -8.15138e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -8.15138e-05; + } else { + sum += 8.15138e-05; + } + } + // tree 2257 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.38625e-05; + } else { + sum += -8.38625e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.38625e-05; + } else { + sum += 8.38625e-05; + } + } + // tree 2258 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.20179e-05; + } else { + sum += -8.20179e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.20179e-05; + } else { + sum += 8.20179e-05; + } + } + // tree 2259 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.15052e-05; + } else { + sum += 8.15052e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.15052e-05; + } else { + sum += 8.15052e-05; + } + } + // tree 2260 + if ( features[6] < -0.231447 ) { + if ( features[5] < 0.48452 ) { + sum += 6.62364e-05; + } else { + sum += -6.62364e-05; + } + } else { + if ( features[9] < 1.99097 ) { + sum += 6.62364e-05; + } else { + sum += -6.62364e-05; + } + } + // tree 2261 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 8.27582e-05; + } else { + sum += -8.27582e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.27582e-05; + } else { + sum += -8.27582e-05; + } + } + // tree 2262 + if ( features[1] < 0.205661 ) { + if ( features[10] < -27.4195 ) { + sum += 7.79784e-05; + } else { + sum += -7.79784e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.79784e-05; + } else { + sum += 7.79784e-05; + } + } + // tree 2263 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 8.24801e-05; + } else { + sum += -8.24801e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.24801e-05; + } else { + sum += -8.24801e-05; + } + } + // tree 2264 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.86046e-05; + } else { + sum += -7.86046e-05; + } + } else { + if ( features[12] < 4.9021 ) { + sum += -7.86046e-05; + } else { + sum += 7.86046e-05; + } + } + // tree 2265 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 8.40256e-05; + } else { + sum += -8.40256e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.40256e-05; + } else { + sum += -8.40256e-05; + } + } + // tree 2266 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000109327; + } else { + sum += -0.000109327; + } + } else { + if ( features[7] < 0.390948 ) { + sum += -0.000109327; + } else { + sum += 0.000109327; + } + } + // tree 2267 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.78258e-05; + } else { + sum += 9.78258e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.78258e-05; + } else { + sum += -9.78258e-05; + } + } + // tree 2268 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.59657e-05; + } else { + sum += -7.59657e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 7.59657e-05; + } else { + sum += -7.59657e-05; + } + } + // tree 2269 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.54517e-05; + } else { + sum += -8.54517e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -8.54517e-05; + } else { + sum += 8.54517e-05; + } + } + // tree 2270 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000103385; + } else { + sum += -0.000103385; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000103385; + } else { + sum += -0.000103385; + } + } + // tree 2271 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.47804e-05; + } else { + sum += 8.47804e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.47804e-05; + } else { + sum += -8.47804e-05; + } + } + // tree 2272 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.04039e-05; + } else { + sum += -8.04039e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -8.04039e-05; + } else { + sum += 8.04039e-05; + } + } + // tree 2273 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.23367e-05; + } else { + sum += 8.23367e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.23367e-05; + } else { + sum += 8.23367e-05; + } + } + // tree 2274 + if ( features[7] < 0.390948 ) { + if ( features[9] < 2.12219 ) { + sum += 8.24498e-05; + } else { + sum += -8.24498e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -8.24498e-05; + } else { + sum += 8.24498e-05; + } + } + // tree 2275 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.390948 ) { + sum += -8.2647e-05; + } else { + sum += 8.2647e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.2647e-05; + } else { + sum += -8.2647e-05; + } + } + // tree 2276 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.34125e-05; + } else { + sum += 9.34125e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -9.34125e-05; + } else { + sum += 9.34125e-05; + } + } + // tree 2277 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 7.54561e-05; + } else { + sum += -7.54561e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 7.54561e-05; + } else { + sum += -7.54561e-05; + } + } + // tree 2278 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -7.08414e-05; + } else { + sum += 7.08414e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.08414e-05; + } else { + sum += 7.08414e-05; + } + } + // tree 2279 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.16108e-05; + } else { + sum += 8.16108e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.16108e-05; + } else { + sum += 8.16108e-05; + } + } + // tree 2280 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 8.02841e-05; + } else { + sum += -8.02841e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.02841e-05; + } else { + sum += 8.02841e-05; + } + } + // tree 2281 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.10334e-05; + } else { + sum += 9.10334e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -9.10334e-05; + } else { + sum += 9.10334e-05; + } + } + // tree 2282 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.41427e-05; + } else { + sum += -8.41427e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.41427e-05; + } else { + sum += -8.41427e-05; + } + } + // tree 2283 + if ( features[7] < 0.464495 ) { + if ( features[0] < 1.66342 ) { + sum += -7.66596e-05; + } else { + sum += 7.66596e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -7.66596e-05; + } else { + sum += 7.66596e-05; + } + } + // tree 2284 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.31261e-05; + } else { + sum += -8.31261e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.31261e-05; + } else { + sum += 8.31261e-05; + } + } + // tree 2285 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.39358e-05; + } else { + sum += -8.39358e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.39358e-05; + } else { + sum += 8.39358e-05; + } + } + // tree 2286 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.41349e-05; + } else { + sum += 8.41349e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.41349e-05; + } else { + sum += -8.41349e-05; + } + } + // tree 2287 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -8.08331e-05; + } else { + sum += 8.08331e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -8.08331e-05; + } else { + sum += 8.08331e-05; + } + } + // tree 2288 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.99716e-05; + } else { + sum += 7.99716e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.99716e-05; + } else { + sum += 7.99716e-05; + } + } + // tree 2289 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.41557e-05; + } else { + sum += 9.41557e-05; + } + } else { + if ( features[9] < 2.64699 ) { + sum += -9.41557e-05; + } else { + sum += 9.41557e-05; + } + } + // tree 2290 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.05758e-05; + } else { + sum += -8.05758e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -8.05758e-05; + } else { + sum += 8.05758e-05; + } + } + // tree 2291 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.18571e-05; + } else { + sum += 8.18571e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.18571e-05; + } else { + sum += 8.18571e-05; + } + } + // tree 2292 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.12133e-05; + } else { + sum += -7.12133e-05; + } + } else { + sum += 7.12133e-05; + } + // tree 2293 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.23277e-05; + } else { + sum += 9.23277e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -9.23277e-05; + } else { + sum += 9.23277e-05; + } + } + // tree 2294 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.2582e-05; + } else { + sum += 8.2582e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.2582e-05; + } else { + sum += 8.2582e-05; + } + } + // tree 2295 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.36375e-05; + } else { + sum += -8.36375e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.36375e-05; + } else { + sum += -8.36375e-05; + } + } + // tree 2296 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.23985e-05; + } else { + sum += -8.23985e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.23985e-05; + } else { + sum += 8.23985e-05; + } + } + // tree 2297 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.51766e-05; + } else { + sum += 9.51766e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.51766e-05; + } else { + sum += -9.51766e-05; + } + } + // tree 2298 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 9.18633e-05; + } else { + sum += -9.18633e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.18633e-05; + } else { + sum += -9.18633e-05; + } + } + // tree 2299 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.8949e-05; + } else { + sum += 7.8949e-05; + } + } else { + if ( features[4] < -0.426155 ) { + sum += -7.8949e-05; + } else { + sum += 7.8949e-05; + } + } + // tree 2300 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 7.49153e-05; + } else { + sum += -7.49153e-05; + } + } else { + if ( features[5] < 1.09634 ) { + sum += 7.49153e-05; + } else { + sum += -7.49153e-05; + } + } + // tree 2301 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.77893e-05; + } else { + sum += 7.77893e-05; + } + } else { + if ( features[0] < 1.99219 ) { + sum += 7.77893e-05; + } else { + sum += -7.77893e-05; + } + } + // tree 2302 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 7.32342e-05; + } else { + sum += -7.32342e-05; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -7.32342e-05; + } else { + sum += 7.32342e-05; + } + } + // tree 2303 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.25136e-05; + } else { + sum += 8.25136e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.25136e-05; + } else { + sum += 8.25136e-05; + } + } + // tree 2304 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.153e-05; + } else { + sum += 8.153e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.153e-05; + } else { + sum += 8.153e-05; + } + } + // tree 2305 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.42243e-05; + } else { + sum += -8.42243e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.42243e-05; + } else { + sum += -8.42243e-05; + } + } + // tree 2306 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.37734e-05; + } else { + sum += -8.37734e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.37734e-05; + } else { + sum += -8.37734e-05; + } + } + // tree 2307 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.25562e-05; + } else { + sum += -8.25562e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.25562e-05; + } else { + sum += 8.25562e-05; + } + } + // tree 2308 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.37455e-05; + } else { + sum += 7.37455e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 7.37455e-05; + } else { + sum += -7.37455e-05; + } + } + // tree 2309 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.93824e-05; + } else { + sum += -7.93824e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.93824e-05; + } else { + sum += 7.93824e-05; + } + } + // tree 2310 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 7.09524e-05; + } else { + sum += -7.09524e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -7.09524e-05; + } else { + sum += 7.09524e-05; + } + } + // tree 2311 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.89704e-05; + } else { + sum += -7.89704e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.89704e-05; + } else { + sum += 7.89704e-05; + } + } + // tree 2312 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.46859e-05; + } else { + sum += -7.46859e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 7.46859e-05; + } else { + sum += -7.46859e-05; + } + } + // tree 2313 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.96651e-05; + } else { + sum += -6.96651e-05; + } + } else { + sum += 6.96651e-05; + } + // tree 2314 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.20415e-05; + } else { + sum += 9.20415e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.20415e-05; + } else { + sum += -9.20415e-05; + } + } + // tree 2315 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.48626e-05; + } else { + sum += 9.48626e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.48626e-05; + } else { + sum += -9.48626e-05; + } + } + // tree 2316 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 6.97154e-05; + } else { + sum += -6.97154e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 6.97154e-05; + } else { + sum += -6.97154e-05; + } + } + // tree 2317 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000101464; + } else { + sum += -0.000101464; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000101464; + } else { + sum += -0.000101464; + } + } + // tree 2318 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.34295e-05; + } else { + sum += -8.34295e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.34295e-05; + } else { + sum += -8.34295e-05; + } + } + // tree 2319 + if ( features[6] < -0.231447 ) { + if ( features[7] < 0.390948 ) { + sum += -8.11859e-05; + } else { + sum += 8.11859e-05; + } + } else { + if ( features[9] < 1.99097 ) { + sum += 8.11859e-05; + } else { + sum += -8.11859e-05; + } + } + // tree 2320 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.85318e-05; + } else { + sum += 7.85318e-05; + } + } else { + if ( features[2] < 0.632998 ) { + sum += 7.85318e-05; + } else { + sum += -7.85318e-05; + } + } + // tree 2321 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.24616e-05; + } else { + sum += 8.24616e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.24616e-05; + } else { + sum += 8.24616e-05; + } + } + // tree 2322 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.45938e-05; + } else { + sum += -7.45938e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 7.45938e-05; + } else { + sum += -7.45938e-05; + } + } + // tree 2323 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -7.35405e-05; + } else { + sum += 7.35405e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 7.35405e-05; + } else { + sum += -7.35405e-05; + } + } + // tree 2324 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.32024e-05; + } else { + sum += -8.32024e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.32024e-05; + } else { + sum += -8.32024e-05; + } + } + // tree 2325 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.1763e-05; + } else { + sum += 8.1763e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.1763e-05; + } else { + sum += 8.1763e-05; + } + } + // tree 2326 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 8.02073e-05; + } else { + sum += -8.02073e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.02073e-05; + } else { + sum += 8.02073e-05; + } + } + // tree 2327 + if ( features[0] < 1.68308 ) { + if ( features[12] < 4.33725 ) { + sum += 6.78592e-05; + } else { + sum += -6.78592e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.78592e-05; + } else { + sum += -6.78592e-05; + } + } + // tree 2328 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -9.11226e-05; + } else { + sum += 9.11226e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.11226e-05; + } else { + sum += -9.11226e-05; + } + } + // tree 2329 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 8.12864e-05; + } else { + sum += -8.12864e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.12864e-05; + } else { + sum += -8.12864e-05; + } + } + // tree 2330 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 7.76073e-05; + } else { + sum += -7.76073e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.76073e-05; + } else { + sum += 7.76073e-05; + } + } + // tree 2331 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 8.24472e-05; + } else { + sum += -8.24472e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.24472e-05; + } else { + sum += -8.24472e-05; + } + } + // tree 2332 + if ( features[3] < 0.0967294 ) { + if ( features[9] < 1.48572 ) { + sum += -6.43963e-05; + } else { + sum += 6.43963e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 6.43963e-05; + } else { + sum += -6.43963e-05; + } + } + // tree 2333 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.99897e-05; + } else { + sum += -7.99897e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.99897e-05; + } else { + sum += 7.99897e-05; + } + } + // tree 2334 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 6.91035e-05; + } else { + sum += -6.91035e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 6.91035e-05; + } else { + sum += -6.91035e-05; + } + } + // tree 2335 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 9.0082e-05; + } else { + sum += -9.0082e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.0082e-05; + } else { + sum += -9.0082e-05; + } + } + // tree 2336 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000100666; + } else { + sum += -0.000100666; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.000100666; + } else { + sum += -0.000100666; + } + } + // tree 2337 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.18302e-05; + } else { + sum += -9.18302e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -9.18302e-05; + } else { + sum += 9.18302e-05; + } + } + // tree 2338 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.19832e-05; + } else { + sum += -9.19832e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 9.19832e-05; + } else { + sum += -9.19832e-05; + } + } + // tree 2339 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.07862e-05; + } else { + sum += -7.07862e-05; + } + } else { + sum += 7.07862e-05; + } + // tree 2340 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.11492e-05; + } else { + sum += 8.11492e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.11492e-05; + } else { + sum += 8.11492e-05; + } + } + // tree 2341 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -7.09126e-05; + } else { + sum += 7.09126e-05; + } + } else { + if ( features[0] < 1.99219 ) { + sum += 7.09126e-05; + } else { + sum += -7.09126e-05; + } + } + // tree 2342 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -8.30693e-05; + } else { + sum += 8.30693e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.30693e-05; + } else { + sum += -8.30693e-05; + } + } + // tree 2343 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 8.11193e-05; + } else { + sum += -8.11193e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.11193e-05; + } else { + sum += -8.11193e-05; + } + } + // tree 2344 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.24843e-05; + } else { + sum += -8.24843e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -8.24843e-05; + } else { + sum += 8.24843e-05; + } + } + // tree 2345 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.05326e-05; + } else { + sum += -8.05326e-05; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -8.05326e-05; + } else { + sum += 8.05326e-05; + } + } + // tree 2346 + if ( features[11] < 1.84612 ) { + if ( features[7] < 0.979305 ) { + sum += 6.54892e-05; + } else { + sum += -6.54892e-05; + } + } else { + sum += -6.54892e-05; + } + // tree 2347 + if ( features[11] < 1.84612 ) { + if ( features[8] < 1.51119 ) { + sum += -5.05992e-05; + } else { + sum += 5.05992e-05; + } + } else { + sum += -5.05992e-05; + } + // tree 2348 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -8.28188e-05; + } else { + sum += 8.28188e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.28188e-05; + } else { + sum += -8.28188e-05; + } + } + // tree 2349 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 6.87167e-05; + } else { + sum += -6.87167e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 6.87167e-05; + } else { + sum += -6.87167e-05; + } + } + // tree 2350 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.22414e-05; + } else { + sum += 8.22414e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.22414e-05; + } else { + sum += 8.22414e-05; + } + } + // tree 2351 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.24381e-05; + } else { + sum += 8.24381e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.24381e-05; + } else { + sum += 8.24381e-05; + } + } + // tree 2352 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.25533e-05; + } else { + sum += 6.25533e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 6.25533e-05; + } else { + sum += -6.25533e-05; + } + } + // tree 2353 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.74542e-05; + } else { + sum += 8.74542e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.74542e-05; + } else { + sum += 8.74542e-05; + } + } + // tree 2354 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.00010035; + } else { + sum += -0.00010035; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 0.00010035; + } else { + sum += -0.00010035; + } + } + // tree 2355 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -8.07845e-05; + } else { + sum += 8.07845e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.07845e-05; + } else { + sum += 8.07845e-05; + } + } + // tree 2356 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 7.18982e-05; + } else { + sum += -7.18982e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 7.18982e-05; + } else { + sum += -7.18982e-05; + } + } + // tree 2357 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -7.96296e-05; + } else { + sum += 7.96296e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.96296e-05; + } else { + sum += 7.96296e-05; + } + } + // tree 2358 + if ( features[3] < 0.0967294 ) { + if ( features[9] < 1.48572 ) { + sum += -7.11446e-05; + } else { + sum += 7.11446e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 7.11446e-05; + } else { + sum += -7.11446e-05; + } + } + // tree 2359 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -7.23523e-05; + } else { + sum += 7.23523e-05; + } + } else { + if ( features[2] < 0.632998 ) { + sum += 7.23523e-05; + } else { + sum += -7.23523e-05; + } + } + // tree 2360 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.96468e-05; + } else { + sum += -7.96468e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.96468e-05; + } else { + sum += 7.96468e-05; + } + } + // tree 2361 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -7.911e-05; + } else { + sum += 7.911e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.911e-05; + } else { + sum += 7.911e-05; + } + } + // tree 2362 + if ( features[3] < 0.0967294 ) { + if ( features[0] < 1.81252 ) { + sum += -6.9591e-05; + } else { + sum += 6.9591e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 6.9591e-05; + } else { + sum += -6.9591e-05; + } + } + // tree 2363 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.23247e-05; + } else { + sum += -7.23247e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.23247e-05; + } else { + sum += 7.23247e-05; + } + } + // tree 2364 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.15825e-05; + } else { + sum += 9.15825e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -9.15825e-05; + } else { + sum += 9.15825e-05; + } + } + // tree 2365 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.65917e-05; + } else { + sum += -7.65917e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.65917e-05; + } else { + sum += 7.65917e-05; + } + } + // tree 2366 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 7.02362e-05; + } else { + sum += -7.02362e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.02362e-05; + } else { + sum += 7.02362e-05; + } + } + // tree 2367 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.04227e-05; + } else { + sum += -7.04227e-05; + } + } else { + sum += 7.04227e-05; + } + // tree 2368 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.89449e-05; + } else { + sum += -7.89449e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.89449e-05; + } else { + sum += 7.89449e-05; + } + } + // tree 2369 + if ( features[0] < 1.68308 ) { + if ( features[7] < 0.620143 ) { + sum += -5.37279e-05; + } else { + sum += 5.37279e-05; + } + } else { + sum += 5.37279e-05; + } + // tree 2370 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 6.84569e-05; + } else { + sum += -6.84569e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 6.84569e-05; + } else { + sum += -6.84569e-05; + } + } + // tree 2371 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.12399e-05; + } else { + sum += -7.12399e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 7.12399e-05; + } else { + sum += -7.12399e-05; + } + } + // tree 2372 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 8.63787e-05; + } else { + sum += -8.63787e-05; + } + } else { + if ( features[12] < 4.81552 ) { + sum += -8.63787e-05; + } else { + sum += 8.63787e-05; + } + } + // tree 2373 + if ( features[7] < 0.390948 ) { + if ( features[12] < 4.44724 ) { + sum += -8.21362e-05; + } else { + sum += 8.21362e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 8.21362e-05; + } else { + sum += -8.21362e-05; + } + } + // tree 2374 + if ( features[7] < 0.390948 ) { + if ( features[5] < 0.573447 ) { + sum += -8.26483e-05; + } else { + sum += 8.26483e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 8.26483e-05; + } else { + sum += -8.26483e-05; + } + } + // tree 2375 + if ( features[4] < -1.47024 ) { + if ( features[5] < 0.630907 ) { + sum += 9.20215e-05; + } else { + sum += -9.20215e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -9.20215e-05; + } else { + sum += 9.20215e-05; + } + } + // tree 2376 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.17848e-05; + } else { + sum += 8.17848e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.17848e-05; + } else { + sum += 8.17848e-05; + } + } + // tree 2377 + if ( features[7] < 0.390948 ) { + if ( features[5] < 0.573447 ) { + sum += -8.2347e-05; + } else { + sum += 8.2347e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 8.2347e-05; + } else { + sum += -8.2347e-05; + } + } + // tree 2378 + if ( features[0] < 1.68308 ) { + if ( features[2] < 0.493201 ) { + sum += 7.14339e-05; + } else { + sum += -7.14339e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 7.14339e-05; + } else { + sum += -7.14339e-05; + } + } + // tree 2379 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.59672e-05; + } else { + sum += -7.59672e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.59672e-05; + } else { + sum += 7.59672e-05; + } + } + // tree 2380 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -7.50084e-05; + } else { + sum += 7.50084e-05; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 7.50084e-05; + } else { + sum += -7.50084e-05; + } + } + // tree 2381 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 7.91302e-05; + } else { + sum += -7.91302e-05; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 7.91302e-05; + } else { + sum += -7.91302e-05; + } + } + // tree 2382 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 6.98342e-05; + } else { + sum += -6.98342e-05; + } + } else { + sum += 6.98342e-05; + } + // tree 2383 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.27033e-05; + } else { + sum += 8.27033e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.27033e-05; + } else { + sum += -8.27033e-05; + } + } + // tree 2384 + if ( features[1] < 0.205661 ) { + if ( features[10] < -27.4195 ) { + sum += 7.44563e-05; + } else { + sum += -7.44563e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.44563e-05; + } else { + sum += 7.44563e-05; + } + } + // tree 2385 + if ( features[9] < 1.48572 ) { + sum += -5.62486e-05; + } else { + if ( features[3] < 0.0967294 ) { + sum += 5.62486e-05; + } else { + sum += -5.62486e-05; + } + } + // tree 2386 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.11558e-05; + } else { + sum += 8.11558e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.11558e-05; + } else { + sum += 8.11558e-05; + } + } + // tree 2387 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.91971e-05; + } else { + sum += 7.91971e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.91971e-05; + } else { + sum += 7.91971e-05; + } + } + // tree 2388 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 7.59481e-05; + } else { + sum += -7.59481e-05; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -7.59481e-05; + } else { + sum += 7.59481e-05; + } + } + // tree 2389 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.11313e-05; + } else { + sum += -8.11313e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.11313e-05; + } else { + sum += -8.11313e-05; + } + } + // tree 2390 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.06026e-05; + } else { + sum += -7.06026e-05; + } + } else { + sum += 7.06026e-05; + } + // tree 2391 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.89934e-05; + } else { + sum += -9.89934e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.89934e-05; + } else { + sum += -9.89934e-05; + } + } + // tree 2392 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 7.26614e-05; + } else { + sum += -7.26614e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 7.26614e-05; + } else { + sum += -7.26614e-05; + } + } + // tree 2393 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.17134e-05; + } else { + sum += -8.17134e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.17134e-05; + } else { + sum += -8.17134e-05; + } + } + // tree 2394 + if ( features[1] < 0.205661 ) { + if ( features[4] < -0.42656 ) { + sum += -7.69851e-05; + } else { + sum += 7.69851e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.69851e-05; + } else { + sum += -7.69851e-05; + } + } + // tree 2395 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 8.75552e-05; + } else { + sum += -8.75552e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 8.75552e-05; + } else { + sum += -8.75552e-05; + } + } + // tree 2396 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 8.75821e-05; + } else { + sum += -8.75821e-05; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 8.75821e-05; + } else { + sum += -8.75821e-05; + } + } + // tree 2397 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.20281e-05; + } else { + sum += 9.20281e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.20281e-05; + } else { + sum += -9.20281e-05; + } + } + // tree 2398 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.1214e-05; + } else { + sum += -8.1214e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.1214e-05; + } else { + sum += -8.1214e-05; + } + } + // tree 2399 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -6.96143e-05; + } else { + sum += 6.96143e-05; + } + } else { + if ( features[4] < -0.426155 ) { + sum += -6.96143e-05; + } else { + sum += 6.96143e-05; + } + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2400-2699.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2400-2699.cpp new file mode 100644 index 0000000000000000000000000000000000000000..be5216982d2cab6834eccbdb534dea86f4a2ab6f --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2400-2699.cpp @@ -0,0 +1,4074 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_8( const std::vector<double>& features ) const { + double sum = 0; + + // tree 2400 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.41426e-05; + } else { + sum += -6.41426e-05; + } + } else { + if ( features[0] < 2.88598 ) { + sum += 6.41426e-05; + } else { + sum += -6.41426e-05; + } + } + // tree 2401 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.09925e-05; + } else { + sum += 8.09925e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.09925e-05; + } else { + sum += -8.09925e-05; + } + } + // tree 2402 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.9618e-05; + } else { + sum += 8.9618e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.9618e-05; + } else { + sum += -8.9618e-05; + } + } + // tree 2403 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.07011e-05; + } else { + sum += -7.07011e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -7.07011e-05; + } else { + sum += 7.07011e-05; + } + } + // tree 2404 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -8.08522e-05; + } else { + sum += 8.08522e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.08522e-05; + } else { + sum += -8.08522e-05; + } + } + // tree 2405 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.03715e-05; + } else { + sum += -8.03715e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.03715e-05; + } else { + sum += -8.03715e-05; + } + } + // tree 2406 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 9.74245e-05; + } else { + sum += -9.74245e-05; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -9.74245e-05; + } else { + sum += 9.74245e-05; + } + } + // tree 2407 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.77048e-05; + } else { + sum += -7.77048e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.77048e-05; + } else { + sum += 7.77048e-05; + } + } + // tree 2408 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -8.07771e-05; + } else { + sum += 8.07771e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.07771e-05; + } else { + sum += -8.07771e-05; + } + } + // tree 2409 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.10333e-05; + } else { + sum += -7.10333e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -7.10333e-05; + } else { + sum += 7.10333e-05; + } + } + // tree 2410 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.68987e-05; + } else { + sum += 7.68987e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.68987e-05; + } else { + sum += 7.68987e-05; + } + } + // tree 2411 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.11299e-05; + } else { + sum += -8.11299e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.11299e-05; + } else { + sum += -8.11299e-05; + } + } + // tree 2412 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 8.00431e-05; + } else { + sum += -8.00431e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.00431e-05; + } else { + sum += -8.00431e-05; + } + } + // tree 2413 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.70043e-05; + } else { + sum += 8.70043e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.70043e-05; + } else { + sum += 8.70043e-05; + } + } + // tree 2414 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 9.01511e-05; + } else { + sum += -9.01511e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 9.01511e-05; + } else { + sum += -9.01511e-05; + } + } + // tree 2415 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.38173e-05; + } else { + sum += -8.38173e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.38173e-05; + } else { + sum += -8.38173e-05; + } + } + // tree 2416 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.36167e-05; + } else { + sum += 8.36167e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -8.36167e-05; + } else { + sum += 8.36167e-05; + } + } + // tree 2417 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.64655e-05; + } else { + sum += 8.64655e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.64655e-05; + } else { + sum += 8.64655e-05; + } + } + // tree 2418 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -8.05772e-05; + } else { + sum += 8.05772e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.05772e-05; + } else { + sum += 8.05772e-05; + } + } + // tree 2419 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -9.12808e-05; + } else { + sum += 9.12808e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 9.12808e-05; + } else { + sum += -9.12808e-05; + } + } + // tree 2420 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.19841e-05; + } else { + sum += -7.19841e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 7.19841e-05; + } else { + sum += -7.19841e-05; + } + } + // tree 2421 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.96468e-05; + } else { + sum += -6.96468e-05; + } + } else { + sum += 6.96468e-05; + } + // tree 2422 + if ( features[11] < 1.84612 ) { + if ( features[2] < 0.671819 ) { + sum += 4.91942e-05; + } else { + sum += -4.91942e-05; + } + } else { + sum += -4.91942e-05; + } + // tree 2423 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 8.95081e-05; + } else { + sum += -8.95081e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -8.95081e-05; + } else { + sum += 8.95081e-05; + } + } + // tree 2424 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -9.55501e-05; + } else { + sum += 9.55501e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -9.55501e-05; + } else { + sum += 9.55501e-05; + } + } + // tree 2425 + if ( features[7] < 0.464495 ) { + if ( features[3] < 0.0483549 ) { + sum += 7.90559e-05; + } else { + sum += -7.90559e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 7.90559e-05; + } else { + sum += -7.90559e-05; + } + } + // tree 2426 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -9.51419e-05; + } else { + sum += 9.51419e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -9.51419e-05; + } else { + sum += 9.51419e-05; + } + } + // tree 2427 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.86355e-05; + } else { + sum += 8.86355e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.86355e-05; + } else { + sum += 8.86355e-05; + } + } + // tree 2428 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -6.87966e-05; + } else { + sum += 6.87966e-05; + } + } else { + if ( features[2] < 0.632998 ) { + sum += 6.87966e-05; + } else { + sum += -6.87966e-05; + } + } + // tree 2429 + if ( features[7] < 0.464495 ) { + if ( features[4] < -0.600526 ) { + sum += 7.4649e-05; + } else { + sum += -7.4649e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.4649e-05; + } else { + sum += 7.4649e-05; + } + } + // tree 2430 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 8.06938e-05; + } else { + sum += -8.06938e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -8.06938e-05; + } else { + sum += 8.06938e-05; + } + } + // tree 2431 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.22486e-05; + } else { + sum += -8.22486e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.22486e-05; + } else { + sum += 8.22486e-05; + } + } + // tree 2432 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.98777e-05; + } else { + sum += -7.98777e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.98777e-05; + } else { + sum += -7.98777e-05; + } + } + // tree 2433 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.5427e-05; + } else { + sum += -7.5427e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.5427e-05; + } else { + sum += 7.5427e-05; + } + } + // tree 2434 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.10959e-05; + } else { + sum += -7.10959e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 7.10959e-05; + } else { + sum += -7.10959e-05; + } + } + // tree 2435 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 9.569e-05; + } else { + sum += -9.569e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -9.569e-05; + } else { + sum += 9.569e-05; + } + } + // tree 2436 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.390484 ) { + sum += -7.72896e-05; + } else { + sum += 7.72896e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -7.72896e-05; + } else { + sum += 7.72896e-05; + } + } + // tree 2437 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.9931e-05; + } else { + sum += -7.9931e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.9931e-05; + } else { + sum += -7.9931e-05; + } + } + // tree 2438 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 7.5198e-05; + } else { + sum += -7.5198e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.5198e-05; + } else { + sum += 7.5198e-05; + } + } + // tree 2439 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 7.9709e-05; + } else { + sum += -7.9709e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 7.9709e-05; + } else { + sum += -7.9709e-05; + } + } + // tree 2440 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.80658e-05; + } else { + sum += 8.80658e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.80658e-05; + } else { + sum += 8.80658e-05; + } + } + // tree 2441 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.03676e-05; + } else { + sum += -7.03676e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 7.03676e-05; + } else { + sum += -7.03676e-05; + } + } + // tree 2442 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.19485e-05; + } else { + sum += -8.19485e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.19485e-05; + } else { + sum += 8.19485e-05; + } + } + // tree 2443 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.94937e-05; + } else { + sum += 7.94937e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.94937e-05; + } else { + sum += -7.94937e-05; + } + } + // tree 2444 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.99245e-05; + } else { + sum += 6.99245e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.99245e-05; + } else { + sum += -6.99245e-05; + } + } + // tree 2445 + if ( features[4] < -1.47024 ) { + if ( features[7] < 0.537856 ) { + sum += 7.15522e-05; + } else { + sum += -7.15522e-05; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 7.15522e-05; + } else { + sum += -7.15522e-05; + } + } + // tree 2446 + if ( features[5] < 0.473096 ) { + sum += 7.06684e-05; + } else { + if ( features[5] < 0.87839 ) { + sum += -7.06684e-05; + } else { + sum += 7.06684e-05; + } + } + // tree 2447 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.28444e-05; + } else { + sum += -8.28444e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.28444e-05; + } else { + sum += -8.28444e-05; + } + } + // tree 2448 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.67214e-05; + } else { + sum += 8.67214e-05; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -8.67214e-05; + } else { + sum += 8.67214e-05; + } + } + // tree 2449 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 8.93187e-05; + } else { + sum += -8.93187e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 8.93187e-05; + } else { + sum += -8.93187e-05; + } + } + // tree 2450 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 7.56795e-05; + } else { + sum += -7.56795e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -7.56795e-05; + } else { + sum += 7.56795e-05; + } + } + // tree 2451 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.12958e-05; + } else { + sum += 8.12958e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.12958e-05; + } else { + sum += 8.12958e-05; + } + } + // tree 2452 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 8.03145e-05; + } else { + sum += -8.03145e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.03145e-05; + } else { + sum += 8.03145e-05; + } + } + // tree 2453 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.63182e-05; + } else { + sum += 7.63182e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.63182e-05; + } else { + sum += 7.63182e-05; + } + } + // tree 2454 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 8.01181e-05; + } else { + sum += -8.01181e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 8.01181e-05; + } else { + sum += -8.01181e-05; + } + } + // tree 2455 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.96921e-05; + } else { + sum += -7.96921e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.96921e-05; + } else { + sum += -7.96921e-05; + } + } + // tree 2456 + if ( features[0] < 1.68308 ) { + if ( features[3] < 0.0161829 ) { + sum += 6.02734e-05; + } else { + sum += -6.02734e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 6.02734e-05; + } else { + sum += -6.02734e-05; + } + } + // tree 2457 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.72015e-05; + } else { + sum += -9.72015e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.72015e-05; + } else { + sum += -9.72015e-05; + } + } + // tree 2458 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 7.2031e-05; + } else { + sum += -7.2031e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 7.2031e-05; + } else { + sum += -7.2031e-05; + } + } + // tree 2459 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 8.57699e-05; + } else { + sum += -8.57699e-05; + } + } else { + if ( features[6] < -0.231447 ) { + sum += 8.57699e-05; + } else { + sum += -8.57699e-05; + } + } + // tree 2460 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.09561e-05; + } else { + sum += -8.09561e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.09561e-05; + } else { + sum += 8.09561e-05; + } + } + // tree 2461 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.15361e-05; + } else { + sum += -7.15361e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 7.15361e-05; + } else { + sum += -7.15361e-05; + } + } + // tree 2462 + sum += 3.37348e-05; + // tree 2463 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.57965e-05; + } else { + sum += -7.57965e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.57965e-05; + } else { + sum += 7.57965e-05; + } + } + // tree 2464 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.19179e-05; + } else { + sum += -8.19179e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.19179e-05; + } else { + sum += 8.19179e-05; + } + } + // tree 2465 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 6.76565e-05; + } else { + sum += -6.76565e-05; + } + } else { + sum += 6.76565e-05; + } + // tree 2466 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -6.95807e-05; + } else { + sum += 6.95807e-05; + } + } else { + if ( features[2] < 0.632998 ) { + sum += 6.95807e-05; + } else { + sum += -6.95807e-05; + } + } + // tree 2467 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.89039e-05; + } else { + sum += -7.89039e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.89039e-05; + } else { + sum += -7.89039e-05; + } + } + // tree 2468 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.63098e-05; + } else { + sum += 7.63098e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.63098e-05; + } else { + sum += 7.63098e-05; + } + } + // tree 2469 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.1721e-05; + } else { + sum += 8.1721e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.1721e-05; + } else { + sum += 8.1721e-05; + } + } + // tree 2470 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 6.73826e-05; + } else { + sum += -6.73826e-05; + } + } else { + sum += 6.73826e-05; + } + // tree 2471 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.03263e-05; + } else { + sum += -8.03263e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -8.03263e-05; + } else { + sum += 8.03263e-05; + } + } + // tree 2472 + if ( features[0] < 1.68308 ) { + if ( features[11] < 1.57965 ) { + sum += 6.49344e-05; + } else { + sum += -6.49344e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -6.49344e-05; + } else { + sum += 6.49344e-05; + } + } + // tree 2473 + if ( features[12] < 4.57639 ) { + sum += 6.72474e-05; + } else { + if ( features[4] < -1.12229 ) { + sum += -6.72474e-05; + } else { + sum += 6.72474e-05; + } + } + // tree 2474 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.482e-05; + } else { + sum += -7.482e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.482e-05; + } else { + sum += 7.482e-05; + } + } + // tree 2475 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.89201e-05; + } else { + sum += 8.89201e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.89201e-05; + } else { + sum += 8.89201e-05; + } + } + // tree 2476 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 7.51457e-05; + } else { + sum += -7.51457e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 7.51457e-05; + } else { + sum += -7.51457e-05; + } + } + // tree 2477 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 7.99615e-05; + } else { + sum += -7.99615e-05; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -7.99615e-05; + } else { + sum += 7.99615e-05; + } + } + // tree 2478 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.09542e-05; + } else { + sum += -8.09542e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.09542e-05; + } else { + sum += 8.09542e-05; + } + } + // tree 2479 + if ( features[2] < 0.821394 ) { + if ( features[11] < 1.84612 ) { + sum += 7.86566e-05; + } else { + sum += -7.86566e-05; + } + } else { + if ( features[2] < 1.16763 ) { + sum += 7.86566e-05; + } else { + sum += -7.86566e-05; + } + } + // tree 2480 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.49705e-05; + } else { + sum += 8.49705e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.49705e-05; + } else { + sum += 8.49705e-05; + } + } + // tree 2481 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.90292e-05; + } else { + sum += -7.90292e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.90292e-05; + } else { + sum += -7.90292e-05; + } + } + // tree 2482 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.59055e-05; + } else { + sum += -7.59055e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.59055e-05; + } else { + sum += 7.59055e-05; + } + } + // tree 2483 + if ( features[7] < 0.390948 ) { + if ( features[1] < -0.631056 ) { + sum += 7.05047e-05; + } else { + sum += -7.05047e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 7.05047e-05; + } else { + sum += -7.05047e-05; + } + } + // tree 2484 + if ( features[7] < 0.464495 ) { + sum += 6.7165e-05; + } else { + if ( features[1] < 0.40965 ) { + sum += -6.7165e-05; + } else { + sum += 6.7165e-05; + } + } + // tree 2485 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 8.09959e-05; + } else { + sum += -8.09959e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.09959e-05; + } else { + sum += -8.09959e-05; + } + } + // tree 2486 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -7.26905e-05; + } else { + sum += 7.26905e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 7.26905e-05; + } else { + sum += -7.26905e-05; + } + } + // tree 2487 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.90117e-05; + } else { + sum += 7.90117e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.90117e-05; + } else { + sum += -7.90117e-05; + } + } + // tree 2488 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.52698e-05; + } else { + sum += -7.52698e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.52698e-05; + } else { + sum += 7.52698e-05; + } + } + // tree 2489 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.53489e-05; + } else { + sum += 7.53489e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 7.53489e-05; + } else { + sum += -7.53489e-05; + } + } + // tree 2490 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.89748e-05; + } else { + sum += 8.89748e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.89748e-05; + } else { + sum += -8.89748e-05; + } + } + // tree 2491 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.68554e-05; + } else { + sum += -7.68554e-05; + } + } else { + if ( features[6] < -2.15667 ) { + sum += 7.68554e-05; + } else { + sum += -7.68554e-05; + } + } + // tree 2492 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 9.4435e-05; + } else { + sum += -9.4435e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -9.4435e-05; + } else { + sum += 9.4435e-05; + } + } + // tree 2493 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 7.7142e-05; + } else { + sum += -7.7142e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.7142e-05; + } else { + sum += -7.7142e-05; + } + } + // tree 2494 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.21513e-05; + } else { + sum += -6.21513e-05; + } + } else { + if ( features[0] < 2.88598 ) { + sum += 6.21513e-05; + } else { + sum += -6.21513e-05; + } + } + // tree 2495 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.15302e-05; + } else { + sum += 8.15302e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.15302e-05; + } else { + sum += 8.15302e-05; + } + } + // tree 2496 + if ( features[9] < 1.48572 ) { + sum += -5.66469e-05; + } else { + if ( features[0] < 1.40059 ) { + sum += -5.66469e-05; + } else { + sum += 5.66469e-05; + } + } + // tree 2497 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.48949e-05; + } else { + sum += 7.48949e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 7.48949e-05; + } else { + sum += -7.48949e-05; + } + } + // tree 2498 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.5487e-05; + } else { + sum += 7.5487e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.5487e-05; + } else { + sum += 7.5487e-05; + } + } + // tree 2499 + if ( features[0] < 1.68308 ) { + if ( features[2] < 0.493201 ) { + sum += 6.73523e-05; + } else { + sum += -6.73523e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.73523e-05; + } else { + sum += 6.73523e-05; + } + } + // tree 2500 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.73432e-05; + } else { + sum += 8.73432e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.73432e-05; + } else { + sum += -8.73432e-05; + } + } + // tree 2501 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -7.55546e-05; + } else { + sum += 7.55546e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.55546e-05; + } else { + sum += 7.55546e-05; + } + } + // tree 2502 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 7.49983e-05; + } else { + sum += -7.49983e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.49983e-05; + } else { + sum += 7.49983e-05; + } + } + // tree 2503 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 7.95583e-05; + } else { + sum += -7.95583e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.95583e-05; + } else { + sum += 7.95583e-05; + } + } + // tree 2504 + if ( features[5] < 0.473096 ) { + if ( features[12] < 4.68547 ) { + sum += 6.04462e-05; + } else { + sum += -6.04462e-05; + } + } else { + if ( features[4] < -1.81665 ) { + sum += 6.04462e-05; + } else { + sum += -6.04462e-05; + } + } + // tree 2505 + if ( features[1] < 0.205661 ) { + if ( features[10] < -27.4195 ) { + sum += 7.27062e-05; + } else { + sum += -7.27062e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.27062e-05; + } else { + sum += 7.27062e-05; + } + } + // tree 2506 + if ( features[9] < 1.48572 ) { + sum += -5.1084e-05; + } else { + if ( features[6] < -0.231448 ) { + sum += 5.1084e-05; + } else { + sum += -5.1084e-05; + } + } + // tree 2507 + if ( features[7] < 0.390948 ) { + if ( features[7] < 0.337566 ) { + sum += 8.05073e-05; + } else { + sum += -8.05073e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.05073e-05; + } else { + sum += -8.05073e-05; + } + } + // tree 2508 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.91769e-05; + } else { + sum += -6.91769e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.91769e-05; + } else { + sum += -6.91769e-05; + } + } + // tree 2509 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.05499e-05; + } else { + sum += -8.05499e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -8.05499e-05; + } else { + sum += 8.05499e-05; + } + } + // tree 2510 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.57525e-05; + } else { + sum += 7.57525e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.57525e-05; + } else { + sum += 7.57525e-05; + } + } + // tree 2511 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 7.00011e-05; + } else { + sum += -7.00011e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 7.00011e-05; + } else { + sum += -7.00011e-05; + } + } + // tree 2512 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.63655e-05; + } else { + sum += -9.63655e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.63655e-05; + } else { + sum += -9.63655e-05; + } + } + // tree 2513 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 7.5528e-05; + } else { + sum += -7.5528e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -7.5528e-05; + } else { + sum += 7.5528e-05; + } + } + // tree 2514 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.93091e-05; + } else { + sum += 7.93091e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.93091e-05; + } else { + sum += 7.93091e-05; + } + } + // tree 2515 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -8.07991e-05; + } else { + sum += 8.07991e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.07991e-05; + } else { + sum += 8.07991e-05; + } + } + // tree 2516 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.51921e-05; + } else { + sum += -7.51921e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.51921e-05; + } else { + sum += 7.51921e-05; + } + } + // tree 2517 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.93081e-05; + } else { + sum += 6.93081e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.93081e-05; + } else { + sum += 6.93081e-05; + } + } + // tree 2518 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.390484 ) { + sum += -6.62687e-05; + } else { + sum += 6.62687e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 6.62687e-05; + } else { + sum += -6.62687e-05; + } + } + // tree 2519 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 8.03631e-05; + } else { + sum += -8.03631e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -8.03631e-05; + } else { + sum += 8.03631e-05; + } + } + // tree 2520 + if ( features[4] < -1.47024 ) { + if ( features[7] < 0.537856 ) { + sum += 7.98424e-05; + } else { + sum += -7.98424e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -7.98424e-05; + } else { + sum += 7.98424e-05; + } + } + // tree 2521 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.464495 ) { + sum += 6.73647e-05; + } else { + sum += -6.73647e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.73647e-05; + } else { + sum += -6.73647e-05; + } + } + // tree 2522 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 7.49295e-05; + } else { + sum += -7.49295e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.49295e-05; + } else { + sum += 7.49295e-05; + } + } + // tree 2523 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.86439e-05; + } else { + sum += -6.86439e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.86439e-05; + } else { + sum += -6.86439e-05; + } + } + // tree 2524 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.51791e-05; + } else { + sum += -7.51791e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.51791e-05; + } else { + sum += 7.51791e-05; + } + } + // tree 2525 + if ( features[9] < 1.48572 ) { + sum += -5.64685e-05; + } else { + if ( features[0] < 1.40059 ) { + sum += -5.64685e-05; + } else { + sum += 5.64685e-05; + } + } + // tree 2526 + if ( features[0] < 1.68308 ) { + sum += -5.88207e-05; + } else { + if ( features[1] < -0.712287 ) { + sum += -5.88207e-05; + } else { + sum += 5.88207e-05; + } + } + // tree 2527 + if ( features[7] < 0.390948 ) { + if ( features[6] < -1.38158 ) { + sum += -7.23723e-05; + } else { + sum += 7.23723e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 7.23723e-05; + } else { + sum += -7.23723e-05; + } + } + // tree 2528 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 8.74695e-05; + } else { + sum += -8.74695e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.74695e-05; + } else { + sum += -8.74695e-05; + } + } + // tree 2529 + if ( features[4] < -1.47024 ) { + if ( features[1] < 0.00171106 ) { + sum += -9.34073e-05; + } else { + sum += 9.34073e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -9.34073e-05; + } else { + sum += 9.34073e-05; + } + } + // tree 2530 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.81634e-05; + } else { + sum += -7.81634e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.81634e-05; + } else { + sum += -7.81634e-05; + } + } + // tree 2531 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.47004e-05; + } else { + sum += 8.47004e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.47004e-05; + } else { + sum += 8.47004e-05; + } + } + // tree 2532 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 8.71246e-05; + } else { + sum += -8.71246e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.71246e-05; + } else { + sum += -8.71246e-05; + } + } + // tree 2533 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.72599e-05; + } else { + sum += -7.72599e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.72599e-05; + } else { + sum += -7.72599e-05; + } + } + // tree 2534 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 7.89742e-05; + } else { + sum += -7.89742e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 7.89742e-05; + } else { + sum += -7.89742e-05; + } + } + // tree 2535 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 7.7796e-05; + } else { + sum += -7.7796e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 7.7796e-05; + } else { + sum += -7.7796e-05; + } + } + // tree 2536 + if ( features[6] < -0.231447 ) { + if ( features[7] < 0.390948 ) { + sum += -7.75525e-05; + } else { + sum += 7.75525e-05; + } + } else { + if ( features[9] < 1.99097 ) { + sum += 7.75525e-05; + } else { + sum += -7.75525e-05; + } + } + // tree 2537 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.49476e-05; + } else { + sum += -7.49476e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.49476e-05; + } else { + sum += 7.49476e-05; + } + } + // tree 2538 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.78837e-05; + } else { + sum += 7.78837e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.78837e-05; + } else { + sum += -7.78837e-05; + } + } + // tree 2539 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.41401e-05; + } else { + sum += 8.41401e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.41401e-05; + } else { + sum += 8.41401e-05; + } + } + // tree 2540 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.12015e-05; + } else { + sum += -8.12015e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.12015e-05; + } else { + sum += 8.12015e-05; + } + } + // tree 2541 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.57964e-05; + } else { + sum += 8.57964e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.57964e-05; + } else { + sum += 8.57964e-05; + } + } + // tree 2542 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.464495 ) { + sum += 6.8447e-05; + } else { + sum += -6.8447e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.8447e-05; + } else { + sum += -6.8447e-05; + } + } + // tree 2543 + if ( features[7] < 0.390948 ) { + if ( features[9] < 2.12219 ) { + sum += 7.18048e-05; + } else { + sum += -7.18048e-05; + } + } else { + if ( features[8] < 1.93106 ) { + sum += -7.18048e-05; + } else { + sum += 7.18048e-05; + } + } + // tree 2544 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.75743e-05; + } else { + sum += 7.75743e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -7.75743e-05; + } else { + sum += 7.75743e-05; + } + } + // tree 2545 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.50819e-05; + } else { + sum += -9.50819e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.50819e-05; + } else { + sum += -9.50819e-05; + } + } + // tree 2546 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.77343e-05; + } else { + sum += -7.77343e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.77343e-05; + } else { + sum += -7.77343e-05; + } + } + // tree 2547 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.80486e-05; + } else { + sum += 7.80486e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -7.80486e-05; + } else { + sum += 7.80486e-05; + } + } + // tree 2548 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 7.48859e-05; + } else { + sum += -7.48859e-05; + } + } else { + if ( features[2] < 0.444747 ) { + sum += 7.48859e-05; + } else { + sum += -7.48859e-05; + } + } + // tree 2549 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.99262e-05; + } else { + sum += 7.99262e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.99262e-05; + } else { + sum += 7.99262e-05; + } + } + // tree 2550 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.75175e-05; + } else { + sum += 7.75175e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.75175e-05; + } else { + sum += -7.75175e-05; + } + } + // tree 2551 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.83135e-05; + } else { + sum += -6.83135e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.83135e-05; + } else { + sum += 6.83135e-05; + } + } + // tree 2552 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.76073e-05; + } else { + sum += -6.76073e-05; + } + } else { + sum += 6.76073e-05; + } + // tree 2553 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.23627e-05; + } else { + sum += 8.23627e-05; + } + } else { + if ( features[5] < 0.681654 ) { + sum += -8.23627e-05; + } else { + sum += 8.23627e-05; + } + } + // tree 2554 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.37224e-05; + } else { + sum += 8.37224e-05; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -8.37224e-05; + } else { + sum += 8.37224e-05; + } + } + // tree 2555 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.50267e-05; + } else { + sum += 8.50267e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.50267e-05; + } else { + sum += 8.50267e-05; + } + } + // tree 2556 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.9721e-05; + } else { + sum += -7.9721e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.9721e-05; + } else { + sum += 7.9721e-05; + } + } + // tree 2557 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.73741e-05; + } else { + sum += -6.73741e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.73741e-05; + } else { + sum += 6.73741e-05; + } + } + // tree 2558 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.7684e-05; + } else { + sum += 7.7684e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.7684e-05; + } else { + sum += 7.7684e-05; + } + } + // tree 2559 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -6.97901e-05; + } else { + sum += 6.97901e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.97901e-05; + } else { + sum += -6.97901e-05; + } + } + // tree 2560 + if ( features[9] < 1.48572 ) { + sum += -5.57424e-05; + } else { + if ( features[0] < 1.40059 ) { + sum += -5.57424e-05; + } else { + sum += 5.57424e-05; + } + } + // tree 2561 + if ( features[7] < 0.464495 ) { + if ( features[3] < 0.0483549 ) { + sum += 7.10455e-05; + } else { + sum += -7.10455e-05; + } + } else { + if ( features[11] < 1.26963 ) { + sum += -7.10455e-05; + } else { + sum += 7.10455e-05; + } + } + // tree 2562 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.95623e-05; + } else { + sum += 6.95623e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.95623e-05; + } else { + sum += -6.95623e-05; + } + } + // tree 2563 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.72533e-05; + } else { + sum += -6.72533e-05; + } + } else { + sum += 6.72533e-05; + } + // tree 2564 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.67753e-05; + } else { + sum += -7.67753e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.67753e-05; + } else { + sum += -7.67753e-05; + } + } + // tree 2565 + if ( features[9] < 1.48572 ) { + sum += -5.32513e-05; + } else { + if ( features[3] < 0.0967294 ) { + sum += 5.32513e-05; + } else { + sum += -5.32513e-05; + } + } + // tree 2566 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 7.72687e-05; + } else { + sum += -7.72687e-05; + } + } else { + if ( features[1] < -0.75808 ) { + sum += -7.72687e-05; + } else { + sum += 7.72687e-05; + } + } + // tree 2567 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.76675e-05; + } else { + sum += -6.76675e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.76675e-05; + } else { + sum += 6.76675e-05; + } + } + // tree 2568 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.87745e-05; + } else { + sum += -6.87745e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.87745e-05; + } else { + sum += -6.87745e-05; + } + } + // tree 2569 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.38149e-05; + } else { + sum += 8.38149e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.38149e-05; + } else { + sum += 8.38149e-05; + } + } + // tree 2570 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.56233e-05; + } else { + sum += 8.56233e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.56233e-05; + } else { + sum += 8.56233e-05; + } + } + // tree 2571 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.67158e-05; + } else { + sum += 8.67158e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.67158e-05; + } else { + sum += -8.67158e-05; + } + } + // tree 2572 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 7.72111e-05; + } else { + sum += -7.72111e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.72111e-05; + } else { + sum += -7.72111e-05; + } + } + // tree 2573 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 8.02532e-05; + } else { + sum += -8.02532e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.02532e-05; + } else { + sum += 8.02532e-05; + } + } + // tree 2574 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 7.98261e-05; + } else { + sum += -7.98261e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.98261e-05; + } else { + sum += 7.98261e-05; + } + } + // tree 2575 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.00216e-05; + } else { + sum += 7.00216e-05; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 7.00216e-05; + } else { + sum += -7.00216e-05; + } + } + // tree 2576 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.31616e-05; + } else { + sum += -7.31616e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.31616e-05; + } else { + sum += 7.31616e-05; + } + } + // tree 2577 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 6.84265e-05; + } else { + sum += -6.84265e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -6.84265e-05; + } else { + sum += 6.84265e-05; + } + } + // tree 2578 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 9.36184e-05; + } else { + sum += -9.36184e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 9.36184e-05; + } else { + sum += -9.36184e-05; + } + } + // tree 2579 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.5122e-05; + } else { + sum += -7.5122e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.5122e-05; + } else { + sum += 7.5122e-05; + } + } + // tree 2580 + if ( features[5] < 1.0961 ) { + if ( features[1] < 0.10369 ) { + sum += -6.01699e-05; + } else { + sum += 6.01699e-05; + } + } else { + if ( features[5] < 1.17986 ) { + sum += -6.01699e-05; + } else { + sum += 6.01699e-05; + } + } + // tree 2581 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.44521e-05; + } else { + sum += 7.44521e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.44521e-05; + } else { + sum += 7.44521e-05; + } + } + // tree 2582 + if ( features[5] < 1.0961 ) { + if ( features[0] < 1.68308 ) { + sum += -5.89943e-05; + } else { + sum += 5.89943e-05; + } + } else { + if ( features[3] < 0.0161134 ) { + sum += 5.89943e-05; + } else { + sum += -5.89943e-05; + } + } + // tree 2583 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.58073e-05; + } else { + sum += -7.58073e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.58073e-05; + } else { + sum += -7.58073e-05; + } + } + // tree 2584 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 7.62277e-05; + } else { + sum += -7.62277e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.62277e-05; + } else { + sum += -7.62277e-05; + } + } + // tree 2585 + if ( features[7] < 0.390948 ) { + if ( features[6] < -1.38158 ) { + sum += -7.10604e-05; + } else { + sum += 7.10604e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 7.10604e-05; + } else { + sum += -7.10604e-05; + } + } + // tree 2586 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.96047e-05; + } else { + sum += -7.96047e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.96047e-05; + } else { + sum += 7.96047e-05; + } + } + // tree 2587 + if ( features[8] < 2.24069 ) { + if ( features[2] < 0.0680814 ) { + sum += -9.58031e-05; + } else { + sum += 9.58031e-05; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 9.58031e-05; + } else { + sum += -9.58031e-05; + } + } + // tree 2588 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 7.46854e-05; + } else { + sum += -7.46854e-05; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 7.46854e-05; + } else { + sum += -7.46854e-05; + } + } + // tree 2589 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.41449e-05; + } else { + sum += -7.41449e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.41449e-05; + } else { + sum += 7.41449e-05; + } + } + // tree 2590 + if ( features[12] < 4.57639 ) { + sum += 6.61597e-05; + } else { + if ( features[11] < 1.012 ) { + sum += -6.61597e-05; + } else { + sum += 6.61597e-05; + } + } + // tree 2591 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.94208e-05; + } else { + sum += 7.94208e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.94208e-05; + } else { + sum += 7.94208e-05; + } + } + // tree 2592 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -6.67488e-05; + } else { + sum += 6.67488e-05; + } + } else { + sum += 6.67488e-05; + } + // tree 2593 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.36662e-05; + } else { + sum += -7.36662e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.36662e-05; + } else { + sum += 7.36662e-05; + } + } + // tree 2594 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.69001e-05; + } else { + sum += 7.69001e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.69001e-05; + } else { + sum += -7.69001e-05; + } + } + // tree 2595 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.6489e-05; + } else { + sum += 7.6489e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.6489e-05; + } else { + sum += -7.6489e-05; + } + } + // tree 2596 + if ( features[6] < -0.231447 ) { + if ( features[1] < 0.205683 ) { + sum += -6.39892e-05; + } else { + sum += 6.39892e-05; + } + } else { + if ( features[11] < 1.03707 ) { + sum += -6.39892e-05; + } else { + sum += 6.39892e-05; + } + } + // tree 2597 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.57713e-05; + } else { + sum += 8.57713e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.57713e-05; + } else { + sum += 8.57713e-05; + } + } + // tree 2598 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.36424e-05; + } else { + sum += 7.36424e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 7.36424e-05; + } else { + sum += -7.36424e-05; + } + } + // tree 2599 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -7.17751e-05; + } else { + sum += 7.17751e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 7.17751e-05; + } else { + sum += -7.17751e-05; + } + } + // tree 2600 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -7.68824e-05; + } else { + sum += 7.68824e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -7.68824e-05; + } else { + sum += 7.68824e-05; + } + } + // tree 2601 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.41838e-05; + } else { + sum += -7.41838e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.41838e-05; + } else { + sum += 7.41838e-05; + } + } + // tree 2602 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.64684e-05; + } else { + sum += -7.64684e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.64684e-05; + } else { + sum += -7.64684e-05; + } + } + // tree 2603 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.56244e-05; + } else { + sum += 8.56244e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.56244e-05; + } else { + sum += 8.56244e-05; + } + } + // tree 2604 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 7.47276e-05; + } else { + sum += -7.47276e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.47276e-05; + } else { + sum += 7.47276e-05; + } + } + // tree 2605 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 7.76056e-05; + } else { + sum += -7.76056e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -7.76056e-05; + } else { + sum += 7.76056e-05; + } + } + // tree 2606 + if ( features[9] < 1.48572 ) { + sum += -5.44992e-05; + } else { + if ( features[1] < -0.610293 ) { + sum += -5.44992e-05; + } else { + sum += 5.44992e-05; + } + } + // tree 2607 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 7.44082e-05; + } else { + sum += -7.44082e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.44082e-05; + } else { + sum += 7.44082e-05; + } + } + // tree 2608 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.6321e-05; + } else { + sum += 7.6321e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.6321e-05; + } else { + sum += -7.6321e-05; + } + } + // tree 2609 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.67056e-05; + } else { + sum += 7.67056e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.67056e-05; + } else { + sum += 7.67056e-05; + } + } + // tree 2610 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.29414e-05; + } else { + sum += -7.29414e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.29414e-05; + } else { + sum += 7.29414e-05; + } + } + // tree 2611 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 7.29703e-05; + } else { + sum += -7.29703e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.29703e-05; + } else { + sum += 7.29703e-05; + } + } + // tree 2612 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 5.70502e-05; + } else { + sum += -5.70502e-05; + } + } else { + sum += 5.70502e-05; + } + // tree 2613 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.62905e-05; + } else { + sum += -6.62905e-05; + } + } else { + sum += 6.62905e-05; + } + // tree 2614 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.90733e-05; + } else { + sum += 6.90733e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.90733e-05; + } else { + sum += -6.90733e-05; + } + } + // tree 2615 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -6.95133e-05; + } else { + sum += 6.95133e-05; + } + } else { + if ( features[8] < 2.03427 ) { + sum += 6.95133e-05; + } else { + sum += -6.95133e-05; + } + } + // tree 2616 + if ( features[1] < 0.205661 ) { + if ( features[10] < -27.4195 ) { + sum += 6.5234e-05; + } else { + sum += -6.5234e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.5234e-05; + } else { + sum += -6.5234e-05; + } + } + // tree 2617 + if ( features[11] < 1.84612 ) { + if ( features[1] < 0.177903 ) { + sum += -5.77957e-05; + } else { + sum += 5.77957e-05; + } + } else { + sum += -5.77957e-05; + } + // tree 2618 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.27364e-05; + } else { + sum += 8.27364e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.27364e-05; + } else { + sum += 8.27364e-05; + } + } + // tree 2619 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.23967e-05; + } else { + sum += 8.23967e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.23967e-05; + } else { + sum += 8.23967e-05; + } + } + // tree 2620 + if ( features[3] < 0.0967294 ) { + if ( features[2] < 0.671819 ) { + sum += 5.83447e-05; + } else { + sum += -5.83447e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 5.83447e-05; + } else { + sum += -5.83447e-05; + } + } + // tree 2621 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.33773e-05; + } else { + sum += -7.33773e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.33773e-05; + } else { + sum += 7.33773e-05; + } + } + // tree 2622 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.46808e-05; + } else { + sum += 8.46808e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.46808e-05; + } else { + sum += -8.46808e-05; + } + } + // tree 2623 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.63254e-05; + } else { + sum += -7.63254e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.63254e-05; + } else { + sum += -7.63254e-05; + } + } + // tree 2624 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 6.50313e-05; + } else { + sum += -6.50313e-05; + } + } else { + sum += 6.50313e-05; + } + // tree 2625 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.90091e-05; + } else { + sum += -7.90091e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.90091e-05; + } else { + sum += 7.90091e-05; + } + } + // tree 2626 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -6.4666e-05; + } else { + sum += 6.4666e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -6.4666e-05; + } else { + sum += 6.4666e-05; + } + } + // tree 2627 + if ( features[11] < 1.84612 ) { + if ( features[1] < 0.177903 ) { + sum += -5.76489e-05; + } else { + sum += 5.76489e-05; + } + } else { + sum += -5.76489e-05; + } + // tree 2628 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.87794e-05; + } else { + sum += 7.87794e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.87794e-05; + } else { + sum += 7.87794e-05; + } + } + // tree 2629 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.6464e-05; + } else { + sum += -7.6464e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.6464e-05; + } else { + sum += 7.6464e-05; + } + } + // tree 2630 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.87069e-05; + } else { + sum += -7.87069e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.87069e-05; + } else { + sum += 7.87069e-05; + } + } + // tree 2631 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.58452e-05; + } else { + sum += -7.58452e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.58452e-05; + } else { + sum += -7.58452e-05; + } + } + // tree 2632 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 6.65676e-05; + } else { + sum += -6.65676e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -6.65676e-05; + } else { + sum += 6.65676e-05; + } + } + // tree 2633 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.59437e-05; + } else { + sum += 7.59437e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.59437e-05; + } else { + sum += -7.59437e-05; + } + } + // tree 2634 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.24223e-05; + } else { + sum += 7.24223e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.24223e-05; + } else { + sum += 7.24223e-05; + } + } + // tree 2635 + if ( features[9] < 1.48572 ) { + sum += -6.08879e-05; + } else { + if ( features[7] < 0.390948 ) { + sum += -6.08879e-05; + } else { + sum += 6.08879e-05; + } + } + // tree 2636 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -7.60685e-05; + } else { + sum += 7.60685e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -7.60685e-05; + } else { + sum += 7.60685e-05; + } + } + // tree 2637 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.82011e-05; + } else { + sum += -7.82011e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.82011e-05; + } else { + sum += 7.82011e-05; + } + } + // tree 2638 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.47861e-05; + } else { + sum += 8.47861e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.47861e-05; + } else { + sum += -8.47861e-05; + } + } + // tree 2639 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.78315e-05; + } else { + sum += -7.78315e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.78315e-05; + } else { + sum += 7.78315e-05; + } + } + // tree 2640 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.464495 ) { + sum += 6.4494e-05; + } else { + sum += -6.4494e-05; + } + } else { + sum += 6.4494e-05; + } + // tree 2641 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.53414e-05; + } else { + sum += 7.53414e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.53414e-05; + } else { + sum += -7.53414e-05; + } + } + // tree 2642 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.18711e-05; + } else { + sum += 8.18711e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.18711e-05; + } else { + sum += 8.18711e-05; + } + } + // tree 2643 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.4381e-05; + } else { + sum += 8.4381e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.4381e-05; + } else { + sum += -8.4381e-05; + } + } + // tree 2644 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.55496e-05; + } else { + sum += -7.55496e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.55496e-05; + } else { + sum += 7.55496e-05; + } + } + // tree 2645 + if ( features[9] < 1.48572 ) { + sum += -6.04686e-05; + } else { + if ( features[7] < 0.390948 ) { + sum += -6.04686e-05; + } else { + sum += 6.04686e-05; + } + } + // tree 2646 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.45997e-05; + } else { + sum += 8.45997e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.45997e-05; + } else { + sum += 8.45997e-05; + } + } + // tree 2647 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.61844e-05; + } else { + sum += -7.61844e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.61844e-05; + } else { + sum += 7.61844e-05; + } + } + // tree 2648 + if ( features[7] < 0.464495 ) { + sum += 6.32905e-05; + } else { + if ( features[11] < 1.26963 ) { + sum += -6.32905e-05; + } else { + sum += 6.32905e-05; + } + } + // tree 2649 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.29455e-05; + } else { + sum += -7.29455e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.29455e-05; + } else { + sum += 7.29455e-05; + } + } + // tree 2650 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.28928e-05; + } else { + sum += -7.28928e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.28928e-05; + } else { + sum += 7.28928e-05; + } + } + // tree 2651 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.52196e-05; + } else { + sum += -7.52196e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.52196e-05; + } else { + sum += -7.52196e-05; + } + } + // tree 2652 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.88567e-05; + } else { + sum += 7.88567e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -7.88567e-05; + } else { + sum += 7.88567e-05; + } + } + // tree 2653 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.52797e-05; + } else { + sum += -7.52797e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.52797e-05; + } else { + sum += -7.52797e-05; + } + } + // tree 2654 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.20903e-05; + } else { + sum += -7.20903e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.20903e-05; + } else { + sum += 7.20903e-05; + } + } + // tree 2655 + sum += 3.21177e-05; + // tree 2656 + if ( features[4] < -1.47024 ) { + if ( features[7] < 0.537856 ) { + sum += 7.31913e-05; + } else { + sum += -7.31913e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 7.31913e-05; + } else { + sum += -7.31913e-05; + } + } + // tree 2657 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.84034e-05; + } else { + sum += 7.84034e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.84034e-05; + } else { + sum += 7.84034e-05; + } + } + // tree 2658 + if ( features[3] < 0.0967294 ) { + if ( features[0] < 1.81252 ) { + sum += -6.74105e-05; + } else { + sum += 6.74105e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 6.74105e-05; + } else { + sum += -6.74105e-05; + } + } + // tree 2659 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.17385e-05; + } else { + sum += -6.17385e-05; + } + } else { + if ( features[0] < 2.88598 ) { + sum += 6.17385e-05; + } else { + sum += -6.17385e-05; + } + } + // tree 2660 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.43104e-05; + } else { + sum += 8.43104e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.43104e-05; + } else { + sum += 8.43104e-05; + } + } + // tree 2661 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.49919e-05; + } else { + sum += -7.49919e-05; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 7.49919e-05; + } else { + sum += -7.49919e-05; + } + } + // tree 2662 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.57227e-05; + } else { + sum += -6.57227e-05; + } + } else { + sum += 6.57227e-05; + } + // tree 2663 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 7.1933e-05; + } else { + sum += -7.1933e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.1933e-05; + } else { + sum += 7.1933e-05; + } + } + // tree 2664 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.14838e-05; + } else { + sum += 8.14838e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.14838e-05; + } else { + sum += 8.14838e-05; + } + } + // tree 2665 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.51446e-05; + } else { + sum += -7.51446e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.51446e-05; + } else { + sum += -7.51446e-05; + } + } + // tree 2666 + if ( features[7] < 1.08965 ) { + if ( features[12] < 4.93509 ) { + sum += 6.33798e-05; + } else { + sum += -6.33798e-05; + } + } else { + sum += -6.33798e-05; + } + // tree 2667 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 5.92042e-05; + } else { + sum += -5.92042e-05; + } + } else { + if ( features[2] < -0.873327 ) { + sum += -5.92042e-05; + } else { + sum += 5.92042e-05; + } + } + // tree 2668 + if ( features[8] < 2.24069 ) { + if ( features[0] < 2.7896 ) { + sum += 9.35431e-05; + } else { + sum += -9.35431e-05; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 9.35431e-05; + } else { + sum += -9.35431e-05; + } + } + // tree 2669 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.21236e-05; + } else { + sum += -7.21236e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.21236e-05; + } else { + sum += 7.21236e-05; + } + } + // tree 2670 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.81887e-05; + } else { + sum += 7.81887e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -7.81887e-05; + } else { + sum += 7.81887e-05; + } + } + // tree 2671 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.49202e-05; + } else { + sum += -7.49202e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.49202e-05; + } else { + sum += -7.49202e-05; + } + } + // tree 2672 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.80915e-05; + } else { + sum += 6.80915e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.80915e-05; + } else { + sum += -6.80915e-05; + } + } + // tree 2673 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.74137e-05; + } else { + sum += -7.74137e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.74137e-05; + } else { + sum += 7.74137e-05; + } + } + // tree 2674 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.24974e-05; + } else { + sum += -7.24974e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.24974e-05; + } else { + sum += 7.24974e-05; + } + } + // tree 2675 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.8118e-05; + } else { + sum += 7.8118e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.8118e-05; + } else { + sum += 7.8118e-05; + } + } + // tree 2676 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.79695e-05; + } else { + sum += 6.79695e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.79695e-05; + } else { + sum += -6.79695e-05; + } + } + // tree 2677 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.8487e-05; + } else { + sum += 7.8487e-05; + } + } else { + if ( features[0] < 2.81307 ) { + sum += 7.8487e-05; + } else { + sum += -7.8487e-05; + } + } + // tree 2678 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.72033e-05; + } else { + sum += -6.72033e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.72033e-05; + } else { + sum += -6.72033e-05; + } + } + // tree 2679 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.48306e-05; + } else { + sum += -7.48306e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.48306e-05; + } else { + sum += -7.48306e-05; + } + } + // tree 2680 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.58432e-05; + } else { + sum += 7.58432e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.58432e-05; + } else { + sum += 7.58432e-05; + } + } + // tree 2681 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 6.50398e-05; + } else { + sum += -6.50398e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 6.50398e-05; + } else { + sum += -6.50398e-05; + } + } + // tree 2682 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.47892e-05; + } else { + sum += -7.47892e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.47892e-05; + } else { + sum += -7.47892e-05; + } + } + // tree 2683 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 6.76141e-05; + } else { + sum += -6.76141e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.76141e-05; + } else { + sum += -6.76141e-05; + } + } + // tree 2684 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.77385e-05; + } else { + sum += 7.77385e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.77385e-05; + } else { + sum += 7.77385e-05; + } + } + // tree 2685 + if ( features[7] < 0.464495 ) { + if ( features[0] < 1.66342 ) { + sum += -6.81952e-05; + } else { + sum += 6.81952e-05; + } + } else { + if ( features[5] < 0.681654 ) { + sum += -6.81952e-05; + } else { + sum += 6.81952e-05; + } + } + // tree 2686 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.58976e-05; + } else { + sum += 6.58976e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.58976e-05; + } else { + sum += -6.58976e-05; + } + } + // tree 2687 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.5535e-05; + } else { + sum += -7.5535e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.5535e-05; + } else { + sum += 7.5535e-05; + } + } + // tree 2688 + if ( features[1] < 0.205661 ) { + if ( features[4] < -1.99208 ) { + sum += 7.25084e-05; + } else { + sum += -7.25084e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.25084e-05; + } else { + sum += -7.25084e-05; + } + } + // tree 2689 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 6.51272e-05; + } else { + sum += -6.51272e-05; + } + } else { + sum += 6.51272e-05; + } + // tree 2690 + if ( features[1] < 0.205661 ) { + if ( features[2] < -0.496694 ) { + sum += 6.23334e-05; + } else { + sum += -6.23334e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.23334e-05; + } else { + sum += -6.23334e-05; + } + } + // tree 2691 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.77274e-05; + } else { + sum += 6.77274e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.77274e-05; + } else { + sum += -6.77274e-05; + } + } + // tree 2692 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -6.54598e-05; + } else { + sum += 6.54598e-05; + } + } else { + if ( features[2] < 0.632998 ) { + sum += 6.54598e-05; + } else { + sum += -6.54598e-05; + } + } + // tree 2693 + if ( features[4] < -1.81813 ) { + sum += 7.09329e-05; + } else { + if ( features[4] < -0.707118 ) { + sum += -7.09329e-05; + } else { + sum += 7.09329e-05; + } + } + // tree 2694 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.67993e-05; + } else { + sum += 7.67993e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.67993e-05; + } else { + sum += 7.67993e-05; + } + } + // tree 2695 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.15282e-05; + } else { + sum += -7.15282e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.15282e-05; + } else { + sum += 7.15282e-05; + } + } + // tree 2696 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -8.10681e-05; + } else { + sum += 8.10681e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -8.10681e-05; + } else { + sum += 8.10681e-05; + } + } + // tree 2697 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.74776e-05; + } else { + sum += -7.74776e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.74776e-05; + } else { + sum += 7.74776e-05; + } + } + // tree 2698 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.13898e-05; + } else { + sum += 7.13898e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.13898e-05; + } else { + sum += 7.13898e-05; + } + } + // tree 2699 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.75904e-05; + } else { + sum += -6.75904e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.75904e-05; + } else { + sum += -6.75904e-05; + } + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2700-2999.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2700-2999.cpp new file mode 100644 index 0000000000000000000000000000000000000000..07cb08aed785993b5c4ab8f577863d08af31c4f3 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_2700-2999.cpp @@ -0,0 +1,4042 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_9( const std::vector<double>& features ) const { + double sum = 0; + + // tree 2700 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.18912e-05; + } else { + sum += -7.18912e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.18912e-05; + } else { + sum += 7.18912e-05; + } + } + // tree 2701 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.73086e-05; + } else { + sum += -6.73086e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.73086e-05; + } else { + sum += -6.73086e-05; + } + } + // tree 2702 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 6.69759e-05; + } else { + sum += -6.69759e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -6.69759e-05; + } else { + sum += 6.69759e-05; + } + } + // tree 2703 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.7281e-05; + } else { + sum += -6.7281e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.7281e-05; + } else { + sum += -6.7281e-05; + } + } + // tree 2704 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 7.86898e-05; + } else { + sum += -7.86898e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.86898e-05; + } else { + sum += 7.86898e-05; + } + } + // tree 2705 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.3549e-05; + } else { + sum += 8.3549e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.3549e-05; + } else { + sum += 8.3549e-05; + } + } + // tree 2706 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -6.10337e-05; + } else { + sum += 6.10337e-05; + } + } else { + if ( features[1] < -0.450506 ) { + sum += -6.10337e-05; + } else { + sum += 6.10337e-05; + } + } + // tree 2707 + if ( features[5] < 0.473096 ) { + sum += 5.81607e-05; + } else { + if ( features[2] < 0.632998 ) { + sum += 5.81607e-05; + } else { + sum += -5.81607e-05; + } + } + // tree 2708 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.52205e-05; + } else { + sum += -6.52205e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.52205e-05; + } else { + sum += -6.52205e-05; + } + } + // tree 2709 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.72502e-05; + } else { + sum += 7.72502e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.72502e-05; + } else { + sum += 7.72502e-05; + } + } + // tree 2710 + if ( features[7] < 0.464495 ) { + if ( features[4] < -0.600526 ) { + sum += 6.71204e-05; + } else { + sum += -6.71204e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -6.71204e-05; + } else { + sum += 6.71204e-05; + } + } + // tree 2711 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.52025e-05; + } else { + sum += -6.52025e-05; + } + } else { + sum += 6.52025e-05; + } + // tree 2712 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.4843e-05; + } else { + sum += 6.4843e-05; + } + } else { + sum += 6.4843e-05; + } + // tree 2713 + if ( features[7] < 0.464495 ) { + if ( features[4] < -0.600526 ) { + sum += 7.22302e-05; + } else { + sum += -7.22302e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.22302e-05; + } else { + sum += 7.22302e-05; + } + } + // tree 2714 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.81497e-05; + } else { + sum += 7.81497e-05; + } + } else { + if ( features[11] < 1.26963 ) { + sum += -7.81497e-05; + } else { + sum += 7.81497e-05; + } + } + // tree 2715 + if ( features[4] < -1.81813 ) { + sum += 7.05779e-05; + } else { + if ( features[4] < -0.707118 ) { + sum += -7.05779e-05; + } else { + sum += 7.05779e-05; + } + } + // tree 2716 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.70677e-05; + } else { + sum += 6.70677e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.70677e-05; + } else { + sum += -6.70677e-05; + } + } + // tree 2717 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -7.07815e-05; + } else { + sum += 7.07815e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.07815e-05; + } else { + sum += 7.07815e-05; + } + } + // tree 2718 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.4713e-05; + } else { + sum += -6.4713e-05; + } + } else { + sum += 6.4713e-05; + } + // tree 2719 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 7.39562e-05; + } else { + sum += -7.39562e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.39562e-05; + } else { + sum += -7.39562e-05; + } + } + // tree 2720 + if ( features[9] < 1.48572 ) { + sum += -5.30032e-05; + } else { + if ( features[1] < -0.610293 ) { + sum += -5.30032e-05; + } else { + sum += 5.30032e-05; + } + } + // tree 2721 + if ( features[0] < 1.68308 ) { + if ( features[2] < 0.493201 ) { + sum += 6.54447e-05; + } else { + sum += -6.54447e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.54447e-05; + } else { + sum += -6.54447e-05; + } + } + // tree 2722 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.66204e-05; + } else { + sum += -6.66204e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.66204e-05; + } else { + sum += -6.66204e-05; + } + } + // tree 2723 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 6.72569e-05; + } else { + sum += -6.72569e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.72569e-05; + } else { + sum += -6.72569e-05; + } + } + // tree 2724 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.14772e-05; + } else { + sum += -7.14772e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.14772e-05; + } else { + sum += 7.14772e-05; + } + } + // tree 2725 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.362e-05; + } else { + sum += -7.362e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.362e-05; + } else { + sum += -7.362e-05; + } + } + // tree 2726 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 6.50394e-05; + } else { + sum += -6.50394e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.50394e-05; + } else { + sum += -6.50394e-05; + } + } + // tree 2727 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.15416e-05; + } else { + sum += 7.15416e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.15416e-05; + } else { + sum += 7.15416e-05; + } + } + // tree 2728 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.64739e-05; + } else { + sum += 7.64739e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.64739e-05; + } else { + sum += 7.64739e-05; + } + } + // tree 2729 + if ( features[9] < 1.48572 ) { + sum += -5.27322e-05; + } else { + if ( features[1] < -0.610293 ) { + sum += -5.27322e-05; + } else { + sum += 5.27322e-05; + } + } + // tree 2730 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 7.6693e-05; + } else { + sum += -7.6693e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -7.6693e-05; + } else { + sum += 7.6693e-05; + } + } + // tree 2731 + if ( features[4] < -1.81813 ) { + sum += 7.02217e-05; + } else { + if ( features[4] < -0.707118 ) { + sum += -7.02217e-05; + } else { + sum += 7.02217e-05; + } + } + // tree 2732 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.09159e-05; + } else { + sum += 8.09159e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -8.09159e-05; + } else { + sum += 8.09159e-05; + } + } + // tree 2733 + if ( features[3] < 0.0967294 ) { + if ( features[6] < -0.231447 ) { + sum += 6.00687e-05; + } else { + sum += -6.00687e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -6.00687e-05; + } else { + sum += 6.00687e-05; + } + } + // tree 2734 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 9.05282e-05; + } else { + sum += -9.05282e-05; + } + } else { + if ( features[4] < -0.712726 ) { + sum += -9.05282e-05; + } else { + sum += 9.05282e-05; + } + } + // tree 2735 + if ( features[7] < 0.464495 ) { + sum += 6.7163e-05; + } else { + if ( features[9] < 2.74376 ) { + sum += -6.7163e-05; + } else { + sum += 6.7163e-05; + } + } + // tree 2736 + if ( features[1] < 0.205661 ) { + if ( features[4] < -1.99208 ) { + sum += 6.89922e-05; + } else { + sum += -6.89922e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.89922e-05; + } else { + sum += 6.89922e-05; + } + } + // tree 2737 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.36269e-05; + } else { + sum += 7.36269e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.36269e-05; + } else { + sum += -7.36269e-05; + } + } + // tree 2738 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 6.43612e-05; + } else { + sum += -6.43612e-05; + } + } else { + sum += 6.43612e-05; + } + // tree 2739 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.09012e-05; + } else { + sum += -7.09012e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.09012e-05; + } else { + sum += 7.09012e-05; + } + } + // tree 2740 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.205704 ) { + sum += -6.56568e-05; + } else { + sum += 6.56568e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 6.56568e-05; + } else { + sum += -6.56568e-05; + } + } + // tree 2741 + if ( features[12] < 4.57639 ) { + sum += 6.45985e-05; + } else { + if ( features[0] < 2.53058 ) { + sum += -6.45985e-05; + } else { + sum += 6.45985e-05; + } + } + // tree 2742 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -6.66392e-05; + } else { + sum += 6.66392e-05; + } + } else { + if ( features[11] < 1.75004 ) { + sum += -6.66392e-05; + } else { + sum += 6.66392e-05; + } + } + // tree 2743 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.33924e-05; + } else { + sum += -7.33924e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -7.33924e-05; + } else { + sum += 7.33924e-05; + } + } + // tree 2744 + if ( features[1] < 0.205661 ) { + if ( features[10] < -27.4195 ) { + sum += 7.17349e-05; + } else { + sum += -7.17349e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.17349e-05; + } else { + sum += -7.17349e-05; + } + } + // tree 2745 + if ( features[0] < 1.68308 ) { + if ( features[11] < 1.57965 ) { + sum += 6.16123e-05; + } else { + sum += -6.16123e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -6.16123e-05; + } else { + sum += 6.16123e-05; + } + } + // tree 2746 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.4773e-05; + } else { + sum += 7.4773e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -7.4773e-05; + } else { + sum += 7.4773e-05; + } + } + // tree 2747 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.25269e-05; + } else { + sum += 8.25269e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.25269e-05; + } else { + sum += 8.25269e-05; + } + } + // tree 2748 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.05705e-05; + } else { + sum += -7.05705e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.05705e-05; + } else { + sum += 7.05705e-05; + } + } + // tree 2749 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.64433e-05; + } else { + sum += 7.64433e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.64433e-05; + } else { + sum += 7.64433e-05; + } + } + // tree 2750 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.29607e-05; + } else { + sum += -7.29607e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.29607e-05; + } else { + sum += -7.29607e-05; + } + } + // tree 2751 + if ( features[7] < 0.464495 ) { + if ( features[3] < 0.0483549 ) { + sum += 7.31835e-05; + } else { + sum += -7.31835e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 7.31835e-05; + } else { + sum += -7.31835e-05; + } + } + // tree 2752 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.35502e-05; + } else { + sum += 7.35502e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.35502e-05; + } else { + sum += -7.35502e-05; + } + } + // tree 2753 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.59093e-05; + } else { + sum += 7.59093e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.59093e-05; + } else { + sum += 7.59093e-05; + } + } + // tree 2754 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.38696e-05; + } else { + sum += -7.38696e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.38696e-05; + } else { + sum += -7.38696e-05; + } + } + // tree 2755 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.17278e-05; + } else { + sum += 8.17278e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.17278e-05; + } else { + sum += -8.17278e-05; + } + } + // tree 2756 + if ( features[12] < 4.57639 ) { + sum += 6.39977e-05; + } else { + if ( features[4] < -1.12229 ) { + sum += -6.39977e-05; + } else { + sum += 6.39977e-05; + } + } + // tree 2757 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.64795e-05; + } else { + sum += -7.64795e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.64795e-05; + } else { + sum += 7.64795e-05; + } + } + // tree 2758 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.1078e-05; + } else { + sum += -7.1078e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.1078e-05; + } else { + sum += 7.1078e-05; + } + } + // tree 2759 + if ( features[1] < 0.205661 ) { + if ( features[4] < -1.99208 ) { + sum += 7.09923e-05; + } else { + sum += -7.09923e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.09923e-05; + } else { + sum += -7.09923e-05; + } + } + // tree 2760 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.00534e-05; + } else { + sum += 7.00534e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -7.00534e-05; + } else { + sum += 7.00534e-05; + } + } + // tree 2761 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.44945e-05; + } else { + sum += -7.44945e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -7.44945e-05; + } else { + sum += 7.44945e-05; + } + } + // tree 2762 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -7.29243e-05; + } else { + sum += 7.29243e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.29243e-05; + } else { + sum += -7.29243e-05; + } + } + // tree 2763 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 6.13912e-05; + } else { + sum += -6.13912e-05; + } + } else { + if ( features[9] < 2.15069 ) { + sum += -6.13912e-05; + } else { + sum += 6.13912e-05; + } + } + // tree 2764 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -7.80074e-05; + } else { + sum += 7.80074e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 7.80074e-05; + } else { + sum += -7.80074e-05; + } + } + // tree 2765 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.32655e-05; + } else { + sum += -7.32655e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.32655e-05; + } else { + sum += -7.32655e-05; + } + } + // tree 2766 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 7.22696e-05; + } else { + sum += -7.22696e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.22696e-05; + } else { + sum += -7.22696e-05; + } + } + // tree 2767 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.25649e-05; + } else { + sum += -7.25649e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.25649e-05; + } else { + sum += -7.25649e-05; + } + } + // tree 2768 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 7.21796e-05; + } else { + sum += -7.21796e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.21796e-05; + } else { + sum += -7.21796e-05; + } + } + // tree 2769 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.62314e-05; + } else { + sum += -6.62314e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.62314e-05; + } else { + sum += -6.62314e-05; + } + } + // tree 2770 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.64806e-05; + } else { + sum += -7.64806e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.64806e-05; + } else { + sum += 7.64806e-05; + } + } + // tree 2771 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.44918e-05; + } else { + sum += 7.44918e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.44918e-05; + } else { + sum += 7.44918e-05; + } + } + // tree 2772 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.77313e-05; + } else { + sum += 7.77313e-05; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -7.77313e-05; + } else { + sum += 7.77313e-05; + } + } + // tree 2773 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.19975e-05; + } else { + sum += -7.19975e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.19975e-05; + } else { + sum += -7.19975e-05; + } + } + // tree 2774 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.44657e-05; + } else { + sum += 6.44657e-05; + } + } else { + sum += 6.44657e-05; + } + // tree 2775 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 8.64192e-05; + } else { + sum += -8.64192e-05; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 8.64192e-05; + } else { + sum += -8.64192e-05; + } + } + // tree 2776 + if ( features[7] < 1.08965 ) { + if ( features[12] < 4.93509 ) { + sum += 6.23062e-05; + } else { + sum += -6.23062e-05; + } + } else { + sum += -6.23062e-05; + } + // tree 2777 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.10379e-05; + } else { + sum += -7.10379e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.10379e-05; + } else { + sum += 7.10379e-05; + } + } + // tree 2778 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.91699e-05; + } else { + sum += -6.91699e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.91699e-05; + } else { + sum += 6.91699e-05; + } + } + // tree 2779 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.24488e-05; + } else { + sum += -7.24488e-05; + } + } else { + if ( features[7] < 0.464439 ) { + sum += 7.24488e-05; + } else { + sum += -7.24488e-05; + } + } + // tree 2780 + if ( features[7] < 0.390948 ) { + if ( features[8] < 2.11248 ) { + sum += 8.22492e-05; + } else { + sum += -8.22492e-05; + } + } else { + if ( features[7] < 0.469242 ) { + sum += 8.22492e-05; + } else { + sum += -8.22492e-05; + } + } + // tree 2781 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -6.9477e-05; + } else { + sum += 6.9477e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 6.9477e-05; + } else { + sum += -6.9477e-05; + } + } + // tree 2782 + if ( features[7] < 0.390948 ) { + if ( features[2] < -0.221269 ) { + sum += 7.83909e-05; + } else { + sum += -7.83909e-05; + } + } else { + if ( features[7] < 1.09558 ) { + sum += 7.83909e-05; + } else { + sum += -7.83909e-05; + } + } + // tree 2783 + if ( features[5] < 1.0961 ) { + if ( features[1] < 0.10369 ) { + sum += -6.31693e-05; + } else { + sum += 6.31693e-05; + } + } else { + if ( features[3] < 0.0161134 ) { + sum += 6.31693e-05; + } else { + sum += -6.31693e-05; + } + } + // tree 2784 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 7.13621e-05; + } else { + sum += -7.13621e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.13621e-05; + } else { + sum += 7.13621e-05; + } + } + // tree 2785 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 5.9129e-05; + } else { + sum += -5.9129e-05; + } + } else { + if ( features[2] < -0.873327 ) { + sum += -5.9129e-05; + } else { + sum += 5.9129e-05; + } + } + // tree 2786 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 6.32596e-05; + } else { + sum += -6.32596e-05; + } + } else { + sum += 6.32596e-05; + } + // tree 2787 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.59853e-05; + } else { + sum += -6.59853e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.59853e-05; + } else { + sum += -6.59853e-05; + } + } + // tree 2788 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.06917e-05; + } else { + sum += 7.06917e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -7.06917e-05; + } else { + sum += 7.06917e-05; + } + } + // tree 2789 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 6.97653e-05; + } else { + sum += -6.97653e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.97653e-05; + } else { + sum += 6.97653e-05; + } + } + // tree 2790 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.9951e-05; + } else { + sum += -6.9951e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.9951e-05; + } else { + sum += 6.9951e-05; + } + } + // tree 2791 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.2328e-05; + } else { + sum += -7.2328e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.2328e-05; + } else { + sum += -7.2328e-05; + } + } + // tree 2792 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.53552e-05; + } else { + sum += -6.53552e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.53552e-05; + } else { + sum += -6.53552e-05; + } + } + // tree 2793 + if ( features[4] < -1.81813 ) { + sum += 6.15395e-05; + } else { + if ( features[1] < 0.195053 ) { + sum += -6.15395e-05; + } else { + sum += 6.15395e-05; + } + } + // tree 2794 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.25484e-05; + } else { + sum += 7.25484e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.25484e-05; + } else { + sum += -7.25484e-05; + } + } + // tree 2795 + if ( features[3] < 0.0967294 ) { + if ( features[8] < 1.51822 ) { + sum += -5.62311e-05; + } else { + sum += 5.62311e-05; + } + } else { + if ( features[9] < 2.15069 ) { + sum += -5.62311e-05; + } else { + sum += 5.62311e-05; + } + } + // tree 2796 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.42893e-05; + } else { + sum += 7.42893e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -7.42893e-05; + } else { + sum += 7.42893e-05; + } + } + // tree 2797 + if ( features[1] < 0.205661 ) { + if ( features[11] < 1.17355 ) { + sum += 6.41908e-05; + } else { + sum += -6.41908e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.41908e-05; + } else { + sum += 6.41908e-05; + } + } + // tree 2798 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 6.58088e-05; + } else { + sum += -6.58088e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.58088e-05; + } else { + sum += -6.58088e-05; + } + } + // tree 2799 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.45838e-05; + } else { + sum += 7.45838e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.45838e-05; + } else { + sum += 7.45838e-05; + } + } + // tree 2800 + if ( features[0] < 1.68308 ) { + if ( features[2] < 0.493201 ) { + sum += 5.67063e-05; + } else { + sum += -5.67063e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 5.67063e-05; + } else { + sum += -5.67063e-05; + } + } + // tree 2801 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.20036e-05; + } else { + sum += -7.20036e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.20036e-05; + } else { + sum += -7.20036e-05; + } + } + // tree 2802 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -6.55669e-05; + } else { + sum += 6.55669e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.55669e-05; + } else { + sum += -6.55669e-05; + } + } + // tree 2803 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.95781e-05; + } else { + sum += -6.95781e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.95781e-05; + } else { + sum += 6.95781e-05; + } + } + // tree 2804 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.52206e-05; + } else { + sum += 6.52206e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.52206e-05; + } else { + sum += -6.52206e-05; + } + } + // tree 2805 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.1749e-05; + } else { + sum += -7.1749e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.1749e-05; + } else { + sum += -7.1749e-05; + } + } + // tree 2806 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 6.60918e-05; + } else { + sum += -6.60918e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -6.60918e-05; + } else { + sum += 6.60918e-05; + } + } + // tree 2807 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.55838e-05; + } else { + sum += -7.55838e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.55838e-05; + } else { + sum += 7.55838e-05; + } + } + // tree 2808 + if ( features[7] < 0.464495 ) { + if ( features[4] < -0.600526 ) { + sum += 7.155e-05; + } else { + sum += -7.155e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.155e-05; + } else { + sum += 7.155e-05; + } + } + // tree 2809 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.19644e-05; + } else { + sum += -7.19644e-05; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -7.19644e-05; + } else { + sum += 7.19644e-05; + } + } + // tree 2810 + if ( features[5] < 1.0961 ) { + if ( features[7] < 0.390948 ) { + sum += -6.3983e-05; + } else { + sum += 6.3983e-05; + } + } else { + if ( features[11] < 1.13118 ) { + sum += 6.3983e-05; + } else { + sum += -6.3983e-05; + } + } + // tree 2811 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.4944e-05; + } else { + sum += -6.4944e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.4944e-05; + } else { + sum += -6.4944e-05; + } + } + // tree 2812 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -6.5377e-05; + } else { + sum += 6.5377e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.5377e-05; + } else { + sum += -6.5377e-05; + } + } + // tree 2813 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.87538e-05; + } else { + sum += -6.87538e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.87538e-05; + } else { + sum += 6.87538e-05; + } + } + // tree 2814 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 7.12327e-05; + } else { + sum += -7.12327e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.12327e-05; + } else { + sum += -7.12327e-05; + } + } + // tree 2815 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.51533e-05; + } else { + sum += -7.51533e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.51533e-05; + } else { + sum += 7.51533e-05; + } + } + // tree 2816 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.50414e-05; + } else { + sum += -7.50414e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.50414e-05; + } else { + sum += 7.50414e-05; + } + } + // tree 2817 + if ( features[9] < 1.48572 ) { + sum += -5.12189e-05; + } else { + if ( features[3] < 0.0967294 ) { + sum += 5.12189e-05; + } else { + sum += -5.12189e-05; + } + } + // tree 2818 + if ( features[1] < 0.205661 ) { + if ( features[2] < -0.496694 ) { + sum += 6.45871e-05; + } else { + sum += -6.45871e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.45871e-05; + } else { + sum += 6.45871e-05; + } + } + // tree 2819 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.90105e-05; + } else { + sum += -6.90105e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.90105e-05; + } else { + sum += 6.90105e-05; + } + } + // tree 2820 + if ( features[1] < 0.205661 ) { + if ( features[10] < -27.4195 ) { + sum += 6.11308e-05; + } else { + sum += -6.11308e-05; + } + } else { + sum += 6.11308e-05; + } + // tree 2821 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.48682e-05; + } else { + sum += 7.48682e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.48682e-05; + } else { + sum += 7.48682e-05; + } + } + // tree 2822 + if ( features[5] < 1.0961 ) { + if ( features[7] < 0.390948 ) { + sum += -6.13741e-05; + } else { + sum += 6.13741e-05; + } + } else { + if ( features[8] < 2.08132 ) { + sum += -6.13741e-05; + } else { + sum += 6.13741e-05; + } + } + // tree 2823 + if ( features[5] < 1.0961 ) { + if ( features[1] < 0.10369 ) { + sum += -6.24712e-05; + } else { + sum += 6.24712e-05; + } + } else { + if ( features[3] < 0.0161134 ) { + sum += 6.24712e-05; + } else { + sum += -6.24712e-05; + } + } + // tree 2824 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.44369e-05; + } else { + sum += -7.44369e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.44369e-05; + } else { + sum += 7.44369e-05; + } + } + // tree 2825 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.44673e-05; + } else { + sum += 7.44673e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.44673e-05; + } else { + sum += 7.44673e-05; + } + } + // tree 2826 + if ( features[6] < -0.231447 ) { + if ( features[11] < 1.84612 ) { + sum += 6.24251e-05; + } else { + sum += -6.24251e-05; + } + } else { + if ( features[9] < 1.99097 ) { + sum += 6.24251e-05; + } else { + sum += -6.24251e-05; + } + } + // tree 2827 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.3306e-05; + } else { + sum += -7.3306e-05; + } + } else { + if ( features[9] < 1.86353 ) { + sum += -7.3306e-05; + } else { + sum += 7.3306e-05; + } + } + // tree 2828 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.45431e-05; + } else { + sum += -6.45431e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.45431e-05; + } else { + sum += 6.45431e-05; + } + } + // tree 2829 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.99548e-05; + } else { + sum += -6.99548e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.99548e-05; + } else { + sum += 6.99548e-05; + } + } + // tree 2830 + if ( features[0] < 1.68308 ) { + if ( features[2] < 0.493201 ) { + sum += 6.27967e-05; + } else { + sum += -6.27967e-05; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -6.27967e-05; + } else { + sum += 6.27967e-05; + } + } + // tree 2831 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 7.09974e-05; + } else { + sum += -7.09974e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.09974e-05; + } else { + sum += -7.09974e-05; + } + } + // tree 2832 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.41771e-05; + } else { + sum += -7.41771e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.41771e-05; + } else { + sum += 7.41771e-05; + } + } + // tree 2833 + if ( features[1] < 0.205661 ) { + if ( features[2] < -0.496694 ) { + sum += 5.81338e-05; + } else { + sum += -5.81338e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 5.81338e-05; + } else { + sum += -5.81338e-05; + } + } + // tree 2834 + if ( features[9] < 1.48572 ) { + sum += -5.39697e-05; + } else { + if ( features[0] < 1.40059 ) { + sum += -5.39697e-05; + } else { + sum += 5.39697e-05; + } + } + // tree 2835 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.475304 ) { + sum += 7.01501e-05; + } else { + sum += -7.01501e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 7.01501e-05; + } else { + sum += -7.01501e-05; + } + } + // tree 2836 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.37891e-05; + } else { + sum += -7.37891e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.37891e-05; + } else { + sum += 7.37891e-05; + } + } + // tree 2837 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 6.85835e-05; + } else { + sum += -6.85835e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.85835e-05; + } else { + sum += 6.85835e-05; + } + } + // tree 2838 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 6.82172e-05; + } else { + sum += -6.82172e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.82172e-05; + } else { + sum += 6.82172e-05; + } + } + // tree 2839 + if ( features[0] < 1.68308 ) { + if ( features[3] < 0.0161829 ) { + sum += 6.28314e-05; + } else { + sum += -6.28314e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.28314e-05; + } else { + sum += -6.28314e-05; + } + } + // tree 2840 + if ( features[9] < 1.48572 ) { + sum += -4.92609e-05; + } else { + if ( features[5] < 1.09243 ) { + sum += 4.92609e-05; + } else { + sum += -4.92609e-05; + } + } + // tree 2841 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.475304 ) { + sum += 6.46826e-05; + } else { + sum += -6.46826e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -6.46826e-05; + } else { + sum += 6.46826e-05; + } + } + // tree 2842 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.92794e-05; + } else { + sum += 7.92794e-05; + } + } else { + if ( features[5] < 0.681654 ) { + sum += -7.92794e-05; + } else { + sum += 7.92794e-05; + } + } + // tree 2843 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.3761e-05; + } else { + sum += 7.3761e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.3761e-05; + } else { + sum += 7.3761e-05; + } + } + // tree 2844 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.08765e-05; + } else { + sum += 8.08765e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 8.08765e-05; + } else { + sum += -8.08765e-05; + } + } + // tree 2845 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.52609e-05; + } else { + sum += 7.52609e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.52609e-05; + } else { + sum += 7.52609e-05; + } + } + // tree 2846 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.08731e-05; + } else { + sum += 7.08731e-05; + } + } else { + if ( features[3] < 0.0644871 ) { + sum += -7.08731e-05; + } else { + sum += 7.08731e-05; + } + } + // tree 2847 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.1529e-05; + } else { + sum += 8.1529e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.1529e-05; + } else { + sum += 8.1529e-05; + } + } + // tree 2848 + if ( features[0] < 1.68308 ) { + sum += -5.16743e-05; + } else { + if ( features[0] < 2.88598 ) { + sum += 5.16743e-05; + } else { + sum += -5.16743e-05; + } + } + // tree 2849 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.37313e-05; + } else { + sum += -7.37313e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.37313e-05; + } else { + sum += 7.37313e-05; + } + } + // tree 2850 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 6.42235e-05; + } else { + sum += -6.42235e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -6.42235e-05; + } else { + sum += 6.42235e-05; + } + } + // tree 2851 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.84548e-05; + } else { + sum += -6.84548e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.84548e-05; + } else { + sum += 6.84548e-05; + } + } + // tree 2852 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.55104e-05; + } else { + sum += 6.55104e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.55104e-05; + } else { + sum += -6.55104e-05; + } + } + // tree 2853 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.34542e-05; + } else { + sum += 7.34542e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -7.34542e-05; + } else { + sum += 7.34542e-05; + } + } + // tree 2854 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 6.51456e-05; + } else { + sum += -6.51456e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.51456e-05; + } else { + sum += -6.51456e-05; + } + } + // tree 2855 + if ( features[3] < 0.0967294 ) { + if ( features[3] < 0.0218434 ) { + sum += 5.92e-05; + } else { + sum += -5.92e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 5.92e-05; + } else { + sum += -5.92e-05; + } + } + // tree 2856 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.45058e-05; + } else { + sum += 7.45058e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.45058e-05; + } else { + sum += 7.45058e-05; + } + } + // tree 2857 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.11436e-05; + } else { + sum += 8.11436e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.11436e-05; + } else { + sum += 8.11436e-05; + } + } + // tree 2858 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.87008e-05; + } else { + sum += -6.87008e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.87008e-05; + } else { + sum += 6.87008e-05; + } + } + // tree 2859 + if ( features[7] < 0.464495 ) { + if ( features[5] < 0.643887 ) { + sum += 7.36607e-05; + } else { + sum += -7.36607e-05; + } + } else { + if ( features[2] < 0.444747 ) { + sum += 7.36607e-05; + } else { + sum += -7.36607e-05; + } + } + // tree 2860 + if ( features[3] < 0.0967294 ) { + if ( features[4] < -1.2963 ) { + sum += 4.87643e-05; + } else { + sum += -4.87643e-05; + } + } else { + if ( features[2] < 0.444703 ) { + sum += -4.87643e-05; + } else { + sum += 4.87643e-05; + } + } + // tree 2861 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.83415e-05; + } else { + sum += -6.83415e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.83415e-05; + } else { + sum += 6.83415e-05; + } + } + // tree 2862 + if ( features[1] < 0.205661 ) { + if ( features[11] < 1.17355 ) { + sum += 6.54231e-05; + } else { + sum += -6.54231e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.54231e-05; + } else { + sum += -6.54231e-05; + } + } + // tree 2863 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.91478e-05; + } else { + sum += 6.91478e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.91478e-05; + } else { + sum += 6.91478e-05; + } + } + // tree 2864 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.39686e-05; + } else { + sum += -7.39686e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.39686e-05; + } else { + sum += 7.39686e-05; + } + } + // tree 2865 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.94952e-05; + } else { + sum += 6.94952e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.94952e-05; + } else { + sum += 6.94952e-05; + } + } + // tree 2866 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.13245e-05; + } else { + sum += 7.13245e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.13245e-05; + } else { + sum += -7.13245e-05; + } + } + // tree 2867 + if ( features[5] < 0.473096 ) { + sum += 5.75528e-05; + } else { + if ( features[11] < 1.17355 ) { + sum += 5.75528e-05; + } else { + sum += -5.75528e-05; + } + } + // tree 2868 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 6.34888e-05; + } else { + sum += -6.34888e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -6.34888e-05; + } else { + sum += 6.34888e-05; + } + } + // tree 2869 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -6.53783e-05; + } else { + sum += 6.53783e-05; + } + } else { + if ( features[11] < 1.75004 ) { + sum += -6.53783e-05; + } else { + sum += 6.53783e-05; + } + } + // tree 2870 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.45265e-05; + } else { + sum += -6.45265e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.45265e-05; + } else { + sum += -6.45265e-05; + } + } + // tree 2871 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.19006e-05; + } else { + sum += -6.19006e-05; + } + } else { + sum += 6.19006e-05; + } + // tree 2872 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.92942e-05; + } else { + sum += 7.92942e-05; + } + } else { + if ( features[5] < 0.681654 ) { + sum += -7.92942e-05; + } else { + sum += 7.92942e-05; + } + } + // tree 2873 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.34237e-05; + } else { + sum += -6.34237e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -6.34237e-05; + } else { + sum += 6.34237e-05; + } + } + // tree 2874 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.09538e-05; + } else { + sum += 8.09538e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.09538e-05; + } else { + sum += 8.09538e-05; + } + } + // tree 2875 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -7.61745e-05; + } else { + sum += 7.61745e-05; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 7.61745e-05; + } else { + sum += -7.61745e-05; + } + } + // tree 2876 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 6.50787e-05; + } else { + sum += -6.50787e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -6.50787e-05; + } else { + sum += 6.50787e-05; + } + } + // tree 2877 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.37098e-05; + } else { + sum += -6.37098e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.37098e-05; + } else { + sum += 6.37098e-05; + } + } + // tree 2878 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.47937e-05; + } else { + sum += 6.47937e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.47937e-05; + } else { + sum += -6.47937e-05; + } + } + // tree 2879 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -8.06432e-05; + } else { + sum += 8.06432e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.06432e-05; + } else { + sum += 8.06432e-05; + } + } + // tree 2880 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.93549e-05; + } else { + sum += 7.93549e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 7.93549e-05; + } else { + sum += -7.93549e-05; + } + } + // tree 2881 + if ( features[3] < 0.0967294 ) { + if ( features[9] < 1.48572 ) { + sum += -6.15361e-05; + } else { + sum += 6.15361e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -6.15361e-05; + } else { + sum += 6.15361e-05; + } + } + // tree 2882 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.29446e-05; + } else { + sum += 7.29446e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.29446e-05; + } else { + sum += 7.29446e-05; + } + } + // tree 2883 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.36738e-05; + } else { + sum += 7.36738e-05; + } + } else { + if ( features[11] < 1.012 ) { + sum += -7.36738e-05; + } else { + sum += 7.36738e-05; + } + } + // tree 2884 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 7.60823e-05; + } else { + sum += -7.60823e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 7.60823e-05; + } else { + sum += -7.60823e-05; + } + } + // tree 2885 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.1225e-05; + } else { + sum += -7.1225e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.1225e-05; + } else { + sum += -7.1225e-05; + } + } + // tree 2886 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.92968e-05; + } else { + sum += 7.92968e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 7.92968e-05; + } else { + sum += -7.92968e-05; + } + } + // tree 2887 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 7.10831e-05; + } else { + sum += -7.10831e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.10831e-05; + } else { + sum += -7.10831e-05; + } + } + // tree 2888 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.84546e-05; + } else { + sum += -6.84546e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.84546e-05; + } else { + sum += 6.84546e-05; + } + } + // tree 2889 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.86536e-05; + } else { + sum += 6.86536e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.86536e-05; + } else { + sum += 6.86536e-05; + } + } + // tree 2890 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -6.34749e-05; + } else { + sum += 6.34749e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.34749e-05; + } else { + sum += 6.34749e-05; + } + } + // tree 2891 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.25339e-05; + } else { + sum += 7.25339e-05; + } + } else { + if ( features[12] < 4.9021 ) { + sum += -7.25339e-05; + } else { + sum += 7.25339e-05; + } + } + // tree 2892 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.09569e-05; + } else { + sum += 7.09569e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.09569e-05; + } else { + sum += -7.09569e-05; + } + } + // tree 2893 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -8.01276e-05; + } else { + sum += 8.01276e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -8.01276e-05; + } else { + sum += 8.01276e-05; + } + } + // tree 2894 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.38631e-05; + } else { + sum += 7.38631e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.38631e-05; + } else { + sum += 7.38631e-05; + } + } + // tree 2895 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.10485e-05; + } else { + sum += -7.10485e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.10485e-05; + } else { + sum += -7.10485e-05; + } + } + // tree 2896 + if ( features[7] < 0.464495 ) { + if ( features[3] < 0.0483549 ) { + sum += 7.21195e-05; + } else { + sum += -7.21195e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.21195e-05; + } else { + sum += 7.21195e-05; + } + } + // tree 2897 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.35134e-05; + } else { + sum += -7.35134e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.35134e-05; + } else { + sum += 7.35134e-05; + } + } + // tree 2898 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.08831e-05; + } else { + sum += 7.08831e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.08831e-05; + } else { + sum += -7.08831e-05; + } + } + // tree 2899 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 6.93209e-05; + } else { + sum += -6.93209e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -6.93209e-05; + } else { + sum += 6.93209e-05; + } + } + // tree 2900 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -6.83286e-05; + } else { + sum += 6.83286e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 6.83286e-05; + } else { + sum += -6.83286e-05; + } + } + // tree 2901 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 7.07606e-05; + } else { + sum += -7.07606e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.07606e-05; + } else { + sum += -7.07606e-05; + } + } + // tree 2902 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.96176e-05; + } else { + sum += 7.96176e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.96176e-05; + } else { + sum += 7.96176e-05; + } + } + // tree 2903 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 7.58612e-05; + } else { + sum += -7.58612e-05; + } + } else { + if ( features[5] < 1.09634 ) { + sum += 7.58612e-05; + } else { + sum += -7.58612e-05; + } + } + // tree 2904 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.01952e-05; + } else { + sum += 7.01952e-05; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 7.01952e-05; + } else { + sum += -7.01952e-05; + } + } + // tree 2905 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.37945e-05; + } else { + sum += -6.37945e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.37945e-05; + } else { + sum += -6.37945e-05; + } + } + // tree 2906 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.06274e-05; + } else { + sum += -7.06274e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.06274e-05; + } else { + sum += -7.06274e-05; + } + } + // tree 2907 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -6.897e-05; + } else { + sum += 6.897e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.897e-05; + } else { + sum += 6.897e-05; + } + } + // tree 2908 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.86145e-05; + } else { + sum += -6.86145e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.86145e-05; + } else { + sum += 6.86145e-05; + } + } + // tree 2909 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 7.05349e-05; + } else { + sum += -7.05349e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.05349e-05; + } else { + sum += -7.05349e-05; + } + } + // tree 2910 + if ( features[1] < 0.205661 ) { + if ( features[8] < 2.70579 ) { + sum += 6.63508e-05; + } else { + sum += -6.63508e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.63508e-05; + } else { + sum += 6.63508e-05; + } + } + // tree 2911 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 7.06118e-05; + } else { + sum += -7.06118e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.06118e-05; + } else { + sum += -7.06118e-05; + } + } + // tree 2912 + if ( features[5] < 0.473096 ) { + sum += 5.67528e-05; + } else { + if ( features[11] < 1.17355 ) { + sum += 5.67528e-05; + } else { + sum += -5.67528e-05; + } + } + // tree 2913 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 6.23071e-05; + } else { + sum += -6.23071e-05; + } + } else { + sum += 6.23071e-05; + } + // tree 2914 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -7.04268e-05; + } else { + sum += 7.04268e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.04268e-05; + } else { + sum += -7.04268e-05; + } + } + // tree 2915 + if ( features[5] < 1.0961 ) { + if ( features[12] < 4.93509 ) { + sum += 5.955e-05; + } else { + sum += -5.955e-05; + } + } else { + if ( features[2] < 0.174524 ) { + sum += 5.955e-05; + } else { + sum += -5.955e-05; + } + } + // tree 2916 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.84702e-05; + } else { + sum += 7.84702e-05; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 7.84702e-05; + } else { + sum += -7.84702e-05; + } + } + // tree 2917 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.73991e-05; + } else { + sum += -6.73991e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.73991e-05; + } else { + sum += 6.73991e-05; + } + } + // tree 2918 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.21895e-05; + } else { + sum += -7.21895e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.21895e-05; + } else { + sum += 7.21895e-05; + } + } + // tree 2919 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -7.04533e-05; + } else { + sum += 7.04533e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 7.04533e-05; + } else { + sum += -7.04533e-05; + } + } + // tree 2920 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.30566e-05; + } else { + sum += -7.30566e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.30566e-05; + } else { + sum += 7.30566e-05; + } + } + // tree 2921 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 6.99421e-05; + } else { + sum += -6.99421e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.99421e-05; + } else { + sum += -6.99421e-05; + } + } + // tree 2922 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.82986e-05; + } else { + sum += 6.82986e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.82986e-05; + } else { + sum += 6.82986e-05; + } + } + // tree 2923 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.98179e-05; + } else { + sum += -6.98179e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.98179e-05; + } else { + sum += -6.98179e-05; + } + } + // tree 2924 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -6.82377e-05; + } else { + sum += 6.82377e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.82377e-05; + } else { + sum += 6.82377e-05; + } + } + // tree 2925 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.30232e-05; + } else { + sum += -7.30232e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.30232e-05; + } else { + sum += 7.30232e-05; + } + } + // tree 2926 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 6.77798e-05; + } else { + sum += -6.77798e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.77798e-05; + } else { + sum += 6.77798e-05; + } + } + // tree 2927 + if ( features[2] < 0.821394 ) { + if ( features[7] < 0.390948 ) { + sum += -9.7907e-05; + } else { + sum += 9.7907e-05; + } + } else { + if ( features[7] < 0.626909 ) { + sum += 9.7907e-05; + } else { + sum += -9.7907e-05; + } + } + // tree 2928 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.26174e-05; + } else { + sum += 7.26174e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.26174e-05; + } else { + sum += 7.26174e-05; + } + } + // tree 2929 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.97175e-05; + } else { + sum += -6.97175e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.97175e-05; + } else { + sum += -6.97175e-05; + } + } + // tree 2930 + sum += 3.03716e-05; + // tree 2931 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.74979e-05; + } else { + sum += -6.74979e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.74979e-05; + } else { + sum += 6.74979e-05; + } + } + // tree 2932 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.88973e-05; + } else { + sum += -6.88973e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.88973e-05; + } else { + sum += -6.88973e-05; + } + } + // tree 2933 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.85318e-05; + } else { + sum += -6.85318e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.85318e-05; + } else { + sum += -6.85318e-05; + } + } + // tree 2934 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.41718e-05; + } else { + sum += 6.41718e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.41718e-05; + } else { + sum += -6.41718e-05; + } + } + // tree 2935 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.69159e-05; + } else { + sum += -6.69159e-05; + } + } else { + if ( features[9] < 2.37395 ) { + sum += -6.69159e-05; + } else { + sum += 6.69159e-05; + } + } + // tree 2936 + if ( features[1] < 0.205661 ) { + if ( features[0] < 2.0319 ) { + sum += 6.13641e-05; + } else { + sum += -6.13641e-05; + } + } else { + sum += 6.13641e-05; + } + // tree 2937 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.20793e-05; + } else { + sum += -7.20793e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.20793e-05; + } else { + sum += 7.20793e-05; + } + } + // tree 2938 + if ( features[7] < 1.08965 ) { + if ( features[1] < -0.814248 ) { + sum += -4.86417e-05; + } else { + sum += 4.86417e-05; + } + } else { + sum += -4.86417e-05; + } + // tree 2939 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.92233e-05; + } else { + sum += -6.92233e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.92233e-05; + } else { + sum += -6.92233e-05; + } + } + // tree 2940 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 8.14425e-05; + } else { + sum += -8.14425e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.14425e-05; + } else { + sum += -8.14425e-05; + } + } + // tree 2941 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.16135e-05; + } else { + sum += 7.16135e-05; + } + } else { + if ( features[12] < 4.9021 ) { + sum += -7.16135e-05; + } else { + sum += 7.16135e-05; + } + } + // tree 2942 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.22369e-05; + } else { + sum += 7.22369e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.22369e-05; + } else { + sum += 7.22369e-05; + } + } + // tree 2943 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.34968e-05; + } else { + sum += -6.34968e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.34968e-05; + } else { + sum += -6.34968e-05; + } + } + // tree 2944 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.71941e-05; + } else { + sum += 7.71941e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -7.71941e-05; + } else { + sum += 7.71941e-05; + } + } + // tree 2945 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.1686e-05; + } else { + sum += -7.1686e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.1686e-05; + } else { + sum += 7.1686e-05; + } + } + // tree 2946 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.94973e-05; + } else { + sum += 6.94973e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.94973e-05; + } else { + sum += -6.94973e-05; + } + } + // tree 2947 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.97196e-05; + } else { + sum += 7.97196e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.97196e-05; + } else { + sum += 7.97196e-05; + } + } + // tree 2948 + if ( features[9] < 1.48572 ) { + sum += -3.81963e-05; + } else { + sum += 3.81963e-05; + } + // tree 2949 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.1733e-05; + } else { + sum += -6.1733e-05; + } + } else { + sum += 6.1733e-05; + } + // tree 2950 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.22372e-05; + } else { + sum += -6.22372e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 6.22372e-05; + } else { + sum += -6.22372e-05; + } + } + // tree 2951 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -6.4426e-05; + } else { + sum += 6.4426e-05; + } + } else { + if ( features[11] < 1.75004 ) { + sum += -6.4426e-05; + } else { + sum += 6.4426e-05; + } + } + // tree 2952 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.51365e-05; + } else { + sum += 7.51365e-05; + } + } else { + if ( features[0] < 2.81307 ) { + sum += 7.51365e-05; + } else { + sum += -7.51365e-05; + } + } + // tree 2953 + if ( features[7] < 0.464495 ) { + if ( features[4] < -0.600526 ) { + sum += 6.58858e-05; + } else { + sum += -6.58858e-05; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -6.58858e-05; + } else { + sum += 6.58858e-05; + } + } + // tree 2954 + if ( features[5] < 1.0961 ) { + if ( features[1] < 0.10369 ) { + sum += -5.30051e-05; + } else { + sum += 5.30051e-05; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 5.30051e-05; + } else { + sum += -5.30051e-05; + } + } + // tree 2955 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.92758e-05; + } else { + sum += 7.92758e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.92758e-05; + } else { + sum += 7.92758e-05; + } + } + // tree 2956 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.07831e-05; + } else { + sum += -6.07831e-05; + } + } else { + if ( features[0] < 2.88598 ) { + sum += 6.07831e-05; + } else { + sum += -6.07831e-05; + } + } + // tree 2957 + if ( features[5] < 1.0961 ) { + if ( features[9] < 1.87281 ) { + sum += -5.66246e-05; + } else { + sum += 5.66246e-05; + } + } else { + if ( features[3] < 0.0161134 ) { + sum += 5.66246e-05; + } else { + sum += -5.66246e-05; + } + } + // tree 2958 + if ( features[3] < 0.0967294 ) { + if ( features[1] < 0.177903 ) { + sum += -6.82878e-05; + } else { + sum += 6.82878e-05; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 6.82878e-05; + } else { + sum += -6.82878e-05; + } + } + // tree 2959 + if ( features[0] < 1.68308 ) { + sum += -5.27252e-05; + } else { + if ( features[8] < 2.22547 ) { + sum += -5.27252e-05; + } else { + sum += 5.27252e-05; + } + } + // tree 2960 + if ( features[9] < 1.48572 ) { + sum += -5.76711e-05; + } else { + if ( features[7] < 0.390948 ) { + sum += -5.76711e-05; + } else { + sum += 5.76711e-05; + } + } + // tree 2961 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.369262 ) { + sum += -6.94252e-05; + } else { + sum += 6.94252e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.94252e-05; + } else { + sum += -6.94252e-05; + } + } + // tree 2962 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.18453e-05; + } else { + sum += 7.18453e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.18453e-05; + } else { + sum += 7.18453e-05; + } + } + // tree 2963 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.22612e-05; + } else { + sum += -6.22612e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.22612e-05; + } else { + sum += 6.22612e-05; + } + } + // tree 2964 + if ( features[12] < 4.57639 ) { + if ( features[11] < 1.46171 ) { + sum += 6.36705e-05; + } else { + sum += -6.36705e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -6.36705e-05; + } else { + sum += 6.36705e-05; + } + } + // tree 2965 + sum += 2.97603e-05; + // tree 2966 + if ( features[1] < 0.205661 ) { + if ( features[12] < 3.73942 ) { + sum += 6.27616e-05; + } else { + sum += -6.27616e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.27616e-05; + } else { + sum += -6.27616e-05; + } + } + // tree 2967 + if ( features[7] < 0.464495 ) { + if ( features[11] < 1.38448 ) { + sum += 7.23056e-05; + } else { + sum += -7.23056e-05; + } + } else { + if ( features[2] < 0.444747 ) { + sum += 7.23056e-05; + } else { + sum += -7.23056e-05; + } + } + // tree 2968 + if ( features[2] < 0.821394 ) { + if ( features[8] < 2.24069 ) { + sum += -8.15485e-05; + } else { + sum += 8.15485e-05; + } + } else { + if ( features[5] < 0.771044 ) { + sum += 8.15485e-05; + } else { + sum += -8.15485e-05; + } + } + // tree 2969 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 6.28526e-05; + } else { + sum += -6.28526e-05; + } + } else { + if ( features[7] < 0.538031 ) { + sum += 6.28526e-05; + } else { + sum += -6.28526e-05; + } + } + // tree 2970 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.31023e-05; + } else { + sum += 7.31023e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.31023e-05; + } else { + sum += 7.31023e-05; + } + } + // tree 2971 + if ( features[5] < 0.473096 ) { + if ( features[1] < 0.307696 ) { + sum += -5.87126e-05; + } else { + sum += 5.87126e-05; + } + } else { + if ( features[8] < 2.03427 ) { + sum += 5.87126e-05; + } else { + sum += -5.87126e-05; + } + } + // tree 2972 + if ( features[1] < 0.205661 ) { + if ( features[5] < 0.992268 ) { + sum += -6.72328e-05; + } else { + sum += 6.72328e-05; + } + } else { + if ( features[8] < 2.36075 ) { + sum += -6.72328e-05; + } else { + sum += 6.72328e-05; + } + } + // tree 2973 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.64012e-05; + } else { + sum += 7.64012e-05; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -7.64012e-05; + } else { + sum += 7.64012e-05; + } + } + // tree 2974 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 7.26393e-05; + } else { + sum += -7.26393e-05; + } + } else { + if ( features[11] < 0.917376 ) { + sum += -7.26393e-05; + } else { + sum += 7.26393e-05; + } + } + // tree 2975 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.18392e-05; + } else { + sum += -6.18392e-05; + } + } else { + sum += 6.18392e-05; + } + // tree 2976 + if ( features[1] < 0.205661 ) { + if ( features[2] < -0.496694 ) { + sum += 5.65864e-05; + } else { + sum += -5.65864e-05; + } + } else { + if ( features[5] < 0.402032 ) { + sum += 5.65864e-05; + } else { + sum += -5.65864e-05; + } + } + // tree 2977 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.94771e-05; + } else { + sum += -6.94771e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.94771e-05; + } else { + sum += -6.94771e-05; + } + } + // tree 2978 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 6.8385e-05; + } else { + sum += -6.8385e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -6.8385e-05; + } else { + sum += 6.8385e-05; + } + } + // tree 2979 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.1926e-05; + } else { + sum += -6.1926e-05; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -6.1926e-05; + } else { + sum += 6.1926e-05; + } + } + // tree 2980 + if ( features[0] < 1.68308 ) { + if ( features[2] < 0.493201 ) { + sum += 6.15567e-05; + } else { + sum += -6.15567e-05; + } + } else { + if ( features[7] < 0.538031 ) { + sum += 6.15567e-05; + } else { + sum += -6.15567e-05; + } + } + // tree 2981 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.390484 ) { + sum += -6.97976e-05; + } else { + sum += 6.97976e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -6.97976e-05; + } else { + sum += 6.97976e-05; + } + } + // tree 2982 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.24659e-05; + } else { + sum += -6.24659e-05; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 6.24659e-05; + } else { + sum += -6.24659e-05; + } + } + // tree 2983 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -7.81296e-05; + } else { + sum += 7.81296e-05; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -7.81296e-05; + } else { + sum += 7.81296e-05; + } + } + // tree 2984 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.90146e-05; + } else { + sum += 7.90146e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.90146e-05; + } else { + sum += 7.90146e-05; + } + } + // tree 2985 + if ( features[1] < 0.205661 ) { + if ( features[7] < 0.280627 ) { + sum += 6.16046e-05; + } else { + sum += -6.16046e-05; + } + } else { + sum += 6.16046e-05; + } + // tree 2986 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.91678e-05; + } else { + sum += -6.91678e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.91678e-05; + } else { + sum += -6.91678e-05; + } + } + // tree 2987 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.372233 ) { + sum += -7.1499e-05; + } else { + sum += 7.1499e-05; + } + } else { + if ( features[0] < 2.53058 ) { + sum += -7.1499e-05; + } else { + sum += 7.1499e-05; + } + } + // tree 2988 + if ( features[7] < 0.464495 ) { + if ( features[3] < 0.0483549 ) { + sum += 7.14463e-05; + } else { + sum += -7.14463e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.14463e-05; + } else { + sum += 7.14463e-05; + } + } + // tree 2989 + if ( features[9] < 1.48572 ) { + sum += -4.90469e-05; + } else { + if ( features[3] < 0.0967294 ) { + sum += 4.90469e-05; + } else { + sum += -4.90469e-05; + } + } + // tree 2990 + if ( features[1] < 0.205661 ) { + if ( features[9] < 1.67927 ) { + sum += 6.32019e-05; + } else { + sum += -6.32019e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.32019e-05; + } else { + sum += -6.32019e-05; + } + } + // tree 2991 + if ( features[7] < 0.464495 ) { + if ( features[1] < -0.750044 ) { + sum += -7.84483e-05; + } else { + sum += 7.84483e-05; + } + } else { + if ( features[9] < 2.74376 ) { + sum += -7.84483e-05; + } else { + sum += 7.84483e-05; + } + } + // tree 2992 + if ( features[1] < 0.205661 ) { + if ( features[9] < 2.74376 ) { + sum += 6.32456e-05; + } else { + sum += -6.32456e-05; + } + } else { + if ( features[4] < -1.29438 ) { + sum += 6.32456e-05; + } else { + sum += -6.32456e-05; + } + } + // tree 2993 + if ( features[7] < 0.464495 ) { + sum += 6.28388e-05; + } else { + if ( features[12] < 3.85898 ) { + sum += 6.28388e-05; + } else { + sum += -6.28388e-05; + } + } + // tree 2994 + if ( features[7] < 0.464495 ) { + if ( features[7] < 0.373152 ) { + sum += -7.80833e-05; + } else { + sum += 7.80833e-05; + } + } else { + if ( features[5] < 0.681654 ) { + sum += -7.80833e-05; + } else { + sum += 7.80833e-05; + } + } + // tree 2995 + if ( features[0] < 1.68308 ) { + if ( features[10] < -4.81756 ) { + sum += 6.17189e-05; + } else { + sum += -6.17189e-05; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -6.17189e-05; + } else { + sum += 6.17189e-05; + } + } + // tree 2996 + sum += 2.94924e-05; + // tree 2997 + if ( features[1] < 0.205661 ) { + if ( features[6] < -2.71389 ) { + sum += 6.90895e-05; + } else { + sum += -6.90895e-05; + } + } else { + if ( features[7] < 0.765903 ) { + sum += 6.90895e-05; + } else { + sum += -6.90895e-05; + } + } + // tree 2998 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.100321 ) { + sum += -7.27893e-05; + } else { + sum += 7.27893e-05; + } + } else { + if ( features[5] < 0.731889 ) { + sum += -7.27893e-05; + } else { + sum += 7.27893e-05; + } + } + // tree 2999 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 7.07799e-05; + } else { + sum += -7.07799e-05; + } + } else { + if ( features[4] < -1.12229 ) { + sum += -7.07799e-05; + } else { + sum += 7.07799e-05; + } + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_300-599.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_300-599.cpp new file mode 100644 index 0000000000000000000000000000000000000000..7349a17dfcd0f914b50ce9acd5a777feee85bd25 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_300-599.cpp @@ -0,0 +1,4062 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_1( const std::vector<double>& features ) const { + double sum = 0; + + // tree 300 + if ( features[4] < -1.29629 ) { + if ( features[5] < 0.754354 ) { + sum += 0.000178338; + } else { + sum += -0.000178338; + } + } else { + if ( features[7] < 0.519347 ) { + sum += 0.000178338; + } else { + sum += -0.000178338; + } + } + // tree 301 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.32813 ) { + sum += 0.000196811; + } else { + sum += -0.000196811; + } + } else { + if ( features[6] < -0.645762 ) { + sum += 0.000196811; + } else { + sum += -0.000196811; + } + } + // tree 302 + if ( features[7] < 0.721911 ) { + sum += 0.000151156; + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000151156; + } else { + sum += -0.000151156; + } + } + // tree 303 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.594689 ) { + sum += -0.000164281; + } else { + sum += 0.000164281; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -0.000164281; + } else { + sum += 0.000164281; + } + } + // tree 304 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000194548; + } else { + sum += 0.000194548; + } + } else { + if ( features[9] < 2.62832 ) { + sum += -0.000194548; + } else { + sum += 0.000194548; + } + } + // tree 305 + if ( features[12] < 4.57639 ) { + sum += 0.000172148; + } else { + if ( features[7] < 0.501208 ) { + sum += 0.000172148; + } else { + sum += -0.000172148; + } + } + // tree 306 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000201866; + } else { + sum += 0.000201866; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000201866; + } else { + sum += 0.000201866; + } + } + // tree 307 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000206635; + } else { + sum += 0.000206635; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000206635; + } else { + sum += -0.000206635; + } + } + // tree 308 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000202377; + } else { + sum += 0.000202377; + } + } else { + sum += -0.000202377; + } + // tree 309 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000191994; + } else { + sum += 0.000191994; + } + } else { + if ( features[9] < 2.62832 ) { + sum += -0.000191994; + } else { + sum += 0.000191994; + } + } + // tree 310 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 0.000176548; + } else { + sum += -0.000176548; + } + } else { + if ( features[9] < 2.62832 ) { + sum += -0.000176548; + } else { + sum += 0.000176548; + } + } + // tree 311 + if ( features[9] < 2.16313 ) { + sum += -0.000158993; + } else { + if ( features[0] < 1.68308 ) { + sum += -0.000158993; + } else { + sum += 0.000158993; + } + } + // tree 312 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000202364; + } else { + sum += 0.000202364; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000202364; + } else { + sum += -0.000202364; + } + } + // tree 313 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000172415; + } else { + sum += -0.000172415; + } + } else { + if ( features[7] < 0.519347 ) { + sum += 0.000172415; + } else { + sum += -0.000172415; + } + } + // tree 314 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000197895; + } else { + sum += 0.000197895; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000197895; + } else { + sum += -0.000197895; + } + } + // tree 315 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000197578; + } else { + sum += 0.000197578; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000197578; + } else { + sum += 0.000197578; + } + } + // tree 316 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000165658; + } else { + sum += -0.000165658; + } + } else { + sum += -0.000165658; + } + // tree 317 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000216147; + } else { + sum += 0.000216147; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000216147; + } else { + sum += -0.000216147; + } + } + // tree 318 + if ( features[5] < 0.628848 ) { + if ( features[9] < 2.16313 ) { + sum += -0.000185151; + } else { + sum += 0.000185151; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000185151; + } else { + sum += -0.000185151; + } + } + // tree 319 + if ( features[5] < 0.628848 ) { + if ( features[9] < 2.16313 ) { + sum += -0.000199423; + } else { + sum += 0.000199423; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000199423; + } else { + sum += -0.000199423; + } + } + // tree 320 + if ( features[5] < 0.784599 ) { + if ( features[12] < 4.93509 ) { + sum += 0.00018734; + } else { + sum += -0.00018734; + } + } else { + sum += -0.00018734; + } + // tree 321 + if ( features[5] < 0.628848 ) { + sum += 0.000165511; + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000165511; + } else { + sum += -0.000165511; + } + } + // tree 322 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 0.000151196; + } else { + sum += -0.000151196; + } + } else { + if ( features[10] < -27.4241 ) { + sum += 0.000151196; + } else { + sum += -0.000151196; + } + } + // tree 323 + if ( features[7] < 0.721911 ) { + if ( features[4] < -0.252614 ) { + sum += 0.000167071; + } else { + sum += -0.000167071; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000167071; + } else { + sum += -0.000167071; + } + } + // tree 324 + if ( features[5] < 0.628848 ) { + if ( features[1] < -0.712225 ) { + sum += -0.000196937; + } else { + sum += 0.000196937; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000196937; + } else { + sum += -0.000196937; + } + } + // tree 325 + if ( features[0] < 1.68308 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000157528; + } else { + sum += -0.000157528; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000157528; + } else { + sum += -0.000157528; + } + } + // tree 326 + if ( features[5] < 0.628848 ) { + if ( features[12] < 4.69595 ) { + sum += 0.000164948; + } else { + sum += -0.000164948; + } + } else { + if ( features[1] < 0.108593 ) { + sum += -0.000164948; + } else { + sum += 0.000164948; + } + } + // tree 327 + if ( features[1] < -0.30431 ) { + if ( features[4] < -2.16603 ) { + sum += 0.000184222; + } else { + sum += -0.000184222; + } + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000184222; + } else { + sum += 0.000184222; + } + } + // tree 328 + if ( features[5] < 0.628848 ) { + if ( features[0] < 1.69912 ) { + sum += -0.000173359; + } else { + sum += 0.000173359; + } + } else { + if ( features[11] < 1.17355 ) { + sum += 0.000173359; + } else { + sum += -0.000173359; + } + } + // tree 329 + if ( features[9] < 2.16313 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000210472; + } else { + sum += -0.000210472; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000210472; + } else { + sum += 0.000210472; + } + } + // tree 330 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000192778; + } else { + sum += 0.000192778; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000192778; + } else { + sum += 0.000192778; + } + } + // tree 331 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.712255 ) { + sum += -0.00020602; + } else { + sum += 0.00020602; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.00020602; + } else { + sum += -0.00020602; + } + } + // tree 332 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.508269 ) { + sum += -0.000190745; + } else { + sum += 0.000190745; + } + } else { + sum += -0.000190745; + } + // tree 333 + if ( features[7] < 0.721911 ) { + if ( features[0] < 1.63862 ) { + sum += -0.000188481; + } else { + sum += 0.000188481; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000188481; + } else { + sum += -0.000188481; + } + } + // tree 334 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000194323; + } else { + sum += -0.000194323; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000194323; + } else { + sum += -0.000194323; + } + } + // tree 335 + if ( features[7] < 0.721911 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000187292; + } else { + sum += -0.000187292; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000187292; + } else { + sum += -0.000187292; + } + } + // tree 336 + if ( features[7] < 0.721911 ) { + if ( features[5] < 0.627964 ) { + sum += 0.000164763; + } else { + sum += -0.000164763; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000164763; + } else { + sum += -0.000164763; + } + } + // tree 337 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000200937; + } else { + sum += 0.000200937; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000200937; + } else { + sum += -0.000200937; + } + } + // tree 338 + if ( features[5] < 0.784599 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000188552; + } else { + sum += -0.000188552; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000188552; + } else { + sum += -0.000188552; + } + } + // tree 339 + if ( features[8] < 2.24069 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000193346; + } else { + sum += -0.000193346; + } + } else { + if ( features[0] < 1.68308 ) { + sum += -0.000193346; + } else { + sum += 0.000193346; + } + } + // tree 340 + if ( features[4] < -1.29629 ) { + if ( features[0] < 1.68517 ) { + sum += -0.000157201; + } else { + sum += 0.000157201; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000157201; + } else { + sum += -0.000157201; + } + } + // tree 341 + if ( features[12] < 4.57639 ) { + sum += 0.000170654; + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000170654; + } else { + sum += 0.000170654; + } + } + // tree 342 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.00019971; + } else { + sum += 0.00019971; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.00019971; + } else { + sum += -0.00019971; + } + } + // tree 343 + if ( features[7] < 0.721911 ) { + if ( features[5] < 0.627964 ) { + sum += 0.000148854; + } else { + sum += -0.000148854; + } + } else { + sum += -0.000148854; + } + // tree 344 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000187718; + } else { + sum += -0.000187718; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000187718; + } else { + sum += -0.000187718; + } + } + // tree 345 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000209727; + } else { + sum += 0.000209727; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000209727; + } else { + sum += -0.000209727; + } + } + // tree 346 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000186953; + } else { + sum += 0.000186953; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000186953; + } else { + sum += -0.000186953; + } + } + // tree 347 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000195031; + } else { + sum += 0.000195031; + } + } else { + if ( features[6] < -1.47267 ) { + sum += 0.000195031; + } else { + sum += -0.000195031; + } + } + // tree 348 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000153277; + } else { + sum += -0.000153277; + } + } else { + sum += 0.000153277; + } + // tree 349 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000180499; + } else { + sum += 0.000180499; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.000180499; + } else { + sum += -0.000180499; + } + } + // tree 350 + if ( features[1] < -0.30431 ) { + if ( features[1] < -0.4425 ) { + sum += -0.000183534; + } else { + sum += 0.000183534; + } + } else { + if ( features[7] < 0.749475 ) { + sum += 0.000183534; + } else { + sum += -0.000183534; + } + } + // tree 351 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000154039; + } else { + sum += -0.000154039; + } + } else { + if ( features[3] < 0.174737 ) { + sum += -0.000154039; + } else { + sum += 0.000154039; + } + } + // tree 352 + if ( features[1] < -0.30431 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000184377; + } else { + sum += -0.000184377; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000184377; + } else { + sum += -0.000184377; + } + } + // tree 353 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000196244; + } else { + sum += 0.000196244; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000196244; + } else { + sum += -0.000196244; + } + } + // tree 354 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.00018594; + } else { + sum += -0.00018594; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.00018594; + } else { + sum += 0.00018594; + } + } + // tree 355 + if ( features[1] < -0.30431 ) { + if ( features[2] < -0.308396 ) { + sum += 0.000181561; + } else { + sum += -0.000181561; + } + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000181561; + } else { + sum += 0.000181561; + } + } + // tree 356 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.0001717; + } else { + sum += 0.0001717; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.0001717; + } else { + sum += -0.0001717; + } + } + // tree 357 + if ( features[8] < 2.24069 ) { + if ( features[10] < -27.4207 ) { + sum += 0.000172716; + } else { + sum += -0.000172716; + } + } else { + if ( features[5] < 0.761407 ) { + sum += 0.000172716; + } else { + sum += -0.000172716; + } + } + // tree 358 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000178142; + } else { + sum += 0.000178142; + } + } else { + if ( features[9] < 2.62832 ) { + sum += -0.000178142; + } else { + sum += 0.000178142; + } + } + // tree 359 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000192539; + } else { + sum += 0.000192539; + } + } else { + if ( features[6] < -1.47267 ) { + sum += 0.000192539; + } else { + sum += -0.000192539; + } + } + // tree 360 + if ( features[5] < 0.784599 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000183892; + } else { + sum += 0.000183892; + } + } else { + if ( features[7] < 0.495522 ) { + sum += 0.000183892; + } else { + sum += -0.000183892; + } + } + // tree 361 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000193957; + } else { + sum += 0.000193957; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000193957; + } else { + sum += -0.000193957; + } + } + // tree 362 + if ( features[1] < -0.30431 ) { + if ( features[1] < -0.4425 ) { + sum += -0.000179118; + } else { + sum += 0.000179118; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000179118; + } else { + sum += 0.000179118; + } + } + // tree 363 + if ( features[7] < 0.721911 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000165824; + } else { + sum += -0.000165824; + } + } else { + sum += -0.000165824; + } + // tree 364 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000155426; + } else { + sum += -0.000155426; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000155426; + } else { + sum += -0.000155426; + } + } + // tree 365 + if ( features[7] < 0.721911 ) { + if ( features[11] < 1.84601 ) { + sum += 0.000167668; + } else { + sum += -0.000167668; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000167668; + } else { + sum += -0.000167668; + } + } + // tree 366 + if ( features[1] < -0.30431 ) { + if ( features[2] < -0.308396 ) { + sum += 0.000179747; + } else { + sum += -0.000179747; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000179747; + } else { + sum += 0.000179747; + } + } + // tree 367 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.000177415; + } else { + sum += 0.000177415; + } + } else { + if ( features[5] < 0.783494 ) { + sum += 0.000177415; + } else { + sum += -0.000177415; + } + } + // tree 368 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000183454; + } else { + sum += -0.000183454; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000183454; + } else { + sum += 0.000183454; + } + } + // tree 369 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000175863; + } else { + sum += 0.000175863; + } + } else { + if ( features[1] < 0.108593 ) { + sum += -0.000175863; + } else { + sum += 0.000175863; + } + } + // tree 370 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000181088; + } else { + sum += -0.000181088; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000181088; + } else { + sum += -0.000181088; + } + } + // tree 371 + if ( features[1] < -0.100321 ) { + if ( features[9] < 1.77604 ) { + sum += 0.000213717; + } else { + sum += -0.000213717; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000213717; + } else { + sum += 0.000213717; + } + } + // tree 372 + if ( features[1] < -0.30431 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000175191; + } else { + sum += -0.000175191; + } + } else { + if ( features[7] < 0.784128 ) { + sum += 0.000175191; + } else { + sum += -0.000175191; + } + } + // tree 373 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000153418; + } else { + sum += -0.000153418; + } + } else { + if ( features[10] < -27.4241 ) { + sum += 0.000153418; + } else { + sum += -0.000153418; + } + } + // tree 374 + if ( features[9] < 2.16313 ) { + if ( features[0] < 1.94125 ) { + sum += 0.000170756; + } else { + sum += -0.000170756; + } + } else { + if ( features[5] < 0.660665 ) { + sum += 0.000170756; + } else { + sum += -0.000170756; + } + } + // tree 375 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000170179; + } else { + sum += 0.000170179; + } + } else { + if ( features[6] < -2.15667 ) { + sum += 0.000170179; + } else { + sum += -0.000170179; + } + } + // tree 376 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000202533; + } else { + sum += 0.000202533; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000202533; + } else { + sum += -0.000202533; + } + } + // tree 377 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000151626; + } else { + sum += -0.000151626; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000151626; + } else { + sum += -0.000151626; + } + } + // tree 378 + if ( features[5] < 0.784599 ) { + if ( features[8] < 2.24069 ) { + sum += -0.000147891; + } else { + sum += 0.000147891; + } + } else { + sum += -0.000147891; + } + // tree 379 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000187137; + } else { + sum += 0.000187137; + } + } else { + sum += -0.000187137; + } + // tree 380 + if ( features[7] < 0.721911 ) { + if ( features[11] < 1.84601 ) { + sum += 0.000153875; + } else { + sum += -0.000153875; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000153875; + } else { + sum += -0.000153875; + } + } + // tree 381 + if ( features[1] < -0.30431 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000175964; + } else { + sum += -0.000175964; + } + } else { + if ( features[7] < 0.784128 ) { + sum += 0.000175964; + } else { + sum += -0.000175964; + } + } + // tree 382 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000177903; + } else { + sum += -0.000177903; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000177903; + } else { + sum += -0.000177903; + } + } + // tree 383 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000189059; + } else { + sum += 0.000189059; + } + } else { + if ( features[5] < 0.788925 ) { + sum += 0.000189059; + } else { + sum += -0.000189059; + } + } + // tree 384 + if ( features[7] < 0.721911 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000164007; + } else { + sum += -0.000164007; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000164007; + } else { + sum += -0.000164007; + } + } + // tree 385 + if ( features[2] < 0.633096 ) { + if ( features[9] < 2.16327 ) { + sum += -0.000133498; + } else { + sum += 0.000133498; + } + } else { + if ( features[0] < 2.10816 ) { + sum += -0.000133498; + } else { + sum += 0.000133498; + } + } + // tree 386 + if ( features[1] < -0.100321 ) { + if ( features[12] < 3.85898 ) { + sum += 0.000152503; + } else { + sum += -0.000152503; + } + } else { + sum += 0.000152503; + } + // tree 387 + if ( features[7] < 0.721911 ) { + if ( features[7] < 0.358918 ) { + sum += -0.000187791; + } else { + sum += 0.000187791; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000187791; + } else { + sum += -0.000187791; + } + } + // tree 388 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.712255 ) { + sum += -0.00017508; + } else { + sum += 0.00017508; + } + } else { + sum += -0.00017508; + } + // tree 389 + if ( features[1] < -0.100321 ) { + if ( features[12] < 3.85898 ) { + sum += 0.000209462; + } else { + sum += -0.000209462; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000209462; + } else { + sum += 0.000209462; + } + } + // tree 390 + if ( features[1] < -0.30431 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000179414; + } else { + sum += -0.000179414; + } + } else { + if ( features[7] < 0.784128 ) { + sum += 0.000179414; + } else { + sum += -0.000179414; + } + } + // tree 391 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000158497; + } else { + sum += -0.000158497; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.000158497; + } else { + sum += -0.000158497; + } + } + // tree 392 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000176172; + } else { + sum += 0.000176172; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000176172; + } else { + sum += -0.000176172; + } + } + // tree 393 + if ( features[9] < 2.16313 ) { + if ( features[4] < -1.99199 ) { + sum += 0.000175728; + } else { + sum += -0.000175728; + } + } else { + if ( features[0] < 1.68308 ) { + sum += -0.000175728; + } else { + sum += 0.000175728; + } + } + // tree 394 + if ( features[1] < -0.30431 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000173386; + } else { + sum += -0.000173386; + } + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000173386; + } else { + sum += 0.000173386; + } + } + // tree 395 + if ( features[2] < 0.821394 ) { + if ( features[8] < 2.24069 ) { + sum += -0.000156715; + } else { + sum += 0.000156715; + } + } else { + if ( features[7] < 0.626909 ) { + sum += 0.000156715; + } else { + sum += -0.000156715; + } + } + // tree 396 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.000182835; + } else { + sum += 0.000182835; + } + } else { + sum += -0.000182835; + } + // tree 397 + if ( features[8] < 2.24069 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000198108; + } else { + sum += -0.000198108; + } + } else { + if ( features[5] < 0.761407 ) { + sum += 0.000198108; + } else { + sum += -0.000198108; + } + } + // tree 398 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000149683; + } else { + sum += -0.000149683; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000149683; + } else { + sum += -0.000149683; + } + } + // tree 399 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000178428; + } else { + sum += -0.000178428; + } + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000178428; + } else { + sum += 0.000178428; + } + } + // tree 400 + if ( features[1] < -0.30431 ) { + if ( features[2] < 0.444798 ) { + sum += 0.000175076; + } else { + sum += -0.000175076; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000175076; + } else { + sum += 0.000175076; + } + } + // tree 401 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.000186842; + } else { + sum += 0.000186842; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000186842; + } else { + sum += -0.000186842; + } + } + // tree 402 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000170486; + } else { + sum += 0.000170486; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.000170486; + } else { + sum += -0.000170486; + } + } + // tree 403 + if ( features[12] < 4.57639 ) { + if ( features[4] < -1.29631 ) { + sum += 0.000158727; + } else { + sum += -0.000158727; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000158727; + } else { + sum += -0.000158727; + } + } + // tree 404 + if ( features[12] < 4.57639 ) { + if ( features[6] < -0.231448 ) { + sum += 0.000131751; + } else { + sum += -0.000131751; + } + } else { + sum += -0.000131751; + } + // tree 405 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000206105; + } else { + sum += -0.000206105; + } + } else { + if ( features[8] < 1.87348 ) { + sum += -0.000206105; + } else { + sum += 0.000206105; + } + } + // tree 406 + if ( features[7] < 0.758685 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000164782; + } else { + sum += -0.000164782; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000164782; + } else { + sum += -0.000164782; + } + } + // tree 407 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.000180653; + } else { + sum += 0.000180653; + } + } else { + sum += -0.000180653; + } + // tree 408 + if ( features[7] < 0.758685 ) { + if ( features[11] < 1.84601 ) { + sum += 0.00014883; + } else { + sum += -0.00014883; + } + } else { + sum += -0.00014883; + } + // tree 409 + if ( features[1] < -0.30431 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000176958; + } else { + sum += -0.000176958; + } + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000176958; + } else { + sum += 0.000176958; + } + } + // tree 410 + if ( features[1] < -0.100321 ) { + if ( features[6] < -2.5465 ) { + sum += 0.000192953; + } else { + sum += -0.000192953; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000192953; + } else { + sum += 0.000192953; + } + } + // tree 411 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.712255 ) { + sum += -0.000169816; + } else { + sum += 0.000169816; + } + } else { + sum += -0.000169816; + } + // tree 412 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000172266; + } else { + sum += 0.000172266; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000172266; + } else { + sum += -0.000172266; + } + } + // tree 413 + if ( features[1] < -0.30431 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000174665; + } else { + sum += -0.000174665; + } + } else { + if ( features[7] < 0.784128 ) { + sum += 0.000174665; + } else { + sum += -0.000174665; + } + } + // tree 414 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000174358; + } else { + sum += -0.000174358; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000174358; + } else { + sum += 0.000174358; + } + } + // tree 415 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000203977; + } else { + sum += -0.000203977; + } + } else { + if ( features[8] < 1.87348 ) { + sum += -0.000203977; + } else { + sum += 0.000203977; + } + } + // tree 416 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000173359; + } else { + sum += -0.000173359; + } + } else { + if ( features[7] < 0.784128 ) { + sum += 0.000173359; + } else { + sum += -0.000173359; + } + } + // tree 417 + if ( features[1] < -0.30431 ) { + if ( features[2] < 0.444798 ) { + sum += 0.000173028; + } else { + sum += -0.000173028; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000173028; + } else { + sum += 0.000173028; + } + } + // tree 418 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000173077; + } else { + sum += -0.000173077; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000173077; + } else { + sum += 0.000173077; + } + } + // tree 419 + if ( features[7] < 0.721911 ) { + if ( features[1] < -0.712255 ) { + sum += -0.000171432; + } else { + sum += 0.000171432; + } + } else { + if ( features[4] < -1.46626 ) { + sum += 0.000171432; + } else { + sum += -0.000171432; + } + } + // tree 420 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000146439; + } else { + sum += -0.000146439; + } + } else { + sum += 0.000146439; + } + // tree 421 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000171961; + } else { + sum += -0.000171961; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000171961; + } else { + sum += 0.000171961; + } + } + // tree 422 + if ( features[9] < 2.16313 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000194198; + } else { + sum += -0.000194198; + } + } else { + if ( features[5] < 0.660665 ) { + sum += 0.000194198; + } else { + sum += -0.000194198; + } + } + // tree 423 + if ( features[1] < -0.30431 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000174197; + } else { + sum += -0.000174197; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000174197; + } else { + sum += 0.000174197; + } + } + // tree 424 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.00017133; + } else { + sum += -0.00017133; + } + } else { + if ( features[7] < 0.784128 ) { + sum += 0.00017133; + } else { + sum += -0.00017133; + } + } + // tree 425 + if ( features[7] < 0.758685 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000161088; + } else { + sum += -0.000161088; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000161088; + } else { + sum += -0.000161088; + } + } + // tree 426 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000168273; + } else { + sum += 0.000168273; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000168273; + } else { + sum += -0.000168273; + } + } + // tree 427 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000201164; + } else { + sum += -0.000201164; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000201164; + } else { + sum += 0.000201164; + } + } + // tree 428 + if ( features[1] < -0.100321 ) { + if ( features[6] < -0.597362 ) { + sum += -0.00015748; + } else { + sum += 0.00015748; + } + } else { + if ( features[5] < 0.525308 ) { + sum += 0.00015748; + } else { + sum += -0.00015748; + } + } + // tree 429 + if ( features[1] < -0.30431 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000170973; + } else { + sum += -0.000170973; + } + } else { + if ( features[7] < 0.784128 ) { + sum += 0.000170973; + } else { + sum += -0.000170973; + } + } + // tree 430 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000166155; + } else { + sum += -0.000166155; + } + } else { + if ( features[7] < 0.501208 ) { + sum += 0.000166155; + } else { + sum += -0.000166155; + } + } + // tree 431 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000167157; + } else { + sum += -0.000167157; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000167157; + } else { + sum += -0.000167157; + } + } + // tree 432 + if ( features[1] < -0.100321 ) { + if ( features[9] < 1.77604 ) { + sum += 0.000149754; + } else { + sum += -0.000149754; + } + } else { + if ( features[12] < 4.81552 ) { + sum += 0.000149754; + } else { + sum += -0.000149754; + } + } + // tree 433 + if ( features[1] < -0.30431 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000166955; + } else { + sum += -0.000166955; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000166955; + } else { + sum += 0.000166955; + } + } + // tree 434 + if ( features[12] < 4.57639 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000168555; + } else { + sum += -0.000168555; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000168555; + } else { + sum += 0.000168555; + } + } + // tree 435 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000156595; + } else { + sum += 0.000156595; + } + } else { + if ( features[4] < -2.16593 ) { + sum += 0.000156595; + } else { + sum += -0.000156595; + } + } + // tree 436 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000159648; + } else { + sum += -0.000159648; + } + } else { + if ( features[6] < -0.645187 ) { + sum += 0.000159648; + } else { + sum += -0.000159648; + } + } + // tree 437 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.00017677; + } else { + sum += 0.00017677; + } + } else { + sum += -0.00017677; + } + // tree 438 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.594689 ) { + sum += -0.000167586; + } else { + sum += 0.000167586; + } + } else { + if ( features[7] < 0.721895 ) { + sum += 0.000167586; + } else { + sum += -0.000167586; + } + } + // tree 439 + if ( features[5] < 0.784599 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000179022; + } else { + sum += 0.000179022; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000179022; + } else { + sum += -0.000179022; + } + } + // tree 440 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000170055; + } else { + sum += -0.000170055; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000170055; + } else { + sum += 0.000170055; + } + } + // tree 441 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.000167041; + } else { + sum += -0.000167041; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.000167041; + } else { + sum += 0.000167041; + } + } + // tree 442 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.32813 ) { + sum += 0.000169057; + } else { + sum += -0.000169057; + } + } else { + if ( features[6] < -0.645762 ) { + sum += 0.000169057; + } else { + sum += -0.000169057; + } + } + // tree 443 + if ( features[7] < 0.758685 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000157446; + } else { + sum += -0.000157446; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000157446; + } else { + sum += -0.000157446; + } + } + // tree 444 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.594689 ) { + sum += -0.000166173; + } else { + sum += 0.000166173; + } + } else { + if ( features[7] < 0.721895 ) { + sum += 0.000166173; + } else { + sum += -0.000166173; + } + } + // tree 445 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000164794; + } else { + sum += 0.000164794; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000164794; + } else { + sum += 0.000164794; + } + } + // tree 446 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.358911 ) { + sum += -0.000214426; + } else { + sum += 0.000214426; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000214426; + } else { + sum += -0.000214426; + } + } + // tree 447 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.00017881; + } else { + sum += 0.00017881; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.00017881; + } else { + sum += -0.00017881; + } + } + // tree 448 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000196971; + } else { + sum += -0.000196971; + } + } else { + if ( features[8] < 1.87348 ) { + sum += -0.000196971; + } else { + sum += 0.000196971; + } + } + // tree 449 + if ( features[1] < -0.30431 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000164158; + } else { + sum += -0.000164158; + } + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000164158; + } else { + sum += 0.000164158; + } + } + // tree 450 + if ( features[12] < 4.57639 ) { + if ( features[7] < 0.984038 ) { + sum += 0.00016292; + } else { + sum += -0.00016292; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.00016292; + } else { + sum += -0.00016292; + } + } + // tree 451 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.000168776; + } else { + sum += 0.000168776; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000168776; + } else { + sum += -0.000168776; + } + } + // tree 452 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000196825; + } else { + sum += 0.000196825; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000196825; + } else { + sum += 0.000196825; + } + } + // tree 453 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000206522; + } else { + sum += 0.000206522; + } + } else { + if ( features[9] < 2.64704 ) { + sum += -0.000206522; + } else { + sum += 0.000206522; + } + } + // tree 454 + if ( features[1] < -0.100321 ) { + if ( features[9] < 1.77604 ) { + sum += 0.000197866; + } else { + sum += -0.000197866; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000197866; + } else { + sum += 0.000197866; + } + } + // tree 455 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000161419; + } else { + sum += 0.000161419; + } + } else { + if ( features[5] < 0.420913 ) { + sum += 0.000161419; + } else { + sum += -0.000161419; + } + } + // tree 456 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000159415; + } else { + sum += 0.000159415; + } + } else { + if ( features[2] < 0.444798 ) { + sum += 0.000159415; + } else { + sum += -0.000159415; + } + } + // tree 457 + if ( features[7] < 0.501269 ) { + sum += 0.000162724; + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000162724; + } else { + sum += -0.000162724; + } + } + // tree 458 + if ( features[1] < -0.100321 ) { + if ( features[9] < 1.77604 ) { + sum += 0.000166203; + } else { + sum += -0.000166203; + } + } else { + if ( features[5] < 0.525308 ) { + sum += 0.000166203; + } else { + sum += -0.000166203; + } + } + // tree 459 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000163991; + } else { + sum += 0.000163991; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000163991; + } else { + sum += 0.000163991; + } + } + // tree 460 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000193711; + } else { + sum += -0.000193711; + } + } else { + if ( features[8] < 1.87348 ) { + sum += -0.000193711; + } else { + sum += 0.000193711; + } + } + // tree 461 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.000176412; + } else { + sum += 0.000176412; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000176412; + } else { + sum += -0.000176412; + } + } + // tree 462 + if ( features[7] < 0.501269 ) { + sum += 0.00016176; + } else { + if ( features[12] < 4.33725 ) { + sum += 0.00016176; + } else { + sum += -0.00016176; + } + } + // tree 463 + if ( features[7] < 0.501269 ) { + sum += 0.000158583; + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000158583; + } else { + sum += -0.000158583; + } + } + // tree 464 + if ( features[1] < -0.30431 ) { + if ( features[1] < -0.4425 ) { + sum += -0.000159137; + } else { + sum += 0.000159137; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000159137; + } else { + sum += -0.000159137; + } + } + // tree 465 + if ( features[1] < -0.30431 ) { + if ( features[2] < 0.444798 ) { + sum += 0.000167549; + } else { + sum += -0.000167549; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000167549; + } else { + sum += 0.000167549; + } + } + // tree 466 + if ( features[5] < 0.628848 ) { + if ( features[7] < 0.354096 ) { + sum += -0.00016513; + } else { + sum += 0.00016513; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.00016513; + } else { + sum += -0.00016513; + } + } + // tree 467 + if ( features[1] < -0.30431 ) { + if ( features[4] < -2.16603 ) { + sum += 0.000156342; + } else { + sum += -0.000156342; + } + } else { + if ( features[5] < 0.576931 ) { + sum += 0.000156342; + } else { + sum += -0.000156342; + } + } + // tree 468 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.000174989; + } else { + sum += 0.000174989; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000174989; + } else { + sum += -0.000174989; + } + } + // tree 469 + if ( features[1] < -0.30431 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000167522; + } else { + sum += -0.000167522; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000167522; + } else { + sum += 0.000167522; + } + } + // tree 470 + if ( features[8] < 2.24069 ) { + if ( features[10] < -27.4207 ) { + sum += 0.00015319; + } else { + sum += -0.00015319; + } + } else { + if ( features[5] < 0.761407 ) { + sum += 0.00015319; + } else { + sum += -0.00015319; + } + } + // tree 471 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000208078; + } else { + sum += 0.000208078; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000208078; + } else { + sum += 0.000208078; + } + } + // tree 472 + if ( features[1] < -0.30431 ) { + if ( features[4] < -2.16603 ) { + sum += 0.000154975; + } else { + sum += -0.000154975; + } + } else { + if ( features[7] < 0.784128 ) { + sum += 0.000154975; + } else { + sum += -0.000154975; + } + } + // tree 473 + if ( features[7] < 0.758685 ) { + sum += 0.000121792; + } else { + if ( features[4] < -0.0782437 ) { + sum += -0.000121792; + } else { + sum += 0.000121792; + } + } + // tree 474 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000195291; + } else { + sum += 0.000195291; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000195291; + } else { + sum += 0.000195291; + } + } + // tree 475 + sum += 6.21874e-05; + // tree 476 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000165658; + } else { + sum += -0.000165658; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000165658; + } else { + sum += -0.000165658; + } + } + // tree 477 + if ( features[5] < 0.628848 ) { + if ( features[9] < 2.16313 ) { + sum += -0.000170917; + } else { + sum += 0.000170917; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000170917; + } else { + sum += -0.000170917; + } + } + // tree 478 + if ( features[5] < 0.628848 ) { + if ( features[12] < 4.69595 ) { + sum += 0.000147412; + } else { + sum += -0.000147412; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000147412; + } else { + sum += -0.000147412; + } + } + // tree 479 + if ( features[12] < 4.57639 ) { + if ( features[5] < 0.732682 ) { + sum += 0.0001597; + } else { + sum += -0.0001597; + } + } else { + if ( features[1] < 0.140235 ) { + sum += -0.0001597; + } else { + sum += 0.0001597; + } + } + // tree 480 + if ( features[7] < 0.758685 ) { + if ( features[1] < -0.712255 ) { + sum += -0.000165333; + } else { + sum += 0.000165333; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000165333; + } else { + sum += -0.000165333; + } + } + // tree 481 + if ( features[9] < 2.16313 ) { + if ( features[4] < -1.99199 ) { + sum += 0.000166257; + } else { + sum += -0.000166257; + } + } else { + if ( features[5] < 0.660665 ) { + sum += 0.000166257; + } else { + sum += -0.000166257; + } + } + // tree 482 + if ( features[9] < 2.16313 ) { + if ( features[12] < 4.08991 ) { + sum += 0.00017456; + } else { + sum += -0.00017456; + } + } else { + if ( features[7] < 0.354174 ) { + sum += -0.00017456; + } else { + sum += 0.00017456; + } + } + // tree 483 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.390948 ) { + sum += -0.00019415; + } else { + sum += 0.00019415; + } + } else { + if ( features[8] < 1.87348 ) { + sum += -0.00019415; + } else { + sum += 0.00019415; + } + } + // tree 484 + if ( features[12] < 4.57639 ) { + if ( features[1] < -0.712287 ) { + sum += -0.000156024; + } else { + sum += 0.000156024; + } + } else { + if ( features[7] < 0.501208 ) { + sum += 0.000156024; + } else { + sum += -0.000156024; + } + } + // tree 485 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000209092; + } else { + sum += 0.000209092; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000209092; + } else { + sum += -0.000209092; + } + } + // tree 486 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000157718; + } else { + sum += 0.000157718; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000157718; + } else { + sum += 0.000157718; + } + } + // tree 487 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000206063; + } else { + sum += 0.000206063; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000206063; + } else { + sum += -0.000206063; + } + } + // tree 488 + if ( features[5] < 0.628848 ) { + if ( features[9] < 2.16313 ) { + sum += -0.000165524; + } else { + sum += 0.000165524; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000165524; + } else { + sum += -0.000165524; + } + } + // tree 489 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000154795; + } else { + sum += 0.000154795; + } + } else { + if ( features[6] < -0.645187 ) { + sum += 0.000154795; + } else { + sum += -0.000154795; + } + } + // tree 490 + if ( features[9] < 2.16313 ) { + if ( features[4] < -1.99199 ) { + sum += 0.000164296; + } else { + sum += -0.000164296; + } + } else { + if ( features[0] < 1.68308 ) { + sum += -0.000164296; + } else { + sum += 0.000164296; + } + } + // tree 491 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000207723; + } else { + sum += 0.000207723; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000207723; + } else { + sum += -0.000207723; + } + } + // tree 492 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000190002; + } else { + sum += -0.000190002; + } + } else { + if ( features[8] < 1.87348 ) { + sum += -0.000190002; + } else { + sum += 0.000190002; + } + } + // tree 493 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000181184; + } else { + sum += 0.000181184; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000181184; + } else { + sum += -0.000181184; + } + } + // tree 494 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.00017962; + } else { + sum += -0.00017962; + } + } else { + if ( features[5] < 0.626749 ) { + sum += 0.00017962; + } else { + sum += -0.00017962; + } + } + // tree 495 + if ( features[12] < 4.93509 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000130459; + } else { + sum += 0.000130459; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000130459; + } else { + sum += -0.000130459; + } + } + // tree 496 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000162727; + } else { + sum += 0.000162727; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000162727; + } else { + sum += -0.000162727; + } + } + // tree 497 + if ( features[1] < -0.100321 ) { + if ( features[4] < -1.99208 ) { + sum += 0.000161536; + } else { + sum += -0.000161536; + } + } else { + if ( features[7] < 0.853416 ) { + sum += 0.000161536; + } else { + sum += -0.000161536; + } + } + // tree 498 + if ( features[7] < 0.758685 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000149574; + } else { + sum += -0.000149574; + } + } else { + if ( features[4] < -0.0782437 ) { + sum += -0.000149574; + } else { + sum += 0.000149574; + } + } + // tree 499 + if ( features[1] < -0.100321 ) { + if ( features[9] < 1.77604 ) { + sum += 0.000160874; + } else { + sum += -0.000160874; + } + } else { + if ( features[5] < 0.525308 ) { + sum += 0.000160874; + } else { + sum += -0.000160874; + } + } + // tree 500 + if ( features[8] < 2.24069 ) { + if ( features[6] < -0.88487 ) { + sum += -0.000130804; + } else { + sum += 0.000130804; + } + } else { + if ( features[4] < -0.948464 ) { + sum += 0.000130804; + } else { + sum += -0.000130804; + } + } + // tree 501 + if ( features[0] < 1.68308 ) { + sum += -0.000149564; + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000149564; + } else { + sum += 0.000149564; + } + } + // tree 502 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000145874; + } else { + sum += 0.000145874; + } + } else { + sum += -0.000145874; + } + // tree 503 + if ( features[6] < -0.231447 ) { + if ( features[1] < -0.100296 ) { + sum += -0.000138004; + } else { + sum += 0.000138004; + } + } else { + if ( features[9] < 1.99097 ) { + sum += 0.000138004; + } else { + sum += -0.000138004; + } + } + // tree 504 + if ( features[7] < 0.501269 ) { + sum += 0.000151448; + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000151448; + } else { + sum += 0.000151448; + } + } + // tree 505 + if ( features[1] < -0.100321 ) { + if ( features[0] < 1.7255 ) { + sum += -0.000122271; + } else { + sum += 0.000122271; + } + } else { + if ( features[12] < 4.81552 ) { + sum += 0.000122271; + } else { + sum += -0.000122271; + } + } + // tree 506 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000166869; + } else { + sum += 0.000166869; + } + } else { + if ( features[7] < 0.853416 ) { + sum += 0.000166869; + } else { + sum += -0.000166869; + } + } + // tree 507 + if ( features[12] < 4.93509 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000151828; + } else { + sum += -0.000151828; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000151828; + } else { + sum += 0.000151828; + } + } + // tree 508 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000180752; + } else { + sum += 0.000180752; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000180752; + } else { + sum += -0.000180752; + } + } + // tree 509 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000204804; + } else { + sum += 0.000204804; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000204804; + } else { + sum += -0.000204804; + } + } + // tree 510 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000201546; + } else { + sum += 0.000201546; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000201546; + } else { + sum += 0.000201546; + } + } + // tree 511 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000191541; + } else { + sum += 0.000191541; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000191541; + } else { + sum += 0.000191541; + } + } + // tree 512 + if ( features[5] < 0.628848 ) { + if ( features[8] < 2.19164 ) { + sum += -0.00016195; + } else { + sum += 0.00016195; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.00016195; + } else { + sum += -0.00016195; + } + } + // tree 513 + if ( features[8] < 2.24069 ) { + if ( features[8] < 1.89444 ) { + sum += -0.000136356; + } else { + sum += 0.000136356; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000136356; + } else { + sum += -0.000136356; + } + } + // tree 514 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000187077; + } else { + sum += -0.000187077; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000187077; + } else { + sum += 0.000187077; + } + } + // tree 515 + if ( features[1] < -0.100321 ) { + if ( features[9] < 1.77604 ) { + sum += 0.00015845; + } else { + sum += -0.00015845; + } + } else { + if ( features[5] < 0.525308 ) { + sum += 0.00015845; + } else { + sum += -0.00015845; + } + } + // tree 516 + if ( features[1] < -0.508299 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000165854; + } else { + sum += -0.000165854; + } + } else { + if ( features[7] < 0.740518 ) { + sum += 0.000165854; + } else { + sum += -0.000165854; + } + } + // tree 517 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.000168972; + } else { + sum += 0.000168972; + } + } else { + if ( features[4] < -0.0782437 ) { + sum += -0.000168972; + } else { + sum += 0.000168972; + } + } + // tree 518 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000145623; + } else { + sum += -0.000145623; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 0.000145623; + } else { + sum += -0.000145623; + } + } + // tree 519 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000202303; + } else { + sum += 0.000202303; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000202303; + } else { + sum += -0.000202303; + } + } + // tree 520 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000194038; + } else { + sum += 0.000194038; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000194038; + } else { + sum += 0.000194038; + } + } + // tree 521 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000151904; + } else { + sum += 0.000151904; + } + } else { + if ( features[6] < -0.645187 ) { + sum += 0.000151904; + } else { + sum += -0.000151904; + } + } + // tree 522 + if ( features[1] < -0.100321 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000164049; + } else { + sum += 0.000164049; + } + } else { + if ( features[7] < 0.853416 ) { + sum += 0.000164049; + } else { + sum += -0.000164049; + } + } + // tree 523 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000177561; + } else { + sum += 0.000177561; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000177561; + } else { + sum += -0.000177561; + } + } + // tree 524 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000198388; + } else { + sum += 0.000198388; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000198388; + } else { + sum += 0.000198388; + } + } + // tree 525 + if ( features[12] < 4.93509 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000131545; + } else { + sum += 0.000131545; + } + } else { + if ( features[7] < 0.511327 ) { + sum += 0.000131545; + } else { + sum += -0.000131545; + } + } + // tree 526 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000199333; + } else { + sum += 0.000199333; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000199333; + } else { + sum += -0.000199333; + } + } + // tree 527 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000199525; + } else { + sum += 0.000199525; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000199525; + } else { + sum += -0.000199525; + } + } + // tree 528 + if ( features[1] < -0.100321 ) { + if ( features[9] < 1.77604 ) { + sum += 0.00018719; + } else { + sum += -0.00018719; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.00018719; + } else { + sum += 0.00018719; + } + } + // tree 529 + if ( features[1] < -0.30431 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000128035; + } else { + sum += -0.000128035; + } + } else { + sum += 0.000128035; + } + // tree 530 + if ( features[1] < -0.100321 ) { + if ( features[8] < 1.7472 ) { + sum += 0.000183655; + } else { + sum += -0.000183655; + } + } else { + if ( features[9] < 1.91817 ) { + sum += -0.000183655; + } else { + sum += 0.000183655; + } + } + // tree 531 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000159129; + } else { + sum += 0.000159129; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000159129; + } else { + sum += 0.000159129; + } + } + // tree 532 + if ( features[7] < 0.758685 ) { + if ( features[1] < -0.712255 ) { + sum += -0.000158609; + } else { + sum += 0.000158609; + } + } else { + if ( features[4] < -0.0782437 ) { + sum += -0.000158609; + } else { + sum += 0.000158609; + } + } + // tree 533 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000157565; + } else { + sum += -0.000157565; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000157565; + } else { + sum += 0.000157565; + } + } + // tree 534 + if ( features[12] < 4.93509 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000123654; + } else { + sum += 0.000123654; + } + } else { + sum += -0.000123654; + } + // tree 535 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000164989; + } else { + sum += -0.000164989; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000164989; + } else { + sum += -0.000164989; + } + } + // tree 536 + if ( features[7] < 0.758685 ) { + if ( features[12] < 4.92369 ) { + sum += 0.000144622; + } else { + sum += -0.000144622; + } + } else { + if ( features[4] < -0.0782437 ) { + sum += -0.000144622; + } else { + sum += 0.000144622; + } + } + // tree 537 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000154871; + } else { + sum += 0.000154871; + } + } else { + if ( features[9] < 2.34153 ) { + sum += -0.000154871; + } else { + sum += 0.000154871; + } + } + // tree 538 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000156469; + } else { + sum += -0.000156469; + } + } else { + if ( features[9] < 2.1009 ) { + sum += -0.000156469; + } else { + sum += 0.000156469; + } + } + // tree 539 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000136147; + } else { + sum += -0.000136147; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000136147; + } else { + sum += -0.000136147; + } + } + // tree 540 + if ( features[1] < -0.100321 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000181939; + } else { + sum += -0.000181939; + } + } else { + if ( features[8] < 1.87348 ) { + sum += -0.000181939; + } else { + sum += 0.000181939; + } + } + // tree 541 + if ( features[7] < 0.758685 ) { + if ( features[7] < 0.375527 ) { + sum += -0.00016108; + } else { + sum += 0.00016108; + } + } else { + if ( features[11] < 1.29587 ) { + sum += -0.00016108; + } else { + sum += 0.00016108; + } + } + // tree 542 + if ( features[9] < 1.87281 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000163122; + } else { + sum += -0.000163122; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000163122; + } else { + sum += 0.000163122; + } + } + // tree 543 + if ( features[2] < 0.821394 ) { + if ( features[12] < 4.93509 ) { + sum += 0.00012346; + } else { + sum += -0.00012346; + } + } else { + if ( features[2] < 1.16763 ) { + sum += 0.00012346; + } else { + sum += -0.00012346; + } + } + // tree 544 + if ( features[1] < -0.508299 ) { + if ( features[7] < 0.390938 ) { + sum += -0.00015037; + } else { + sum += 0.00015037; + } + } else { + if ( features[8] < 1.72464 ) { + sum += -0.00015037; + } else { + sum += 0.00015037; + } + } + // tree 545 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000164244; + } else { + sum += -0.000164244; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000164244; + } else { + sum += -0.000164244; + } + } + // tree 546 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000172026; + } else { + sum += 0.000172026; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000172026; + } else { + sum += -0.000172026; + } + } + // tree 547 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000168424; + } else { + sum += -0.000168424; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000168424; + } else { + sum += -0.000168424; + } + } + // tree 548 + if ( features[1] < -0.508299 ) { + if ( features[2] < -0.308475 ) { + sum += 0.000158396; + } else { + sum += -0.000158396; + } + } else { + if ( features[7] < 0.740518 ) { + sum += 0.000158396; + } else { + sum += -0.000158396; + } + } + // tree 549 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000134839; + } else { + sum += -0.000134839; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000134839; + } else { + sum += -0.000134839; + } + } + // tree 550 + if ( features[1] < -0.508299 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000145065; + } else { + sum += -0.000145065; + } + } else { + if ( features[5] < 0.784599 ) { + sum += 0.000145065; + } else { + sum += -0.000145065; + } + } + // tree 551 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000172317; + } else { + sum += 0.000172317; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000172317; + } else { + sum += -0.000172317; + } + } + // tree 552 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.366608 ) { + sum += -0.000122642; + } else { + sum += 0.000122642; + } + } else { + if ( features[3] < 0.174737 ) { + sum += -0.000122642; + } else { + sum += 0.000122642; + } + } + // tree 553 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000159121; + } else { + sum += -0.000159121; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000159121; + } else { + sum += 0.000159121; + } + } + // tree 554 + if ( features[1] < -0.508299 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000159453; + } else { + sum += -0.000159453; + } + } else { + if ( features[7] < 0.740518 ) { + sum += 0.000159453; + } else { + sum += -0.000159453; + } + } + // tree 555 + if ( features[12] < 4.93509 ) { + if ( features[0] < 1.68308 ) { + sum += -0.000132932; + } else { + sum += 0.000132932; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000132932; + } else { + sum += 0.000132932; + } + } + // tree 556 + if ( features[1] < 0.103667 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000146701; + } else { + sum += -0.000146701; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000146701; + } else { + sum += -0.000146701; + } + } + // tree 557 + if ( features[1] < 0.103667 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000134969; + } else { + sum += -0.000134969; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000134969; + } else { + sum += -0.000134969; + } + } + // tree 558 + if ( features[1] < 0.103667 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000119661; + } else { + sum += -0.000119661; + } + } else { + if ( features[9] < 2.1009 ) { + sum += -0.000119661; + } else { + sum += 0.000119661; + } + } + // tree 559 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000144949; + } else { + sum += 0.000144949; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000144949; + } else { + sum += -0.000144949; + } + } + // tree 560 + if ( features[7] < 0.501269 ) { + if ( features[12] < 4.80458 ) { + sum += 0.000147636; + } else { + sum += -0.000147636; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000147636; + } else { + sum += -0.000147636; + } + } + // tree 561 + if ( features[12] < 4.93509 ) { + if ( features[3] < 0.0967294 ) { + sum += 0.000133774; + } else { + sum += -0.000133774; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000133774; + } else { + sum += -0.000133774; + } + } + // tree 562 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000149067; + } else { + sum += -0.000149067; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000149067; + } else { + sum += -0.000149067; + } + } + // tree 563 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000144149; + } else { + sum += -0.000144149; + } + } else { + sum += 0.000144149; + } + // tree 564 + if ( features[1] < 0.103667 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000137492; + } else { + sum += -0.000137492; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000137492; + } else { + sum += 0.000137492; + } + } + // tree 565 + if ( features[1] < -0.508299 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000155371; + } else { + sum += -0.000155371; + } + } else { + if ( features[9] < 1.87289 ) { + sum += -0.000155371; + } else { + sum += 0.000155371; + } + } + // tree 566 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000155607; + } else { + sum += 0.000155607; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000155607; + } else { + sum += -0.000155607; + } + } + // tree 567 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000153083; + } else { + sum += -0.000153083; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000153083; + } else { + sum += 0.000153083; + } + } + // tree 568 + if ( features[5] < 0.628848 ) { + if ( features[8] < 2.19164 ) { + sum += -0.000154895; + } else { + sum += 0.000154895; + } + } else { + if ( features[7] < 0.47715 ) { + sum += 0.000154895; + } else { + sum += -0.000154895; + } + } + // tree 569 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.00014474; + } else { + sum += 0.00014474; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.00014474; + } else { + sum += 0.00014474; + } + } + // tree 570 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.00015565; + } else { + sum += 0.00015565; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.00015565; + } else { + sum += -0.00015565; + } + } + // tree 571 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000188072; + } else { + sum += 0.000188072; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000188072; + } else { + sum += 0.000188072; + } + } + // tree 572 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000155821; + } else { + sum += 0.000155821; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000155821; + } else { + sum += 0.000155821; + } + } + // tree 573 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000148986; + } else { + sum += 0.000148986; + } + } else { + sum += -0.000148986; + } + // tree 574 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000169425; + } else { + sum += 0.000169425; + } + } else { + if ( features[7] < 0.511069 ) { + sum += 0.000169425; + } else { + sum += -0.000169425; + } + } + // tree 575 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.353762 ) { + sum += -0.000149196; + } else { + sum += 0.000149196; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000149196; + } else { + sum += -0.000149196; + } + } + // tree 576 + if ( features[4] < -1.29629 ) { + if ( features[5] < 0.754354 ) { + sum += 0.000136869; + } else { + sum += -0.000136869; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.000136869; + } else { + sum += -0.000136869; + } + } + // tree 577 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000143189; + } else { + sum += -0.000143189; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000143189; + } else { + sum += -0.000143189; + } + } + // tree 578 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000163352; + } else { + sum += -0.000163352; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000163352; + } else { + sum += -0.000163352; + } + } + // tree 579 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000148078; + } else { + sum += -0.000148078; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000148078; + } else { + sum += -0.000148078; + } + } + // tree 580 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000140792; + } else { + sum += -0.000140792; + } + } else { + sum += 0.000140792; + } + // tree 581 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000161098; + } else { + sum += -0.000161098; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000161098; + } else { + sum += -0.000161098; + } + } + // tree 582 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.32813 ) { + sum += 0.000170852; + } else { + sum += -0.000170852; + } + } else { + if ( features[0] < 1.68308 ) { + sum += -0.000170852; + } else { + sum += 0.000170852; + } + } + // tree 583 + if ( features[1] < -0.508299 ) { + if ( features[9] < 1.76783 ) { + sum += 0.000150212; + } else { + sum += -0.000150212; + } + } else { + if ( features[8] < 1.72464 ) { + sum += -0.000150212; + } else { + sum += 0.000150212; + } + } + // tree 584 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000151928; + } else { + sum += -0.000151928; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000151928; + } else { + sum += 0.000151928; + } + } + // tree 585 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.00014992; + } else { + sum += 0.00014992; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 0.00014992; + } else { + sum += -0.00014992; + } + } + // tree 586 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000150157; + } else { + sum += -0.000150157; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000150157; + } else { + sum += 0.000150157; + } + } + // tree 587 + if ( features[8] < 2.24069 ) { + if ( features[4] < -1.99199 ) { + sum += 0.000153347; + } else { + sum += -0.000153347; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000153347; + } else { + sum += -0.000153347; + } + } + // tree 588 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000139737; + } else { + sum += -0.000139737; + } + } else { + if ( features[7] < 0.721895 ) { + sum += 0.000139737; + } else { + sum += -0.000139737; + } + } + // tree 589 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000171988; + } else { + sum += -0.000171988; + } + } else { + if ( features[5] < 0.761407 ) { + sum += 0.000171988; + } else { + sum += -0.000171988; + } + } + // tree 590 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000165833; + } else { + sum += 0.000165833; + } + } else { + if ( features[7] < 0.511069 ) { + sum += 0.000165833; + } else { + sum += -0.000165833; + } + } + // tree 591 + if ( features[1] < -0.508299 ) { + if ( features[1] < -0.745193 ) { + sum += -0.000148561; + } else { + sum += 0.000148561; + } + } else { + if ( features[8] < 1.72464 ) { + sum += -0.000148561; + } else { + sum += 0.000148561; + } + } + // tree 592 + if ( features[4] < -1.29629 ) { + if ( features[5] < 0.754354 ) { + sum += 0.000129709; + } else { + sum += -0.000129709; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000129709; + } else { + sum += -0.000129709; + } + } + // tree 593 + if ( features[0] < 1.68308 ) { + if ( features[5] < 0.993434 ) { + sum += -0.000142483; + } else { + sum += 0.000142483; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000142483; + } else { + sum += 0.000142483; + } + } + // tree 594 + if ( features[0] < 1.68308 ) { + if ( features[5] < 0.993434 ) { + sum += -0.00011394; + } else { + sum += 0.00011394; + } + } else { + if ( features[3] < 0.128972 ) { + sum += 0.00011394; + } else { + sum += -0.00011394; + } + } + // tree 595 + if ( features[7] < 0.354174 ) { + sum += -0.000142689; + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000142689; + } else { + sum += -0.000142689; + } + } + // tree 596 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000181027; + } else { + sum += -0.000181027; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000181027; + } else { + sum += -0.000181027; + } + } + // tree 597 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000167622; + } else { + sum += -0.000167622; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000167622; + } else { + sum += -0.000167622; + } + } + // tree 598 + if ( features[7] < 0.354174 ) { + sum += -0.000147166; + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000147166; + } else { + sum += -0.000147166; + } + } + // tree 599 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000155963; + } else { + sum += -0.000155963; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000155963; + } else { + sum += -0.000155963; + } + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_600-899.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_600-899.cpp new file mode 100644 index 0000000000000000000000000000000000000000..52d7398050cb68cec90525c8abf3161053e27707 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_600-899.cpp @@ -0,0 +1,4074 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_2( const std::vector<double>& features ) const { + double sum = 0; + + // tree 600 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000146369; + } else { + sum += 0.000146369; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000146369; + } else { + sum += 0.000146369; + } + } + // tree 601 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000134424; + } else { + sum += -0.000134424; + } + } else { + sum += 0.000134424; + } + // tree 602 + if ( features[7] < 0.354174 ) { + sum += -0.000110187; + } else { + if ( features[3] < 0.0967294 ) { + sum += 0.000110187; + } else { + sum += -0.000110187; + } + } + // tree 603 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000149848; + } else { + sum += -0.000149848; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000149848; + } else { + sum += 0.000149848; + } + } + // tree 604 + if ( features[1] < 0.103667 ) { + if ( features[10] < -27.4195 ) { + sum += 0.00014175; + } else { + sum += -0.00014175; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00014175; + } else { + sum += -0.00014175; + } + } + // tree 605 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000148788; + } else { + sum += -0.000148788; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000148788; + } else { + sum += 0.000148788; + } + } + // tree 606 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000156099; + } else { + sum += -0.000156099; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000156099; + } else { + sum += -0.000156099; + } + } + // tree 607 + if ( features[7] < 0.354174 ) { + sum += -0.000146136; + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000146136; + } else { + sum += -0.000146136; + } + } + // tree 608 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.353762 ) { + sum += -0.000118627; + } else { + sum += 0.000118627; + } + } else { + if ( features[10] < -27.4195 ) { + sum += 0.000118627; + } else { + sum += -0.000118627; + } + } + // tree 609 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000139144; + } else { + sum += 0.000139144; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000139144; + } else { + sum += -0.000139144; + } + } + // tree 610 + if ( features[12] < 4.93509 ) { + if ( features[3] < 0.0967294 ) { + sum += 0.000131253; + } else { + sum += -0.000131253; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000131253; + } else { + sum += 0.000131253; + } + } + // tree 611 + if ( features[7] < 0.354174 ) { + sum += -0.000108826; + } else { + if ( features[3] < 0.0967294 ) { + sum += 0.000108826; + } else { + sum += -0.000108826; + } + } + // tree 612 + if ( features[1] < 0.103667 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000134158; + } else { + sum += -0.000134158; + } + } else { + sum += 0.000134158; + } + // tree 613 + if ( features[4] < -1.29629 ) { + if ( features[8] < 1.8937 ) { + sum += -0.000135301; + } else { + sum += 0.000135301; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.000135301; + } else { + sum += -0.000135301; + } + } + // tree 614 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0644723 ) { + sum += 0.000145422; + } else { + sum += -0.000145422; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000145422; + } else { + sum += -0.000145422; + } + } + // tree 615 + if ( features[12] < 4.93509 ) { + if ( features[8] < 1.82785 ) { + sum += -0.000119099; + } else { + sum += 0.000119099; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000119099; + } else { + sum += 0.000119099; + } + } + // tree 616 + if ( features[0] < 1.68308 ) { + if ( features[7] < 0.402709 ) { + sum += -0.00013552; + } else { + sum += 0.00013552; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.00013552; + } else { + sum += 0.00013552; + } + } + // tree 617 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000141448; + } else { + sum += -0.000141448; + } + } else { + if ( features[9] < 2.1009 ) { + sum += -0.000141448; + } else { + sum += 0.000141448; + } + } + // tree 618 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000141719; + } else { + sum += 0.000141719; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.000141719; + } else { + sum += -0.000141719; + } + } + // tree 619 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000178329; + } else { + sum += -0.000178329; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000178329; + } else { + sum += -0.000178329; + } + } + // tree 620 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000138606; + } else { + sum += -0.000138606; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000138606; + } else { + sum += 0.000138606; + } + } + // tree 621 + if ( features[7] < 0.354174 ) { + sum += -0.000143941; + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000143941; + } else { + sum += -0.000143941; + } + } + // tree 622 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000133321; + } else { + sum += -0.000133321; + } + } else { + sum += 0.000133321; + } + // tree 623 + if ( features[1] < 0.103667 ) { + if ( features[10] < -27.4195 ) { + sum += 0.000139578; + } else { + sum += -0.000139578; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000139578; + } else { + sum += -0.000139578; + } + } + // tree 624 + if ( features[11] < 1.84612 ) { + if ( features[5] < 0.473096 ) { + sum += 0.000104479; + } else { + sum += -0.000104479; + } + } else { + sum += -0.000104479; + } + // tree 625 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.000140267; + } else { + sum += 0.000140267; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000140267; + } else { + sum += 0.000140267; + } + } + // tree 626 + if ( features[4] < -1.29629 ) { + if ( features[1] < -0.406259 ) { + sum += -0.000136488; + } else { + sum += 0.000136488; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000136488; + } else { + sum += -0.000136488; + } + } + // tree 627 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.00013287; + } else { + sum += -0.00013287; + } + } else { + if ( features[7] < 0.485316 ) { + sum += 0.00013287; + } else { + sum += -0.00013287; + } + } + // tree 628 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000161998; + } else { + sum += 0.000161998; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000161998; + } else { + sum += -0.000161998; + } + } + // tree 629 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000157205; + } else { + sum += -0.000157205; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000157205; + } else { + sum += -0.000157205; + } + } + // tree 630 + if ( features[12] < 4.93509 ) { + if ( features[12] < 4.64526 ) { + sum += 0.000116075; + } else { + sum += -0.000116075; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000116075; + } else { + sum += 0.000116075; + } + } + // tree 631 + if ( features[7] < 0.354174 ) { + sum += -0.000143346; + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000143346; + } else { + sum += -0.000143346; + } + } + // tree 632 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000160672; + } else { + sum += 0.000160672; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000160672; + } else { + sum += -0.000160672; + } + } + // tree 633 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000144141; + } else { + sum += 0.000144141; + } + } else { + if ( features[7] < 0.721895 ) { + sum += 0.000144141; + } else { + sum += -0.000144141; + } + } + // tree 634 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000162029; + } else { + sum += -0.000162029; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000162029; + } else { + sum += -0.000162029; + } + } + // tree 635 + if ( features[1] < 0.103667 ) { + if ( features[4] < -1.99208 ) { + sum += 0.000119531; + } else { + sum += -0.000119531; + } + } else { + sum += 0.000119531; + } + // tree 636 + if ( features[11] < 1.84612 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000105888; + } else { + sum += -0.000105888; + } + } else { + sum += -0.000105888; + } + // tree 637 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000131205; + } else { + sum += -0.000131205; + } + } else { + sum += 0.000131205; + } + // tree 638 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000144634; + } else { + sum += -0.000144634; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000144634; + } else { + sum += 0.000144634; + } + } + // tree 639 + if ( features[7] < 0.354174 ) { + if ( features[5] < 0.275788 ) { + sum += 0.000125082; + } else { + sum += -0.000125082; + } + } else { + if ( features[6] < -0.231447 ) { + sum += 0.000125082; + } else { + sum += -0.000125082; + } + } + // tree 640 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -0.000113627; + } else { + sum += 0.000113627; + } + } else { + if ( features[0] < 1.99219 ) { + sum += 0.000113627; + } else { + sum += -0.000113627; + } + } + // tree 641 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000162187; + } else { + sum += -0.000162187; + } + } else { + if ( features[5] < 0.626749 ) { + sum += 0.000162187; + } else { + sum += -0.000162187; + } + } + // tree 642 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000138468; + } else { + sum += 0.000138468; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000138468; + } else { + sum += -0.000138468; + } + } + // tree 643 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000151916; + } else { + sum += -0.000151916; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000151916; + } else { + sum += -0.000151916; + } + } + // tree 644 + if ( features[1] < 0.103667 ) { + if ( features[4] < -1.99208 ) { + sum += 0.000117918; + } else { + sum += -0.000117918; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000117918; + } else { + sum += -0.000117918; + } + } + // tree 645 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000139166; + } else { + sum += 0.000139166; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -0.000139166; + } else { + sum += 0.000139166; + } + } + // tree 646 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000141696; + } else { + sum += -0.000141696; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000141696; + } else { + sum += -0.000141696; + } + } + // tree 647 + if ( features[12] < 4.93509 ) { + if ( features[9] < 1.87281 ) { + sum += -0.000119504; + } else { + sum += 0.000119504; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000119504; + } else { + sum += 0.000119504; + } + } + // tree 648 + if ( features[12] < 4.93509 ) { + if ( features[8] < 1.82785 ) { + sum += -0.000111343; + } else { + sum += 0.000111343; + } + } else { + if ( features[9] < 2.34153 ) { + sum += -0.000111343; + } else { + sum += 0.000111343; + } + } + // tree 649 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.000181693; + } else { + sum += -0.000181693; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000181693; + } else { + sum += 0.000181693; + } + } + // tree 650 + if ( features[7] < 0.354174 ) { + sum += -0.00015418; + } else { + if ( features[7] < 0.736147 ) { + sum += 0.00015418; + } else { + sum += -0.00015418; + } + } + // tree 651 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000145025; + } else { + sum += 0.000145025; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000145025; + } else { + sum += -0.000145025; + } + } + // tree 652 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000180495; + } else { + sum += 0.000180495; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000180495; + } else { + sum += 0.000180495; + } + } + // tree 653 + if ( features[5] < 0.473096 ) { + sum += 0.000133125; + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000133125; + } else { + sum += -0.000133125; + } + } + // tree 654 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000144538; + } else { + sum += 0.000144538; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000144538; + } else { + sum += -0.000144538; + } + } + // tree 655 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000134729; + } else { + sum += -0.000134729; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000134729; + } else { + sum += -0.000134729; + } + } + // tree 656 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000150183; + } else { + sum += 0.000150183; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000150183; + } else { + sum += -0.000150183; + } + } + // tree 657 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000139547; + } else { + sum += 0.000139547; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000139547; + } else { + sum += 0.000139547; + } + } + // tree 658 + if ( features[1] < 0.103667 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000115065; + } else { + sum += -0.000115065; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000115065; + } else { + sum += -0.000115065; + } + } + // tree 659 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.00018067; + } else { + sum += 0.00018067; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.00018067; + } else { + sum += -0.00018067; + } + } + // tree 660 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000150054; + } else { + sum += -0.000150054; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000150054; + } else { + sum += -0.000150054; + } + } + // tree 661 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000171427; + } else { + sum += -0.000171427; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000171427; + } else { + sum += -0.000171427; + } + } + // tree 662 + if ( features[0] < 1.68308 ) { + if ( features[5] < 0.993434 ) { + sum += -0.000135507; + } else { + sum += 0.000135507; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000135507; + } else { + sum += 0.000135507; + } + } + // tree 663 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000151905; + } else { + sum += -0.000151905; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000151905; + } else { + sum += -0.000151905; + } + } + // tree 664 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000139013; + } else { + sum += 0.000139013; + } + } else { + sum += -0.000139013; + } + // tree 665 + if ( features[4] < -1.29629 ) { + sum += 0.000120287; + } else { + if ( features[2] < 0.633096 ) { + sum += 0.000120287; + } else { + sum += -0.000120287; + } + } + // tree 666 + if ( features[12] < 4.93509 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000124915; + } else { + sum += -0.000124915; + } + } else { + sum += -0.000124915; + } + // tree 667 + if ( features[1] < 0.103667 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000118779; + } else { + sum += -0.000118779; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000118779; + } else { + sum += 0.000118779; + } + } + // tree 668 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -0.000134437; + } else { + sum += 0.000134437; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000134437; + } else { + sum += -0.000134437; + } + } + // tree 669 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000169791; + } else { + sum += -0.000169791; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000169791; + } else { + sum += -0.000169791; + } + } + // tree 670 + if ( features[6] < -0.231447 ) { + if ( features[5] < 0.48452 ) { + sum += 0.000116766; + } else { + sum += -0.000116766; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000116766; + } else { + sum += -0.000116766; + } + } + // tree 671 + if ( features[7] < 0.354174 ) { + sum += -0.000138338; + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000138338; + } else { + sum += -0.000138338; + } + } + // tree 672 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.00017686; + } else { + sum += 0.00017686; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.00017686; + } else { + sum += 0.00017686; + } + } + // tree 673 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000131618; + } else { + sum += -0.000131618; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000131618; + } else { + sum += -0.000131618; + } + } + // tree 674 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000119442; + } else { + sum += -0.000119442; + } + } else { + sum += 0.000119442; + } + // tree 675 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -0.000133453; + } else { + sum += 0.000133453; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000133453; + } else { + sum += -0.000133453; + } + } + // tree 676 + if ( features[7] < 0.354174 ) { + if ( features[5] < 0.275788 ) { + sum += 0.000139215; + } else { + sum += -0.000139215; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000139215; + } else { + sum += -0.000139215; + } + } + // tree 677 + if ( features[4] < -1.29629 ) { + if ( features[0] < 1.68517 ) { + sum += -0.000130578; + } else { + sum += 0.000130578; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.000130578; + } else { + sum += -0.000130578; + } + } + // tree 678 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.000139694; + } else { + sum += 0.000139694; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000139694; + } else { + sum += 0.000139694; + } + } + // tree 679 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000126335; + } else { + sum += -0.000126335; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000126335; + } else { + sum += 0.000126335; + } + } + // tree 680 + if ( features[0] < 1.68308 ) { + if ( features[12] < 4.33725 ) { + sum += 0.000130556; + } else { + sum += -0.000130556; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000130556; + } else { + sum += 0.000130556; + } + } + // tree 681 + if ( features[3] < 0.0967294 ) { + if ( features[8] < 1.51822 ) { + sum += -0.000101613; + } else { + sum += 0.000101613; + } + } else { + if ( features[7] < 0.538043 ) { + sum += 0.000101613; + } else { + sum += -0.000101613; + } + } + // tree 682 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000134908; + } else { + sum += -0.000134908; + } + } else { + if ( features[9] < 2.64704 ) { + sum += -0.000134908; + } else { + sum += 0.000134908; + } + } + // tree 683 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000135579; + } else { + sum += 0.000135579; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000135579; + } else { + sum += 0.000135579; + } + } + // tree 684 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.0001354; + } else { + sum += 0.0001354; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.0001354; + } else { + sum += -0.0001354; + } + } + // tree 685 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000133093; + } else { + sum += -0.000133093; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000133093; + } else { + sum += 0.000133093; + } + } + // tree 686 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000128012; + } else { + sum += -0.000128012; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000128012; + } else { + sum += -0.000128012; + } + } + // tree 687 + if ( features[0] < 1.68308 ) { + if ( features[7] < 0.402709 ) { + sum += -0.00013254; + } else { + sum += 0.00013254; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.00013254; + } else { + sum += 0.00013254; + } + } + // tree 688 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000140071; + } else { + sum += 0.000140071; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -0.000140071; + } else { + sum += 0.000140071; + } + } + // tree 689 + if ( features[12] < 4.93509 ) { + if ( features[4] < -1.47026 ) { + sum += 0.000122431; + } else { + sum += -0.000122431; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000122431; + } else { + sum += -0.000122431; + } + } + // tree 690 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -0.000124393; + } else { + sum += 0.000124393; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000124393; + } else { + sum += -0.000124393; + } + } + // tree 691 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000155821; + } else { + sum += 0.000155821; + } + } else { + if ( features[9] < 2.64704 ) { + sum += -0.000155821; + } else { + sum += 0.000155821; + } + } + // tree 692 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -0.00013609; + } else { + sum += 0.00013609; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.00013609; + } else { + sum += -0.00013609; + } + } + // tree 693 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -0.000135887; + } else { + sum += 0.000135887; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000135887; + } else { + sum += -0.000135887; + } + } + // tree 694 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000177787; + } else { + sum += 0.000177787; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000177787; + } else { + sum += -0.000177787; + } + } + // tree 695 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.00011434; + } else { + sum += 0.00011434; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.00011434; + } else { + sum += 0.00011434; + } + } + // tree 696 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000127707; + } else { + sum += -0.000127707; + } + } else { + sum += 0.000127707; + } + // tree 697 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000147233; + } else { + sum += -0.000147233; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000147233; + } else { + sum += -0.000147233; + } + } + // tree 698 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.00013718; + } else { + sum += -0.00013718; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.00013718; + } else { + sum += -0.00013718; + } + } + // tree 699 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000139314; + } else { + sum += 0.000139314; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000139314; + } else { + sum += 0.000139314; + } + } + // tree 700 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -0.000135284; + } else { + sum += 0.000135284; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000135284; + } else { + sum += -0.000135284; + } + } + // tree 701 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000154687; + } else { + sum += -0.000154687; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000154687; + } else { + sum += -0.000154687; + } + } + // tree 702 + if ( features[0] < 1.68308 ) { + if ( features[5] < 0.993434 ) { + sum += -0.000131028; + } else { + sum += 0.000131028; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000131028; + } else { + sum += 0.000131028; + } + } + // tree 703 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000144931; + } else { + sum += 0.000144931; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000144931; + } else { + sum += 0.000144931; + } + } + // tree 704 + if ( features[4] < -1.29629 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000131616; + } else { + sum += 0.000131616; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000131616; + } else { + sum += -0.000131616; + } + } + // tree 705 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000174886; + } else { + sum += 0.000174886; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000174886; + } else { + sum += 0.000174886; + } + } + // tree 706 + if ( features[1] < 0.103667 ) { + if ( features[4] < -1.99208 ) { + sum += 0.000134333; + } else { + sum += -0.000134333; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000134333; + } else { + sum += -0.000134333; + } + } + // tree 707 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000136427; + } else { + sum += -0.000136427; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.000136427; + } else { + sum += -0.000136427; + } + } + // tree 708 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000133604; + } else { + sum += 0.000133604; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000133604; + } else { + sum += 0.000133604; + } + } + // tree 709 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000130894; + } else { + sum += -0.000130894; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000130894; + } else { + sum += 0.000130894; + } + } + // tree 710 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000137755; + } else { + sum += 0.000137755; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000137755; + } else { + sum += -0.000137755; + } + } + // tree 711 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000137995; + } else { + sum += -0.000137995; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000137995; + } else { + sum += -0.000137995; + } + } + // tree 712 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000137893; + } else { + sum += 0.000137893; + } + } else { + if ( features[7] < 0.547541 ) { + sum += 0.000137893; + } else { + sum += -0.000137893; + } + } + // tree 713 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000129643; + } else { + sum += -0.000129643; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000129643; + } else { + sum += 0.000129643; + } + } + // tree 714 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000133108; + } else { + sum += -0.000133108; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000133108; + } else { + sum += 0.000133108; + } + } + // tree 715 + if ( features[7] < 0.354174 ) { + sum += -0.000126995; + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000126995; + } else { + sum += -0.000126995; + } + } + // tree 716 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000140657; + } else { + sum += 0.000140657; + } + } else { + if ( features[4] < -1.81665 ) { + sum += 0.000140657; + } else { + sum += -0.000140657; + } + } + // tree 717 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000144084; + } else { + sum += 0.000144084; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000144084; + } else { + sum += 0.000144084; + } + } + // tree 718 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000144861; + } else { + sum += -0.000144861; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000144861; + } else { + sum += -0.000144861; + } + } + // tree 719 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000135622; + } else { + sum += -0.000135622; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.000135622; + } else { + sum += -0.000135622; + } + } + // tree 720 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000135021; + } else { + sum += -0.000135021; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000135021; + } else { + sum += 0.000135021; + } + } + // tree 721 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000137063; + } else { + sum += -0.000137063; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000137063; + } else { + sum += 0.000137063; + } + } + // tree 722 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000143709; + } else { + sum += 0.000143709; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000143709; + } else { + sum += 0.000143709; + } + } + // tree 723 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000133255; + } else { + sum += -0.000133255; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000133255; + } else { + sum += -0.000133255; + } + } + // tree 724 + if ( features[7] < 0.501269 ) { + if ( features[12] < 4.80458 ) { + sum += 0.000114987; + } else { + sum += -0.000114987; + } + } else { + if ( features[2] < 0.444747 ) { + sum += 0.000114987; + } else { + sum += -0.000114987; + } + } + // tree 725 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000174536; + } else { + sum += 0.000174536; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000174536; + } else { + sum += -0.000174536; + } + } + // tree 726 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000135828; + } else { + sum += -0.000135828; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000135828; + } else { + sum += 0.000135828; + } + } + // tree 727 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000181104; + } else { + sum += -0.000181104; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000181104; + } else { + sum += 0.000181104; + } + } + // tree 728 + sum += 5.93981e-05; + // tree 729 + if ( features[9] < 1.87281 ) { + if ( features[3] < 0.0161237 ) { + sum += 0.000111918; + } else { + sum += -0.000111918; + } + } else { + if ( features[4] < -1.2963 ) { + sum += 0.000111918; + } else { + sum += -0.000111918; + } + } + // tree 730 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000130728; + } else { + sum += 0.000130728; + } + } else { + if ( features[0] < 1.99219 ) { + sum += 0.000130728; + } else { + sum += -0.000130728; + } + } + // tree 731 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000143366; + } else { + sum += 0.000143366; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000143366; + } else { + sum += 0.000143366; + } + } + // tree 732 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000173483; + } else { + sum += 0.000173483; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000173483; + } else { + sum += -0.000173483; + } + } + // tree 733 + if ( features[4] < -1.29629 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.0001409; + } else { + sum += 0.0001409; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.0001409; + } else { + sum += -0.0001409; + } + } + // tree 734 + if ( features[1] < 0.103667 ) { + if ( features[11] < 1.17355 ) { + sum += 0.000111311; + } else { + sum += -0.000111311; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000111311; + } else { + sum += -0.000111311; + } + } + // tree 735 + if ( features[7] < 0.501269 ) { + sum += 0.000128818; + } else { + if ( features[9] < 2.64704 ) { + sum += -0.000128818; + } else { + sum += 0.000128818; + } + } + // tree 736 + if ( features[7] < 0.354174 ) { + if ( features[5] < 0.275788 ) { + sum += 0.000125192; + } else { + sum += -0.000125192; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000125192; + } else { + sum += -0.000125192; + } + } + // tree 737 + if ( features[7] < 0.354174 ) { + sum += -0.000145306; + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000145306; + } else { + sum += -0.000145306; + } + } + // tree 738 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000122438; + } else { + sum += 0.000122438; + } + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000122438; + } else { + sum += 0.000122438; + } + } + // tree 739 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -0.000137894; + } else { + sum += 0.000137894; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000137894; + } else { + sum += -0.000137894; + } + } + // tree 740 + if ( features[7] < 0.354174 ) { + if ( features[5] < 0.275788 ) { + sum += 0.000133084; + } else { + sum += -0.000133084; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000133084; + } else { + sum += -0.000133084; + } + } + // tree 741 + if ( features[7] < 0.354174 ) { + if ( features[5] < 0.275788 ) { + sum += 0.000145126; + } else { + sum += -0.000145126; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000145126; + } else { + sum += -0.000145126; + } + } + // tree 742 + if ( features[5] < 0.473096 ) { + sum += 0.000117362; + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000117362; + } else { + sum += -0.000117362; + } + } + // tree 743 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000134558; + } else { + sum += -0.000134558; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000134558; + } else { + sum += 0.000134558; + } + } + // tree 744 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000145132; + } else { + sum += 0.000145132; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000145132; + } else { + sum += -0.000145132; + } + } + // tree 745 + if ( features[4] < -1.29629 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000139979; + } else { + sum += 0.000139979; + } + } else { + if ( features[5] < 0.879737 ) { + sum += -0.000139979; + } else { + sum += 0.000139979; + } + } + // tree 746 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000131269; + } else { + sum += 0.000131269; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000131269; + } else { + sum += 0.000131269; + } + } + // tree 747 + if ( features[4] < -1.29629 ) { + if ( features[7] < 0.354165 ) { + sum += -0.000115158; + } else { + sum += 0.000115158; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000115158; + } else { + sum += -0.000115158; + } + } + // tree 748 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000172111; + } else { + sum += 0.000172111; + } + } else { + if ( features[9] < 2.64704 ) { + sum += -0.000172111; + } else { + sum += 0.000172111; + } + } + // tree 749 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000171088; + } else { + sum += 0.000171088; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000171088; + } else { + sum += -0.000171088; + } + } + // tree 750 + if ( features[7] < 0.354174 ) { + sum += -0.000118352; + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000118352; + } else { + sum += 0.000118352; + } + } + // tree 751 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000115546; + } else { + sum += -0.000115546; + } + } else { + if ( features[9] < 2.15069 ) { + sum += -0.000115546; + } else { + sum += 0.000115546; + } + } + // tree 752 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000170814; + } else { + sum += 0.000170814; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000170814; + } else { + sum += 0.000170814; + } + } + // tree 753 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000113464; + } else { + sum += 0.000113464; + } + } else { + if ( features[4] < -1.29629 ) { + sum += 0.000113464; + } else { + sum += -0.000113464; + } + } + // tree 754 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000133518; + } else { + sum += -0.000133518; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000133518; + } else { + sum += -0.000133518; + } + } + // tree 755 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.00014577; + } else { + sum += -0.00014577; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.00014577; + } else { + sum += 0.00014577; + } + } + // tree 756 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000132544; + } else { + sum += 0.000132544; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000132544; + } else { + sum += -0.000132544; + } + } + // tree 757 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000162938; + } else { + sum += 0.000162938; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000162938; + } else { + sum += -0.000162938; + } + } + // tree 758 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000121518; + } else { + sum += -0.000121518; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000121518; + } else { + sum += -0.000121518; + } + } + // tree 759 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000139627; + } else { + sum += -0.000139627; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000139627; + } else { + sum += -0.000139627; + } + } + // tree 760 + if ( features[12] < 4.93509 ) { + if ( features[8] < 1.51822 ) { + sum += -0.000108153; + } else { + sum += 0.000108153; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000108153; + } else { + sum += 0.000108153; + } + } + // tree 761 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000144552; + } else { + sum += 0.000144552; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000144552; + } else { + sum += -0.000144552; + } + } + // tree 762 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.00014445; + } else { + sum += -0.00014445; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.00014445; + } else { + sum += 0.00014445; + } + } + // tree 763 + if ( features[2] < 0.821394 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000138917; + } else { + sum += 0.000138917; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 0.000138917; + } else { + sum += -0.000138917; + } + } + // tree 764 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.000127227; + } else { + sum += 0.000127227; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000127227; + } else { + sum += -0.000127227; + } + } + // tree 765 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000133517; + } else { + sum += 0.000133517; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -0.000133517; + } else { + sum += 0.000133517; + } + } + // tree 766 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000117222; + } else { + sum += -0.000117222; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000117222; + } else { + sum += -0.000117222; + } + } + // tree 767 + if ( features[4] < -1.29629 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000139457; + } else { + sum += 0.000139457; + } + } else { + if ( features[5] < 0.879737 ) { + sum += -0.000139457; + } else { + sum += 0.000139457; + } + } + // tree 768 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000166836; + } else { + sum += 0.000166836; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000166836; + } else { + sum += 0.000166836; + } + } + // tree 769 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.501269 ) { + sum += 0.000141925; + } else { + sum += -0.000141925; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000141925; + } else { + sum += -0.000141925; + } + } + // tree 770 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000140764; + } else { + sum += 0.000140764; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000140764; + } else { + sum += -0.000140764; + } + } + // tree 771 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.353762 ) { + sum += -0.000118806; + } else { + sum += 0.000118806; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000118806; + } else { + sum += -0.000118806; + } + } + // tree 772 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000121867; + } else { + sum += 0.000121867; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000121867; + } else { + sum += -0.000121867; + } + } + // tree 773 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000167036; + } else { + sum += 0.000167036; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000167036; + } else { + sum += -0.000167036; + } + } + // tree 774 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000111776; + } else { + sum += -0.000111776; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000111776; + } else { + sum += -0.000111776; + } + } + // tree 775 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000124048; + } else { + sum += -0.000124048; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -0.000124048; + } else { + sum += 0.000124048; + } + } + // tree 776 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.00013311; + } else { + sum += 0.00013311; + } + } else { + if ( features[5] < 0.891048 ) { + sum += -0.00013311; + } else { + sum += 0.00013311; + } + } + // tree 777 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000135171; + } else { + sum += 0.000135171; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000135171; + } else { + sum += -0.000135171; + } + } + // tree 778 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.00016504; + } else { + sum += 0.00016504; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.00016504; + } else { + sum += 0.00016504; + } + } + // tree 779 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000152458; + } else { + sum += 0.000152458; + } + } else { + if ( features[2] < 0.633044 ) { + sum += 0.000152458; + } else { + sum += -0.000152458; + } + } + // tree 780 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000165858; + } else { + sum += 0.000165858; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000165858; + } else { + sum += 0.000165858; + } + } + // tree 781 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000167715; + } else { + sum += 0.000167715; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000167715; + } else { + sum += -0.000167715; + } + } + // tree 782 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000129773; + } else { + sum += 0.000129773; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000129773; + } else { + sum += 0.000129773; + } + } + // tree 783 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000144711; + } else { + sum += 0.000144711; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000144711; + } else { + sum += 0.000144711; + } + } + // tree 784 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000131875; + } else { + sum += 0.000131875; + } + } else { + if ( features[5] < 0.891048 ) { + sum += -0.000131875; + } else { + sum += 0.000131875; + } + } + // tree 785 + if ( features[5] < 0.473096 ) { + sum += 0.000124519; + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000124519; + } else { + sum += -0.000124519; + } + } + // tree 786 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000139637; + } else { + sum += -0.000139637; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000139637; + } else { + sum += -0.000139637; + } + } + // tree 787 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000164501; + } else { + sum += 0.000164501; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000164501; + } else { + sum += 0.000164501; + } + } + // tree 788 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -0.000133832; + } else { + sum += 0.000133832; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000133832; + } else { + sum += -0.000133832; + } + } + // tree 789 + if ( features[5] < 0.473096 ) { + if ( features[7] < 0.353762 ) { + sum += -0.000126042; + } else { + sum += 0.000126042; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000126042; + } else { + sum += -0.000126042; + } + } + // tree 790 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000121095; + } else { + sum += -0.000121095; + } + } else { + if ( features[4] < -0.947812 ) { + sum += 0.000121095; + } else { + sum += -0.000121095; + } + } + // tree 791 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000126709; + } else { + sum += -0.000126709; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000126709; + } else { + sum += -0.000126709; + } + } + // tree 792 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.00012615; + } else { + sum += 0.00012615; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.00012615; + } else { + sum += 0.00012615; + } + } + // tree 793 + if ( features[1] < -0.712287 ) { + if ( features[5] < 0.940357 ) { + sum += -0.000130106; + } else { + sum += 0.000130106; + } + } else { + if ( features[7] < 0.550775 ) { + sum += 0.000130106; + } else { + sum += -0.000130106; + } + } + // tree 794 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000140058; + } else { + sum += 0.000140058; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000140058; + } else { + sum += -0.000140058; + } + } + // tree 795 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.00012627; + } else { + sum += 0.00012627; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.00012627; + } else { + sum += 0.00012627; + } + } + // tree 796 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000145056; + } else { + sum += 0.000145056; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000145056; + } else { + sum += -0.000145056; + } + } + // tree 797 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000144252; + } else { + sum += -0.000144252; + } + } else { + if ( features[4] < -1.2963 ) { + sum += 0.000144252; + } else { + sum += -0.000144252; + } + } + // tree 798 + if ( features[5] < 0.473096 ) { + sum += 0.000112132; + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000112132; + } else { + sum += -0.000112132; + } + } + // tree 799 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000110041; + } else { + sum += 0.000110041; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000110041; + } else { + sum += -0.000110041; + } + } + // tree 800 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.00017668; + } else { + sum += -0.00017668; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.00017668; + } else { + sum += 0.00017668; + } + } + // tree 801 + if ( features[12] < 4.93509 ) { + if ( features[4] < -1.47026 ) { + sum += 0.000111819; + } else { + sum += -0.000111819; + } + } else { + if ( features[7] < 0.547541 ) { + sum += 0.000111819; + } else { + sum += -0.000111819; + } + } + // tree 802 + if ( features[0] < 1.68308 ) { + if ( features[5] < 0.993434 ) { + sum += -0.000129457; + } else { + sum += 0.000129457; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000129457; + } else { + sum += 0.000129457; + } + } + // tree 803 + if ( features[1] < -0.712287 ) { + if ( features[5] < 0.940357 ) { + sum += -0.000116615; + } else { + sum += 0.000116615; + } + } else { + if ( features[8] < 1.72464 ) { + sum += -0.000116615; + } else { + sum += 0.000116615; + } + } + // tree 804 + if ( features[2] < 0.821394 ) { + if ( features[8] < 2.24069 ) { + sum += -0.000129635; + } else { + sum += 0.000129635; + } + } else { + if ( features[7] < 0.626909 ) { + sum += 0.000129635; + } else { + sum += -0.000129635; + } + } + // tree 805 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -0.000125321; + } else { + sum += 0.000125321; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000125321; + } else { + sum += -0.000125321; + } + } + // tree 806 + if ( features[12] < 4.93509 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000122884; + } else { + sum += -0.000122884; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000122884; + } else { + sum += 0.000122884; + } + } + // tree 807 + if ( features[1] < -0.712287 ) { + if ( features[8] < 2.3939 ) { + sum += -0.000122162; + } else { + sum += 0.000122162; + } + } else { + if ( features[7] < 0.767173 ) { + sum += 0.000122162; + } else { + sum += -0.000122162; + } + } + // tree 808 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000112409; + } else { + sum += 0.000112409; + } + } else { + if ( features[6] < -0.231447 ) { + sum += 0.000112409; + } else { + sum += -0.000112409; + } + } + // tree 809 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000129871; + } else { + sum += 0.000129871; + } + } else { + if ( features[8] < 2.26819 ) { + sum += -0.000129871; + } else { + sum += 0.000129871; + } + } + // tree 810 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000114721; + } else { + sum += 0.000114721; + } + } else { + if ( features[3] < 0.128972 ) { + sum += 0.000114721; + } else { + sum += -0.000114721; + } + } + // tree 811 + if ( features[6] < -0.231447 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000131307; + } else { + sum += 0.000131307; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000131307; + } else { + sum += -0.000131307; + } + } + // tree 812 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000123887; + } else { + sum += 0.000123887; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000123887; + } else { + sum += 0.000123887; + } + } + // tree 813 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000114353; + } else { + sum += 0.000114353; + } + } else { + if ( features[8] < 1.82785 ) { + sum += -0.000114353; + } else { + sum += 0.000114353; + } + } + // tree 814 + if ( features[9] < 1.87281 ) { + if ( features[3] < 0.0322448 ) { + sum += 0.000107949; + } else { + sum += -0.000107949; + } + } else { + if ( features[4] < -1.2963 ) { + sum += 0.000107949; + } else { + sum += -0.000107949; + } + } + // tree 815 + if ( features[7] < 0.354174 ) { + if ( features[1] < -0.417165 ) { + sum += -0.000128081; + } else { + sum += 0.000128081; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000128081; + } else { + sum += -0.000128081; + } + } + // tree 816 + if ( features[4] < -1.29629 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000139005; + } else { + sum += 0.000139005; + } + } else { + if ( features[5] < 0.879737 ) { + sum += -0.000139005; + } else { + sum += 0.000139005; + } + } + // tree 817 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.000139302; + } else { + sum += -0.000139302; + } + } else { + if ( features[5] < 0.626749 ) { + sum += 0.000139302; + } else { + sum += -0.000139302; + } + } + // tree 818 + if ( features[7] < 0.354174 ) { + if ( features[2] < 0.493201 ) { + sum += -0.000126884; + } else { + sum += 0.000126884; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000126884; + } else { + sum += -0.000126884; + } + } + // tree 819 + if ( features[7] < 0.354174 ) { + if ( features[5] < 0.275788 ) { + sum += 0.000114161; + } else { + sum += -0.000114161; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000114161; + } else { + sum += -0.000114161; + } + } + // tree 820 + if ( features[7] < 0.354174 ) { + if ( features[5] < 0.275788 ) { + sum += 0.00012572; + } else { + sum += -0.00012572; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.00012572; + } else { + sum += -0.00012572; + } + } + // tree 821 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000117812; + } else { + sum += -0.000117812; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000117812; + } else { + sum += -0.000117812; + } + } + // tree 822 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000123189; + } else { + sum += -0.000123189; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000123189; + } else { + sum += 0.000123189; + } + } + // tree 823 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000127643; + } else { + sum += 0.000127643; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000127643; + } else { + sum += 0.000127643; + } + } + // tree 824 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000139232; + } else { + sum += 0.000139232; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000139232; + } else { + sum += -0.000139232; + } + } + // tree 825 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000135881; + } else { + sum += 0.000135881; + } + } else { + if ( features[11] < 1.26963 ) { + sum += -0.000135881; + } else { + sum += 0.000135881; + } + } + // tree 826 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000130014; + } else { + sum += 0.000130014; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000130014; + } else { + sum += -0.000130014; + } + } + // tree 827 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000138084; + } else { + sum += 0.000138084; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000138084; + } else { + sum += -0.000138084; + } + } + // tree 828 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000134758; + } else { + sum += 0.000134758; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000134758; + } else { + sum += 0.000134758; + } + } + // tree 829 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000130743; + } else { + sum += 0.000130743; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000130743; + } else { + sum += -0.000130743; + } + } + // tree 830 + if ( features[7] < 0.501269 ) { + sum += 0.000120815; + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000120815; + } else { + sum += 0.000120815; + } + } + // tree 831 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000126349; + } else { + sum += 0.000126349; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000126349; + } else { + sum += 0.000126349; + } + } + // tree 832 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 0.000129118; + } else { + sum += -0.000129118; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000129118; + } else { + sum += -0.000129118; + } + } + // tree 833 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000162392; + } else { + sum += 0.000162392; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000162392; + } else { + sum += -0.000162392; + } + } + // tree 834 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000162133; + } else { + sum += 0.000162133; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000162133; + } else { + sum += 0.000162133; + } + } + // tree 835 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000114384; + } else { + sum += -0.000114384; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 0.000114384; + } else { + sum += -0.000114384; + } + } + // tree 836 + if ( features[12] < 4.93509 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000109475; + } else { + sum += -0.000109475; + } + } else { + if ( features[1] < -0.279702 ) { + sum += -0.000109475; + } else { + sum += 0.000109475; + } + } + // tree 837 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000126963; + } else { + sum += 0.000126963; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -0.000126963; + } else { + sum += 0.000126963; + } + } + // tree 838 + if ( features[12] < 4.93509 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000120439; + } else { + sum += -0.000120439; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000120439; + } else { + sum += 0.000120439; + } + } + // tree 839 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000137392; + } else { + sum += 0.000137392; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000137392; + } else { + sum += -0.000137392; + } + } + // tree 840 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000127037; + } else { + sum += 0.000127037; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -0.000127037; + } else { + sum += 0.000127037; + } + } + // tree 841 + if ( features[7] < 0.501269 ) { + sum += 0.000120867; + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000120867; + } else { + sum += 0.000120867; + } + } + // tree 842 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000118228; + } else { + sum += 0.000118228; + } + } else { + if ( features[5] < 0.891048 ) { + sum += -0.000118228; + } else { + sum += 0.000118228; + } + } + // tree 843 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000120939; + } else { + sum += -0.000120939; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000120939; + } else { + sum += 0.000120939; + } + } + // tree 844 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000128794; + } else { + sum += 0.000128794; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000128794; + } else { + sum += 0.000128794; + } + } + // tree 845 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000123658; + } else { + sum += 0.000123658; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000123658; + } else { + sum += 0.000123658; + } + } + // tree 846 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000142228; + } else { + sum += 0.000142228; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000142228; + } else { + sum += 0.000142228; + } + } + // tree 847 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.00015989; + } else { + sum += 0.00015989; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.00015989; + } else { + sum += -0.00015989; + } + } + // tree 848 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 0.000115474; + } else { + sum += -0.000115474; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 0.000115474; + } else { + sum += -0.000115474; + } + } + // tree 849 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000117839; + } else { + sum += -0.000117839; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000117839; + } else { + sum += -0.000117839; + } + } + // tree 850 + if ( features[7] < 0.501269 ) { + sum += 0.000119819; + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000119819; + } else { + sum += 0.000119819; + } + } + // tree 851 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000136065; + } else { + sum += 0.000136065; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000136065; + } else { + sum += -0.000136065; + } + } + // tree 852 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000123344; + } else { + sum += 0.000123344; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000123344; + } else { + sum += 0.000123344; + } + } + // tree 853 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000124185; + } else { + sum += -0.000124185; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000124185; + } else { + sum += 0.000124185; + } + } + // tree 854 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000127968; + } else { + sum += -0.000127968; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000127968; + } else { + sum += 0.000127968; + } + } + // tree 855 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000158163; + } else { + sum += 0.000158163; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000158163; + } else { + sum += 0.000158163; + } + } + // tree 856 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000134634; + } else { + sum += -0.000134634; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000134634; + } else { + sum += -0.000134634; + } + } + // tree 857 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000155833; + } else { + sum += 0.000155833; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000155833; + } else { + sum += -0.000155833; + } + } + // tree 858 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000140338; + } else { + sum += 0.000140338; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000140338; + } else { + sum += -0.000140338; + } + } + // tree 859 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000117471; + } else { + sum += 0.000117471; + } + } else { + sum += 0.000117471; + } + // tree 860 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000158827; + } else { + sum += 0.000158827; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000158827; + } else { + sum += 0.000158827; + } + } + // tree 861 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000122445; + } else { + sum += 0.000122445; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000122445; + } else { + sum += 0.000122445; + } + } + // tree 862 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000154107; + } else { + sum += 0.000154107; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000154107; + } else { + sum += -0.000154107; + } + } + // tree 863 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000137198; + } else { + sum += -0.000137198; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000137198; + } else { + sum += 0.000137198; + } + } + // tree 864 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000116474; + } else { + sum += -0.000116474; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000116474; + } else { + sum += -0.000116474; + } + } + // tree 865 + if ( features[7] < 0.354174 ) { + if ( features[2] < 0.493201 ) { + sum += -0.000132023; + } else { + sum += 0.000132023; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000132023; + } else { + sum += -0.000132023; + } + } + // tree 866 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000127743; + } else { + sum += 0.000127743; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000127743; + } else { + sum += 0.000127743; + } + } + // tree 867 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000114528; + } else { + sum += -0.000114528; + } + } else { + sum += 0.000114528; + } + // tree 868 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.000124984; + } else { + sum += -0.000124984; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000124984; + } else { + sum += -0.000124984; + } + } + // tree 869 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000117521; + } else { + sum += 0.000117521; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -0.000117521; + } else { + sum += 0.000117521; + } + } + // tree 870 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000108955; + } else { + sum += -0.000108955; + } + } else { + if ( features[10] < -27.4258 ) { + sum += 0.000108955; + } else { + sum += -0.000108955; + } + } + // tree 871 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000126045; + } else { + sum += -0.000126045; + } + } else { + if ( features[5] < 0.784977 ) { + sum += 0.000126045; + } else { + sum += -0.000126045; + } + } + // tree 872 + if ( features[5] < 0.473096 ) { + if ( features[0] < 1.8397 ) { + sum += -0.000109907; + } else { + sum += 0.000109907; + } + } else { + if ( features[4] < -1.81665 ) { + sum += 0.000109907; + } else { + sum += -0.000109907; + } + } + // tree 873 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -0.000106191; + } else { + sum += 0.000106191; + } + } else { + sum += 0.000106191; + } + // tree 874 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000147792; + } else { + sum += -0.000147792; + } + } else { + if ( features[7] < 0.736147 ) { + sum += 0.000147792; + } else { + sum += -0.000147792; + } + } + // tree 875 + if ( features[3] < 0.0967294 ) { + if ( features[1] < -0.717334 ) { + sum += -0.000105839; + } else { + sum += 0.000105839; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 0.000105839; + } else { + sum += -0.000105839; + } + } + // tree 876 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000138357; + } else { + sum += 0.000138357; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000138357; + } else { + sum += -0.000138357; + } + } + // tree 877 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000111094; + } else { + sum += 0.000111094; + } + } else { + if ( features[3] < 0.128972 ) { + sum += 0.000111094; + } else { + sum += -0.000111094; + } + } + // tree 878 + if ( features[1] < 0.103667 ) { + if ( features[8] < 2.01757 ) { + sum += 0.000124382; + } else { + sum += -0.000124382; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000124382; + } else { + sum += -0.000124382; + } + } + // tree 879 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000111193; + } else { + sum += 0.000111193; + } + } else { + sum += 0.000111193; + } + // tree 880 + if ( features[1] < 0.103667 ) { + if ( features[2] < -0.496694 ) { + sum += 0.00011657; + } else { + sum += -0.00011657; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.00011657; + } else { + sum += 0.00011657; + } + } + // tree 881 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -0.000105244; + } else { + sum += 0.000105244; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000105244; + } else { + sum += -0.000105244; + } + } + // tree 882 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 0.000124375; + } else { + sum += -0.000124375; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000124375; + } else { + sum += 0.000124375; + } + } + // tree 883 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -0.000110311; + } else { + sum += 0.000110311; + } + } else { + if ( features[0] < 1.99219 ) { + sum += 0.000110311; + } else { + sum += -0.000110311; + } + } + // tree 884 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000156291; + } else { + sum += 0.000156291; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000156291; + } else { + sum += -0.000156291; + } + } + // tree 885 + if ( features[7] < 0.354174 ) { + if ( features[4] < -1.91377 ) { + sum += 0.000138324; + } else { + sum += -0.000138324; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000138324; + } else { + sum += -0.000138324; + } + } + // tree 886 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 0.000114509; + } else { + sum += -0.000114509; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 0.000114509; + } else { + sum += -0.000114509; + } + } + // tree 887 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000137535; + } else { + sum += 0.000137535; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000137535; + } else { + sum += 0.000137535; + } + } + // tree 888 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000134121; + } else { + sum += 0.000134121; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000134121; + } else { + sum += -0.000134121; + } + } + // tree 889 + if ( features[7] < 0.501269 ) { + if ( features[12] < 4.80458 ) { + sum += 0.000117958; + } else { + sum += -0.000117958; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000117958; + } else { + sum += 0.000117958; + } + } + // tree 890 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000155417; + } else { + sum += 0.000155417; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000155417; + } else { + sum += 0.000155417; + } + } + // tree 891 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000124226; + } else { + sum += 0.000124226; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -0.000124226; + } else { + sum += 0.000124226; + } + } + // tree 892 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.0001357; + } else { + sum += 0.0001357; + } + } else { + if ( features[10] < -27.4258 ) { + sum += 0.0001357; + } else { + sum += -0.0001357; + } + } + // tree 893 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000131469; + } else { + sum += -0.000131469; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000131469; + } else { + sum += -0.000131469; + } + } + // tree 894 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000130974; + } else { + sum += 0.000130974; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000130974; + } else { + sum += 0.000130974; + } + } + // tree 895 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000133129; + } else { + sum += 0.000133129; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000133129; + } else { + sum += -0.000133129; + } + } + // tree 896 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 0.000121707; + } else { + sum += -0.000121707; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000121707; + } else { + sum += 0.000121707; + } + } + // tree 897 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000132627; + } else { + sum += 0.000132627; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000132627; + } else { + sum += -0.000132627; + } + } + // tree 898 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000154702; + } else { + sum += 0.000154702; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000154702; + } else { + sum += 0.000154702; + } + } + // tree 899 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000124622; + } else { + sum += 0.000124622; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000124622; + } else { + sum += -0.000124622; + } + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_900-1199.cpp b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_900-1199.cpp new file mode 100644 index 0000000000000000000000000000000000000000..5afa432a2b4485fbf4d7d4fb9e95ee605889d613 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/SSPion/weights/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1_900-1199.cpp @@ -0,0 +1,4134 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include <vector> + +#include "../SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" + +/* @brief a BDT implementation, returning the sum of all tree weights given + * a feature vector + */ +double SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1::tree_3( const std::vector<double>& features ) const { + double sum = 0; + + // tree 900 + if ( features[1] < 0.103667 ) { + if ( features[4] < -1.99208 ) { + sum += 0.000113791; + } else { + sum += -0.000113791; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000113791; + } else { + sum += 0.000113791; + } + } + // tree 901 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000121178; + } else { + sum += 0.000121178; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000121178; + } else { + sum += 0.000121178; + } + } + // tree 902 + if ( features[2] < 0.821394 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000144633; + } else { + sum += 0.000144633; + } + } else { + if ( features[7] < 0.626909 ) { + sum += 0.000144633; + } else { + sum += -0.000144633; + } + } + // tree 903 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000119196; + } else { + sum += -0.000119196; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000119196; + } else { + sum += 0.000119196; + } + } + // tree 904 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000118658; + } else { + sum += -0.000118658; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000118658; + } else { + sum += -0.000118658; + } + } + // tree 905 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000151347; + } else { + sum += 0.000151347; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000151347; + } else { + sum += 0.000151347; + } + } + // tree 906 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000121696; + } else { + sum += -0.000121696; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000121696; + } else { + sum += -0.000121696; + } + } + // tree 907 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 0.000118646; + } else { + sum += -0.000118646; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000118646; + } else { + sum += -0.000118646; + } + } + // tree 908 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000144559; + } else { + sum += 0.000144559; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000144559; + } else { + sum += -0.000144559; + } + } + // tree 909 + if ( features[12] < 4.93509 ) { + if ( features[4] < -1.47026 ) { + sum += 0.000111626; + } else { + sum += -0.000111626; + } + } else { + if ( features[5] < 0.891048 ) { + sum += -0.000111626; + } else { + sum += 0.000111626; + } + } + // tree 910 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.00011395; + } else { + sum += 0.00011395; + } + } else { + sum += 0.00011395; + } + // tree 911 + if ( features[8] < 1.82785 ) { + if ( features[6] < -0.811175 ) { + sum += -0.000146946; + } else { + sum += 0.000146946; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000146946; + } else { + sum += 0.000146946; + } + } + // tree 912 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000119672; + } else { + sum += 0.000119672; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000119672; + } else { + sum += 0.000119672; + } + } + // tree 913 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000129798; + } else { + sum += -0.000129798; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000129798; + } else { + sum += -0.000129798; + } + } + // tree 914 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000122755; + } else { + sum += 0.000122755; + } + } else { + if ( features[5] < 0.891048 ) { + sum += -0.000122755; + } else { + sum += 0.000122755; + } + } + // tree 915 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000153575; + } else { + sum += 0.000153575; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000153575; + } else { + sum += -0.000153575; + } + } + // tree 916 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 0.000122137; + } else { + sum += -0.000122137; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000122137; + } else { + sum += -0.000122137; + } + } + // tree 917 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000130647; + } else { + sum += 0.000130647; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000130647; + } else { + sum += -0.000130647; + } + } + // tree 918 + if ( features[12] < 4.93509 ) { + if ( features[0] < 1.40059 ) { + sum += -0.000107009; + } else { + sum += 0.000107009; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000107009; + } else { + sum += -0.000107009; + } + } + // tree 919 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000109721; + } else { + sum += -0.000109721; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000109721; + } else { + sum += -0.000109721; + } + } + // tree 920 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000119959; + } else { + sum += 0.000119959; + } + } else { + if ( features[7] < 0.547541 ) { + sum += 0.000119959; + } else { + sum += -0.000119959; + } + } + // tree 921 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000123372; + } else { + sum += -0.000123372; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000123372; + } else { + sum += 0.000123372; + } + } + // tree 922 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000112468; + } else { + sum += 0.000112468; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000112468; + } else { + sum += -0.000112468; + } + } + // tree 923 + if ( features[4] < -1.29629 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000107547; + } else { + sum += 0.000107547; + } + } else { + if ( features[1] < -0.472891 ) { + sum += 0.000107547; + } else { + sum += -0.000107547; + } + } + // tree 924 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000148586; + } else { + sum += 0.000148586; + } + } else { + if ( features[1] < 0.307656 ) { + sum += -0.000148586; + } else { + sum += 0.000148586; + } + } + // tree 925 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000148009; + } else { + sum += 0.000148009; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000148009; + } else { + sum += -0.000148009; + } + } + // tree 926 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.00012861; + } else { + sum += -0.00012861; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00012861; + } else { + sum += -0.00012861; + } + } + // tree 927 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000133304; + } else { + sum += 0.000133304; + } + } else { + if ( features[1] < 0.205661 ) { + sum += -0.000133304; + } else { + sum += 0.000133304; + } + } + // tree 928 + if ( features[12] < 4.93509 ) { + if ( features[3] < 0.0967294 ) { + sum += 0.000105213; + } else { + sum += -0.000105213; + } + } else { + if ( features[1] < -0.279702 ) { + sum += -0.000105213; + } else { + sum += 0.000105213; + } + } + // tree 929 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.00011758; + } else { + sum += 0.00011758; + } + } else { + if ( features[8] < 2.26819 ) { + sum += -0.00011758; + } else { + sum += 0.00011758; + } + } + // tree 930 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.000118801; + } else { + sum += 0.000118801; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000118801; + } else { + sum += 0.000118801; + } + } + // tree 931 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000146824; + } else { + sum += 0.000146824; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000146824; + } else { + sum += -0.000146824; + } + } + // tree 932 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 9.5399e-05; + } else { + sum += -9.5399e-05; + } + } else { + if ( features[3] < 0.0161237 ) { + sum += 9.5399e-05; + } else { + sum += -9.5399e-05; + } + } + // tree 933 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000122273; + } else { + sum += 0.000122273; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000122273; + } else { + sum += 0.000122273; + } + } + // tree 934 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000111861; + } else { + sum += 0.000111861; + } + } else { + if ( features[7] < 0.547541 ) { + sum += 0.000111861; + } else { + sum += -0.000111861; + } + } + // tree 935 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000107804; + } else { + sum += 0.000107804; + } + } else { + sum += 0.000107804; + } + // tree 936 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.0001471; + } else { + sum += 0.0001471; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.0001471; + } else { + sum += 0.0001471; + } + } + // tree 937 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000123448; + } else { + sum += -0.000123448; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000123448; + } else { + sum += -0.000123448; + } + } + // tree 938 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000120198; + } else { + sum += -0.000120198; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000120198; + } else { + sum += 0.000120198; + } + } + // tree 939 + if ( features[7] < 0.501269 ) { + sum += 0.000114; + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000114; + } else { + sum += 0.000114; + } + } + // tree 940 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000121727; + } else { + sum += -0.000121727; + } + } else { + if ( features[8] < 1.91935 ) { + sum += -0.000121727; + } else { + sum += 0.000121727; + } + } + // tree 941 + if ( features[4] < -1.29629 ) { + if ( features[5] < 0.754354 ) { + sum += 0.00012474; + } else { + sum += -0.00012474; + } + } else { + if ( features[2] < 0.633096 ) { + sum += 0.00012474; + } else { + sum += -0.00012474; + } + } + // tree 942 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000119013; + } else { + sum += -0.000119013; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000119013; + } else { + sum += 0.000119013; + } + } + // tree 943 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000107993; + } else { + sum += -0.000107993; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000107993; + } else { + sum += -0.000107993; + } + } + // tree 944 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -0.000119812; + } else { + sum += 0.000119812; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000119812; + } else { + sum += -0.000119812; + } + } + // tree 945 + if ( features[12] < 4.93509 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000108456; + } else { + sum += -0.000108456; + } + } else { + if ( features[5] < 0.891048 ) { + sum += -0.000108456; + } else { + sum += 0.000108456; + } + } + // tree 946 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000121226; + } else { + sum += -0.000121226; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000121226; + } else { + sum += 0.000121226; + } + } + // tree 947 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000120481; + } else { + sum += 0.000120481; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000120481; + } else { + sum += -0.000120481; + } + } + // tree 948 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000143391; + } else { + sum += 0.000143391; + } + } else { + if ( features[5] < 0.474183 ) { + sum += 0.000143391; + } else { + sum += -0.000143391; + } + } + // tree 949 + if ( features[3] < 0.0967294 ) { + if ( features[12] < 4.93509 ) { + sum += 0.000108262; + } else { + sum += -0.000108262; + } + } else { + if ( features[5] < 0.732644 ) { + sum += 0.000108262; + } else { + sum += -0.000108262; + } + } + // tree 950 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000105168; + } else { + sum += -0.000105168; + } + } else { + sum += 0.000105168; + } + // tree 951 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.00012661; + } else { + sum += 0.00012661; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00012661; + } else { + sum += -0.00012661; + } + } + // tree 952 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000131309; + } else { + sum += 0.000131309; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000131309; + } else { + sum += 0.000131309; + } + } + // tree 953 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000120749; + } else { + sum += 0.000120749; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000120749; + } else { + sum += 0.000120749; + } + } + // tree 954 + if ( features[6] < -0.231447 ) { + if ( features[4] < -1.2963 ) { + sum += 0.000108328; + } else { + sum += -0.000108328; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000108328; + } else { + sum += -0.000108328; + } + } + // tree 955 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000125248; + } else { + sum += 0.000125248; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000125248; + } else { + sum += 0.000125248; + } + } + // tree 956 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.00014452; + } else { + sum += 0.00014452; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.00014452; + } else { + sum += 0.00014452; + } + } + // tree 957 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000144493; + } else { + sum += 0.000144493; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000144493; + } else { + sum += 0.000144493; + } + } + // tree 958 + if ( features[4] < -1.29629 ) { + if ( features[5] < 0.754354 ) { + sum += 0.000128754; + } else { + sum += -0.000128754; + } + } else { + if ( features[5] < 0.879737 ) { + sum += -0.000128754; + } else { + sum += 0.000128754; + } + } + // tree 959 + if ( features[4] < -1.29629 ) { + if ( features[1] < 0.00171106 ) { + sum += -0.000111103; + } else { + sum += 0.000111103; + } + } else { + if ( features[0] < 2.91095 ) { + sum += 0.000111103; + } else { + sum += -0.000111103; + } + } + // tree 960 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000136946; + } else { + sum += -0.000136946; + } + } else { + if ( features[6] < -0.231448 ) { + sum += 0.000136946; + } else { + sum += -0.000136946; + } + } + // tree 961 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000118653; + } else { + sum += 0.000118653; + } + } else { + if ( features[5] < 0.891048 ) { + sum += -0.000118653; + } else { + sum += 0.000118653; + } + } + // tree 962 + if ( features[4] < -1.29629 ) { + if ( features[12] < 4.57639 ) { + sum += 0.000108575; + } else { + sum += -0.000108575; + } + } else { + if ( features[0] < 2.91095 ) { + sum += 0.000108575; + } else { + sum += -0.000108575; + } + } + // tree 963 + if ( features[8] < 1.82785 ) { + if ( features[1] < -0.386216 ) { + sum += 0.000143429; + } else { + sum += -0.000143429; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000143429; + } else { + sum += 0.000143429; + } + } + // tree 964 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000110848; + } else { + sum += 0.000110848; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -0.000110848; + } else { + sum += 0.000110848; + } + } + // tree 965 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000143717; + } else { + sum += 0.000143717; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000143717; + } else { + sum += -0.000143717; + } + } + // tree 966 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000112121; + } else { + sum += 0.000112121; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000112121; + } else { + sum += -0.000112121; + } + } + // tree 967 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000143072; + } else { + sum += 0.000143072; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000143072; + } else { + sum += -0.000143072; + } + } + // tree 968 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 0.000121254; + } else { + sum += -0.000121254; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000121254; + } else { + sum += 0.000121254; + } + } + // tree 969 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 0.000104906; + } else { + sum += -0.000104906; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -0.000104906; + } else { + sum += 0.000104906; + } + } + // tree 970 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 9.03404e-05; + } else { + sum += -9.03404e-05; + } + } else { + sum += 9.03404e-05; + } + // tree 971 + if ( features[7] < 0.501269 ) { + sum += 0.000112263; + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000112263; + } else { + sum += 0.000112263; + } + } + // tree 972 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 9.9851e-05; + } else { + sum += -9.9851e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 9.9851e-05; + } else { + sum += -9.9851e-05; + } + } + // tree 973 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.00012728; + } else { + sum += -0.00012728; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00012728; + } else { + sum += -0.00012728; + } + } + // tree 974 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000148459; + } else { + sum += 0.000148459; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.000148459; + } else { + sum += 0.000148459; + } + } + // tree 975 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.00011846; + } else { + sum += -0.00011846; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.00011846; + } else { + sum += -0.00011846; + } + } + // tree 976 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000115257; + } else { + sum += 0.000115257; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000115257; + } else { + sum += 0.000115257; + } + } + // tree 977 + if ( features[5] < 0.473096 ) { + sum += 0.000103348; + } else { + if ( features[5] < 0.87839 ) { + sum += -0.000103348; + } else { + sum += 0.000103348; + } + } + // tree 978 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000109113; + } else { + sum += -0.000109113; + } + } else { + sum += 0.000109113; + } + // tree 979 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000117355; + } else { + sum += 0.000117355; + } + } else { + if ( features[6] < -1.37702 ) { + sum += 0.000117355; + } else { + sum += -0.000117355; + } + } + // tree 980 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000129656; + } else { + sum += 0.000129656; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000129656; + } else { + sum += -0.000129656; + } + } + // tree 981 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000110518; + } else { + sum += -0.000110518; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000110518; + } else { + sum += 0.000110518; + } + } + // tree 982 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000106276; + } else { + sum += -0.000106276; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000106276; + } else { + sum += -0.000106276; + } + } + // tree 983 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000147765; + } else { + sum += 0.000147765; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000147765; + } else { + sum += 0.000147765; + } + } + // tree 984 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000114921; + } else { + sum += -0.000114921; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000114921; + } else { + sum += 0.000114921; + } + } + // tree 985 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.000120408; + } else { + sum += 0.000120408; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000120408; + } else { + sum += 0.000120408; + } + } + // tree 986 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.00014588; + } else { + sum += 0.00014588; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.00014588; + } else { + sum += -0.00014588; + } + } + // tree 987 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000108779; + } else { + sum += 0.000108779; + } + } else { + sum += 0.000108779; + } + // tree 988 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000128798; + } else { + sum += 0.000128798; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000128798; + } else { + sum += 0.000128798; + } + } + // tree 989 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000128105; + } else { + sum += 0.000128105; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000128105; + } else { + sum += 0.000128105; + } + } + // tree 990 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000114499; + } else { + sum += -0.000114499; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000114499; + } else { + sum += 0.000114499; + } + } + // tree 991 + if ( features[3] < 0.0967294 ) { + if ( features[4] < -1.2963 ) { + sum += 0.000101869; + } else { + sum += -0.000101869; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 0.000101869; + } else { + sum += -0.000101869; + } + } + // tree 992 + if ( features[4] < -1.47024 ) { + if ( features[5] < 0.630907 ) { + sum += 0.000117106; + } else { + sum += -0.000117106; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -0.000117106; + } else { + sum += 0.000117106; + } + } + // tree 993 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000118566; + } else { + sum += 0.000118566; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000118566; + } else { + sum += 0.000118566; + } + } + // tree 994 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000125587; + } else { + sum += 0.000125587; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000125587; + } else { + sum += -0.000125587; + } + } + // tree 995 + if ( features[0] < 1.68308 ) { + if ( features[3] < 0.0161829 ) { + sum += 0.000113857; + } else { + sum += -0.000113857; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000113857; + } else { + sum += 0.000113857; + } + } + // tree 996 + if ( features[4] < -1.47024 ) { + if ( features[5] < 0.630907 ) { + sum += 0.000116716; + } else { + sum += -0.000116716; + } + } else { + if ( features[2] < 0.444798 ) { + sum += 0.000116716; + } else { + sum += -0.000116716; + } + } + // tree 997 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000141123; + } else { + sum += 0.000141123; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.000141123; + } else { + sum += 0.000141123; + } + } + // tree 998 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000107982; + } else { + sum += -0.000107982; + } + } else { + sum += 0.000107982; + } + // tree 999 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000115251; + } else { + sum += 0.000115251; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000115251; + } else { + sum += -0.000115251; + } + } + // tree 1000 + if ( features[0] < 1.68308 ) { + if ( features[3] < 0.0161829 ) { + sum += 0.000116888; + } else { + sum += -0.000116888; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000116888; + } else { + sum += 0.000116888; + } + } + // tree 1001 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000117303; + } else { + sum += 0.000117303; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -0.000117303; + } else { + sum += 0.000117303; + } + } + // tree 1002 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000121891; + } else { + sum += 0.000121891; + } + } else { + if ( features[12] < 3.85898 ) { + sum += 0.000121891; + } else { + sum += -0.000121891; + } + } + // tree 1003 + if ( features[5] < 0.473096 ) { + if ( features[0] < 1.8397 ) { + sum += -0.000111728; + } else { + sum += 0.000111728; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000111728; + } else { + sum += -0.000111728; + } + } + // tree 1004 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.000128102; + } else { + sum += -0.000128102; + } + } else { + if ( features[5] < 0.626749 ) { + sum += 0.000128102; + } else { + sum += -0.000128102; + } + } + // tree 1005 + if ( features[8] < 1.82785 ) { + if ( features[8] < 1.4383 ) { + sum += -8.84506e-05; + } else { + sum += 8.84506e-05; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 8.84506e-05; + } else { + sum += -8.84506e-05; + } + } + // tree 1006 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000115551; + } else { + sum += 0.000115551; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000115551; + } else { + sum += 0.000115551; + } + } + // tree 1007 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000116624; + } else { + sum += 0.000116624; + } + } else { + if ( features[2] < 0.632998 ) { + sum += 0.000116624; + } else { + sum += -0.000116624; + } + } + // tree 1008 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.00011527; + } else { + sum += 0.00011527; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.00011527; + } else { + sum += 0.00011527; + } + } + // tree 1009 + if ( features[12] < 4.93509 ) { + if ( features[5] < 0.784599 ) { + sum += 0.000110825; + } else { + sum += -0.000110825; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000110825; + } else { + sum += 0.000110825; + } + } + // tree 1010 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000124779; + } else { + sum += 0.000124779; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000124779; + } else { + sum += -0.000124779; + } + } + // tree 1011 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.00011645; + } else { + sum += -0.00011645; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.00011645; + } else { + sum += 0.00011645; + } + } + // tree 1012 + sum += 5.49357e-05; + // tree 1013 + if ( features[0] < 1.68308 ) { + if ( features[3] < 0.0161829 ) { + sum += 0.000111723; + } else { + sum += -0.000111723; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000111723; + } else { + sum += -0.000111723; + } + } + // tree 1014 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000124507; + } else { + sum += 0.000124507; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000124507; + } else { + sum += -0.000124507; + } + } + // tree 1015 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000116034; + } else { + sum += -0.000116034; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000116034; + } else { + sum += 0.000116034; + } + } + // tree 1016 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000125558; + } else { + sum += 0.000125558; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000125558; + } else { + sum += 0.000125558; + } + } + // tree 1017 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.00014445; + } else { + sum += 0.00014445; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.00014445; + } else { + sum += 0.00014445; + } + } + // tree 1018 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000121543; + } else { + sum += 0.000121543; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000121543; + } else { + sum += 0.000121543; + } + } + // tree 1019 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000149297; + } else { + sum += -0.000149297; + } + } else { + if ( features[7] < 0.390948 ) { + sum += -0.000149297; + } else { + sum += 0.000149297; + } + } + // tree 1020 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000121867; + } else { + sum += 0.000121867; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000121867; + } else { + sum += -0.000121867; + } + } + // tree 1021 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000107102; + } else { + sum += -0.000107102; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000107102; + } else { + sum += -0.000107102; + } + } + // tree 1022 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.000116051; + } else { + sum += 0.000116051; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000116051; + } else { + sum += 0.000116051; + } + } + // tree 1023 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000124456; + } else { + sum += -0.000124456; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000124456; + } else { + sum += -0.000124456; + } + } + // tree 1024 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000123788; + } else { + sum += -0.000123788; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000123788; + } else { + sum += -0.000123788; + } + } + // tree 1025 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000165825; + } else { + sum += -0.000165825; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000165825; + } else { + sum += 0.000165825; + } + } + // tree 1026 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000101501; + } else { + sum += -0.000101501; + } + } else { + if ( features[10] < -27.4258 ) { + sum += 0.000101501; + } else { + sum += -0.000101501; + } + } + // tree 1027 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000100175; + } else { + sum += -0.000100175; + } + } else { + if ( features[12] < 4.93509 ) { + sum += 0.000100175; + } else { + sum += -0.000100175; + } + } + // tree 1028 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 0.000110605; + } else { + sum += -0.000110605; + } + } else { + if ( features[6] < -1.88641 ) { + sum += 0.000110605; + } else { + sum += -0.000110605; + } + } + // tree 1029 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000115251; + } else { + sum += 0.000115251; + } + } else { + if ( features[2] < 0.632998 ) { + sum += 0.000115251; + } else { + sum += -0.000115251; + } + } + // tree 1030 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -9.95549e-05; + } else { + sum += 9.95549e-05; + } + } else { + sum += -9.95549e-05; + } + // tree 1031 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000137811; + } else { + sum += -0.000137811; + } + } else { + if ( features[5] < 0.626749 ) { + sum += 0.000137811; + } else { + sum += -0.000137811; + } + } + // tree 1032 + if ( features[7] < 0.501269 ) { + if ( features[3] < 0.0483549 ) { + sum += 0.000115131; + } else { + sum += -0.000115131; + } + } else { + if ( features[8] < 2.65353 ) { + sum += -0.000115131; + } else { + sum += 0.000115131; + } + } + // tree 1033 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000116551; + } else { + sum += 0.000116551; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000116551; + } else { + sum += 0.000116551; + } + } + // tree 1034 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000116368; + } else { + sum += 0.000116368; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000116368; + } else { + sum += 0.000116368; + } + } + // tree 1035 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.000152816; + } else { + sum += -0.000152816; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000152816; + } else { + sum += 0.000152816; + } + } + // tree 1036 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000107883; + } else { + sum += 0.000107883; + } + } else { + if ( features[5] < 0.787913 ) { + sum += -0.000107883; + } else { + sum += 0.000107883; + } + } + // tree 1037 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000105831; + } else { + sum += 0.000105831; + } + } else { + sum += 0.000105831; + } + // tree 1038 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000112459; + } else { + sum += 0.000112459; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000112459; + } else { + sum += 0.000112459; + } + } + // tree 1039 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -0.000105308; + } else { + sum += 0.000105308; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000105308; + } else { + sum += 0.000105308; + } + } + // tree 1040 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000144017; + } else { + sum += 0.000144017; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000144017; + } else { + sum += 0.000144017; + } + } + // tree 1041 + if ( features[7] < 0.501269 ) { + if ( features[4] < -0.600526 ) { + sum += 0.000114206; + } else { + sum += -0.000114206; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000114206; + } else { + sum += 0.000114206; + } + } + // tree 1042 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 9.57283e-05; + } else { + sum += -9.57283e-05; + } + } else { + if ( features[12] < 4.56635 ) { + sum += -9.57283e-05; + } else { + sum += 9.57283e-05; + } + } + // tree 1043 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000116272; + } else { + sum += -0.000116272; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000116272; + } else { + sum += -0.000116272; + } + } + // tree 1044 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000122954; + } else { + sum += 0.000122954; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000122954; + } else { + sum += -0.000122954; + } + } + // tree 1045 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000117394; + } else { + sum += -0.000117394; + } + } else { + if ( features[6] < -2.30015 ) { + sum += 0.000117394; + } else { + sum += -0.000117394; + } + } + // tree 1046 + if ( features[2] < 0.821394 ) { + if ( features[8] < 2.24069 ) { + sum += -0.000105306; + } else { + sum += 0.000105306; + } + } else { + if ( features[12] < 4.57639 ) { + sum += 0.000105306; + } else { + sum += -0.000105306; + } + } + // tree 1047 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000122486; + } else { + sum += 0.000122486; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000122486; + } else { + sum += -0.000122486; + } + } + // tree 1048 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000136673; + } else { + sum += 0.000136673; + } + } else { + if ( features[2] < 0.633044 ) { + sum += 0.000136673; + } else { + sum += -0.000136673; + } + } + // tree 1049 + if ( features[4] < -1.47024 ) { + if ( features[1] < -0.304266 ) { + sum += -0.000116779; + } else { + sum += 0.000116779; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -0.000116779; + } else { + sum += 0.000116779; + } + } + // tree 1050 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000116129; + } else { + sum += -0.000116129; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000116129; + } else { + sum += -0.000116129; + } + } + // tree 1051 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000122921; + } else { + sum += 0.000122921; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000122921; + } else { + sum += -0.000122921; + } + } + // tree 1052 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000121774; + } else { + sum += 0.000121774; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000121774; + } else { + sum += 0.000121774; + } + } + // tree 1053 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -0.000119702; + } else { + sum += 0.000119702; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000119702; + } else { + sum += -0.000119702; + } + } + // tree 1054 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000115227; + } else { + sum += -0.000115227; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000115227; + } else { + sum += -0.000115227; + } + } + // tree 1055 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000114908; + } else { + sum += 0.000114908; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000114908; + } else { + sum += -0.000114908; + } + } + // tree 1056 + if ( features[8] < 2.24069 ) { + if ( features[7] < 0.480746 ) { + sum += 0.000136118; + } else { + sum += -0.000136118; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 0.000136118; + } else { + sum += -0.000136118; + } + } + // tree 1057 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.00011455; + } else { + sum += 0.00011455; + } + } else { + if ( features[5] < 0.787913 ) { + sum += -0.00011455; + } else { + sum += 0.00011455; + } + } + // tree 1058 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000101569; + } else { + sum += 0.000101569; + } + } else { + if ( features[8] < 2.26819 ) { + sum += -0.000101569; + } else { + sum += 0.000101569; + } + } + // tree 1059 + if ( features[1] < 0.103667 ) { + if ( features[8] < 2.01757 ) { + sum += 0.000109682; + } else { + sum += -0.000109682; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000109682; + } else { + sum += -0.000109682; + } + } + // tree 1060 + if ( features[4] < -1.47024 ) { + if ( features[5] < 0.630907 ) { + sum += 0.000108717; + } else { + sum += -0.000108717; + } + } else { + if ( features[5] < 0.945371 ) { + sum += -0.000108717; + } else { + sum += 0.000108717; + } + } + // tree 1061 + if ( features[0] < 1.68308 ) { + if ( features[5] < 0.993434 ) { + sum += -9.71398e-05; + } else { + sum += 9.71398e-05; + } + } else { + if ( features[5] < 0.783494 ) { + sum += 9.71398e-05; + } else { + sum += -9.71398e-05; + } + } + // tree 1062 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000121792; + } else { + sum += -0.000121792; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000121792; + } else { + sum += -0.000121792; + } + } + // tree 1063 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.00012161; + } else { + sum += 0.00012161; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00012161; + } else { + sum += -0.00012161; + } + } + // tree 1064 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000125971; + } else { + sum += 0.000125971; + } + } else { + if ( features[10] < -27.4258 ) { + sum += 0.000125971; + } else { + sum += -0.000125971; + } + } + // tree 1065 + if ( features[9] < 1.87281 ) { + if ( features[0] < 1.96465 ) { + sum += 0.000162373; + } else { + sum += -0.000162373; + } + } else { + if ( features[0] < 1.82433 ) { + sum += -0.000162373; + } else { + sum += 0.000162373; + } + } + // tree 1066 + if ( features[5] < 0.473096 ) { + if ( features[9] < 2.24617 ) { + sum += -0.000118228; + } else { + sum += 0.000118228; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000118228; + } else { + sum += -0.000118228; + } + } + // tree 1067 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000121367; + } else { + sum += 0.000121367; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000121367; + } else { + sum += -0.000121367; + } + } + // tree 1068 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 9.11965e-05; + } else { + sum += -9.11965e-05; + } + } else { + if ( features[4] < -1.29629 ) { + sum += 9.11965e-05; + } else { + sum += -9.11965e-05; + } + } + // tree 1069 + if ( features[1] < 0.103667 ) { + if ( features[3] < 0.0161237 ) { + sum += 9.29067e-05; + } else { + sum += -9.29067e-05; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -9.29067e-05; + } else { + sum += 9.29067e-05; + } + } + // tree 1070 + if ( features[3] < 0.0967294 ) { + if ( features[7] < 0.98255 ) { + sum += 0.000107083; + } else { + sum += -0.000107083; + } + } else { + if ( features[4] < -0.600476 ) { + sum += 0.000107083; + } else { + sum += -0.000107083; + } + } + // tree 1071 + if ( features[4] < -1.47024 ) { + if ( features[1] < -0.304266 ) { + sum += -0.00011682; + } else { + sum += 0.00011682; + } + } else { + if ( features[2] < 0.444798 ) { + sum += 0.00011682; + } else { + sum += -0.00011682; + } + } + // tree 1072 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000115807; + } else { + sum += -0.000115807; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000115807; + } else { + sum += 0.000115807; + } + } + // tree 1073 + if ( features[4] < -1.47024 ) { + if ( features[3] < 0.0644871 ) { + sum += 8.16462e-05; + } else { + sum += -8.16462e-05; + } + } else { + if ( features[0] < 2.42299 ) { + sum += -8.16462e-05; + } else { + sum += 8.16462e-05; + } + } + // tree 1074 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000120894; + } else { + sum += 0.000120894; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000120894; + } else { + sum += -0.000120894; + } + } + // tree 1075 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000141379; + } else { + sum += 0.000141379; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000141379; + } else { + sum += 0.000141379; + } + } + // tree 1076 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000110227; + } else { + sum += 0.000110227; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000110227; + } else { + sum += 0.000110227; + } + } + // tree 1077 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000135071; + } else { + sum += -0.000135071; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 0.000135071; + } else { + sum += -0.000135071; + } + } + // tree 1078 + if ( features[1] < 0.103667 ) { + if ( features[1] < -0.751769 ) { + sum += -0.00011055; + } else { + sum += 0.00011055; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00011055; + } else { + sum += -0.00011055; + } + } + // tree 1079 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000118229; + } else { + sum += 0.000118229; + } + } else { + if ( features[8] < 2.22547 ) { + sum += -0.000118229; + } else { + sum += 0.000118229; + } + } + // tree 1080 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000113533; + } else { + sum += 0.000113533; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000113533; + } else { + sum += -0.000113533; + } + } + // tree 1081 + if ( features[11] < 1.84612 ) { + if ( features[12] < 4.93509 ) { + sum += 8.10097e-05; + } else { + sum += -8.10097e-05; + } + } else { + sum += -8.10097e-05; + } + // tree 1082 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000120806; + } else { + sum += -0.000120806; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000120806; + } else { + sum += -0.000120806; + } + } + // tree 1083 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000113465; + } else { + sum += -0.000113465; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000113465; + } else { + sum += -0.000113465; + } + } + // tree 1084 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000134046; + } else { + sum += -0.000134046; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 0.000134046; + } else { + sum += -0.000134046; + } + } + // tree 1085 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000135595; + } else { + sum += 0.000135595; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.000135595; + } else { + sum += 0.000135595; + } + } + // tree 1086 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000136217; + } else { + sum += 0.000136217; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000136217; + } else { + sum += 0.000136217; + } + } + // tree 1087 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000113197; + } else { + sum += 0.000113197; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000113197; + } else { + sum += 0.000113197; + } + } + // tree 1088 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000118417; + } else { + sum += 0.000118417; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000118417; + } else { + sum += -0.000118417; + } + } + // tree 1089 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.00010855; + } else { + sum += 0.00010855; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.00010855; + } else { + sum += 0.00010855; + } + } + // tree 1090 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000101289; + } else { + sum += 0.000101289; + } + } else { + if ( features[3] < 0.128972 ) { + sum += 0.000101289; + } else { + sum += -0.000101289; + } + } + // tree 1091 + if ( features[6] < -0.231447 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000115155; + } else { + sum += 0.000115155; + } + } else { + if ( features[2] < 0.444703 ) { + sum += 0.000115155; + } else { + sum += -0.000115155; + } + } + // tree 1092 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000139088; + } else { + sum += 0.000139088; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000139088; + } else { + sum += -0.000139088; + } + } + // tree 1093 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000111798; + } else { + sum += 0.000111798; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -0.000111798; + } else { + sum += 0.000111798; + } + } + // tree 1094 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000119124; + } else { + sum += 0.000119124; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000119124; + } else { + sum += -0.000119124; + } + } + // tree 1095 + if ( features[12] < 4.93509 ) { + if ( features[4] < -1.47026 ) { + sum += 0.000108154; + } else { + sum += -0.000108154; + } + } else { + if ( features[5] < 0.787913 ) { + sum += -0.000108154; + } else { + sum += 0.000108154; + } + } + // tree 1096 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000112888; + } else { + sum += -0.000112888; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000112888; + } else { + sum += -0.000112888; + } + } + // tree 1097 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000105241; + } else { + sum += 0.000105241; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000105241; + } else { + sum += -0.000105241; + } + } + // tree 1098 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000108734; + } else { + sum += -0.000108734; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000108734; + } else { + sum += 0.000108734; + } + } + // tree 1099 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.0001185; + } else { + sum += 0.0001185; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.0001185; + } else { + sum += -0.0001185; + } + } + // tree 1100 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000116848; + } else { + sum += 0.000116848; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000116848; + } else { + sum += -0.000116848; + } + } + // tree 1101 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000108395; + } else { + sum += -0.000108395; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000108395; + } else { + sum += 0.000108395; + } + } + // tree 1102 + if ( features[4] < -1.47024 ) { + if ( features[1] < -0.304266 ) { + sum += -0.000115525; + } else { + sum += 0.000115525; + } + } else { + if ( features[7] < 0.383222 ) { + sum += -0.000115525; + } else { + sum += 0.000115525; + } + } + // tree 1103 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000119151; + } else { + sum += 0.000119151; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000119151; + } else { + sum += 0.000119151; + } + } + // tree 1104 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000133559; + } else { + sum += 0.000133559; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.000133559; + } else { + sum += 0.000133559; + } + } + // tree 1105 + if ( features[4] < -1.47024 ) { + sum += 9.06717e-05; + } else { + if ( features[1] < -0.75808 ) { + sum += -9.06717e-05; + } else { + sum += 9.06717e-05; + } + } + // tree 1106 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000118114; + } else { + sum += -0.000118114; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000118114; + } else { + sum += -0.000118114; + } + } + // tree 1107 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 0.000103643; + } else { + sum += -0.000103643; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -0.000103643; + } else { + sum += 0.000103643; + } + } + // tree 1108 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000117891; + } else { + sum += 0.000117891; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000117891; + } else { + sum += 0.000117891; + } + } + // tree 1109 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000111596; + } else { + sum += -0.000111596; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000111596; + } else { + sum += 0.000111596; + } + } + // tree 1110 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000132363; + } else { + sum += -0.000132363; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 0.000132363; + } else { + sum += -0.000132363; + } + } + // tree 1111 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000116637; + } else { + sum += 0.000116637; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000116637; + } else { + sum += -0.000116637; + } + } + // tree 1112 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000134404; + } else { + sum += 0.000134404; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000134404; + } else { + sum += 0.000134404; + } + } + // tree 1113 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000111976; + } else { + sum += 0.000111976; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000111976; + } else { + sum += -0.000111976; + } + } + // tree 1114 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.000121136; + } else { + sum += -0.000121136; + } + } else { + if ( features[5] < 0.626749 ) { + sum += 0.000121136; + } else { + sum += -0.000121136; + } + } + // tree 1115 + if ( features[0] < 1.68308 ) { + if ( features[7] < 0.620143 ) { + sum += -0.000105551; + } else { + sum += 0.000105551; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000105551; + } else { + sum += 0.000105551; + } + } + // tree 1116 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000117511; + } else { + sum += 0.000117511; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000117511; + } else { + sum += -0.000117511; + } + } + // tree 1117 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000110251; + } else { + sum += 0.000110251; + } + } else { + if ( features[1] < -0.712287 ) { + sum += -0.000110251; + } else { + sum += 0.000110251; + } + } + // tree 1118 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000106685; + } else { + sum += -0.000106685; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000106685; + } else { + sum += 0.000106685; + } + } + // tree 1119 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000102688; + } else { + sum += 0.000102688; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000102688; + } else { + sum += -0.000102688; + } + } + // tree 1120 + if ( features[0] < 1.68308 ) { + if ( features[8] < 2.43854 ) { + sum += 0.000110207; + } else { + sum += -0.000110207; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000110207; + } else { + sum += 0.000110207; + } + } + // tree 1121 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000118143; + } else { + sum += -0.000118143; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000118143; + } else { + sum += -0.000118143; + } + } + // tree 1122 + if ( features[12] < 4.93509 ) { + if ( features[11] < 0.693142 ) { + sum += -8.94653e-05; + } else { + sum += 8.94653e-05; + } + } else { + if ( features[8] < 2.26819 ) { + sum += -8.94653e-05; + } else { + sum += 8.94653e-05; + } + } + // tree 1123 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000117537; + } else { + sum += -0.000117537; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000117537; + } else { + sum += -0.000117537; + } + } + // tree 1124 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000102604; + } else { + sum += 0.000102604; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000102604; + } else { + sum += -0.000102604; + } + } + // tree 1125 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000106747; + } else { + sum += 0.000106747; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000106747; + } else { + sum += 0.000106747; + } + } + // tree 1126 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000106986; + } else { + sum += -0.000106986; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000106986; + } else { + sum += 0.000106986; + } + } + // tree 1127 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000103218; + } else { + sum += 0.000103218; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000103218; + } else { + sum += -0.000103218; + } + } + // tree 1128 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000115475; + } else { + sum += 0.000115475; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000115475; + } else { + sum += -0.000115475; + } + } + // tree 1129 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000110698; + } else { + sum += -0.000110698; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000110698; + } else { + sum += -0.000110698; + } + } + // tree 1130 + if ( features[9] < 1.87281 ) { + if ( features[7] < 0.469546 ) { + sum += 0.000149783; + } else { + sum += -0.000149783; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000149783; + } else { + sum += 0.000149783; + } + } + // tree 1131 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000105981; + } else { + sum += 0.000105981; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000105981; + } else { + sum += 0.000105981; + } + } + // tree 1132 + if ( features[5] < 0.473096 ) { + if ( features[8] < 2.17759 ) { + sum += -0.000104118; + } else { + sum += 0.000104118; + } + } else { + if ( features[5] < 0.87839 ) { + sum += -0.000104118; + } else { + sum += 0.000104118; + } + } + // tree 1133 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.000110008; + } else { + sum += -0.000110008; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000110008; + } else { + sum += 0.000110008; + } + } + // tree 1134 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000137398; + } else { + sum += 0.000137398; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000137398; + } else { + sum += 0.000137398; + } + } + // tree 1135 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000135796; + } else { + sum += 0.000135796; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000135796; + } else { + sum += -0.000135796; + } + } + // tree 1136 + if ( features[12] < 4.93509 ) { + if ( features[5] < 0.784599 ) { + sum += 9.61862e-05; + } else { + sum += -9.61862e-05; + } + } else { + if ( features[7] < 0.547541 ) { + sum += 9.61862e-05; + } else { + sum += -9.61862e-05; + } + } + // tree 1137 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.00013591; + } else { + sum += 0.00013591; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.00013591; + } else { + sum += 0.00013591; + } + } + // tree 1138 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000130418; + } else { + sum += 0.000130418; + } + } else { + if ( features[1] < 0.40965 ) { + sum += -0.000130418; + } else { + sum += 0.000130418; + } + } + // tree 1139 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000110665; + } else { + sum += -0.000110665; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000110665; + } else { + sum += -0.000110665; + } + } + // tree 1140 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000116382; + } else { + sum += 0.000116382; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000116382; + } else { + sum += 0.000116382; + } + } + // tree 1141 + if ( features[7] < 0.501269 ) { + if ( features[11] < 1.66939 ) { + sum += 0.000108559; + } else { + sum += -0.000108559; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000108559; + } else { + sum += -0.000108559; + } + } + // tree 1142 + if ( features[12] < 4.93509 ) { + if ( features[4] < -1.47026 ) { + sum += 0.000103109; + } else { + sum += -0.000103109; + } + } else { + if ( features[9] < 2.24593 ) { + sum += -0.000103109; + } else { + sum += 0.000103109; + } + } + // tree 1143 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000129458; + } else { + sum += -0.000129458; + } + } else { + if ( features[5] < 0.610294 ) { + sum += 0.000129458; + } else { + sum += -0.000129458; + } + } + // tree 1144 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000115892; + } else { + sum += 0.000115892; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000115892; + } else { + sum += 0.000115892; + } + } + // tree 1145 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000140153; + } else { + sum += -0.000140153; + } + } else { + if ( features[7] < 0.495339 ) { + sum += 0.000140153; + } else { + sum += -0.000140153; + } + } + // tree 1146 + sum += 5.24178e-05; + // tree 1147 + if ( features[7] < 0.390948 ) { + if ( features[4] < -2.01209 ) { + sum += 0.000126472; + } else { + sum += -0.000126472; + } + } else { + if ( features[2] < 0.82134 ) { + sum += 0.000126472; + } else { + sum += -0.000126472; + } + } + // tree 1148 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.00011517; + } else { + sum += 0.00011517; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.00011517; + } else { + sum += 0.00011517; + } + } + // tree 1149 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.00011657; + } else { + sum += 0.00011657; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00011657; + } else { + sum += -0.00011657; + } + } + // tree 1150 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000108233; + } else { + sum += -0.000108233; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000108233; + } else { + sum += 0.000108233; + } + } + // tree 1151 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000110755; + } else { + sum += -0.000110755; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000110755; + } else { + sum += 0.000110755; + } + } + // tree 1152 + if ( features[12] < 4.93509 ) { + if ( features[3] < 0.0967294 ) { + sum += 0.00010879; + } else { + sum += -0.00010879; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.00010879; + } else { + sum += 0.00010879; + } + } + // tree 1153 + if ( features[0] < 1.68308 ) { + if ( features[9] < 2.45345 ) { + sum += 0.000109998; + } else { + sum += -0.000109998; + } + } else { + if ( features[9] < 1.86345 ) { + sum += -0.000109998; + } else { + sum += 0.000109998; + } + } + // tree 1154 + if ( features[4] < -1.47024 ) { + if ( features[12] < 4.81552 ) { + sum += 0.000120435; + } else { + sum += -0.000120435; + } + } else { + if ( features[2] < 0.444798 ) { + sum += 0.000120435; + } else { + sum += -0.000120435; + } + } + // tree 1155 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000124884; + } else { + sum += -0.000124884; + } + } else { + if ( features[5] < 0.626749 ) { + sum += 0.000124884; + } else { + sum += -0.000124884; + } + } + // tree 1156 + if ( features[1] < 0.103667 ) { + if ( features[8] < 2.01757 ) { + sum += 0.000113375; + } else { + sum += -0.000113375; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000113375; + } else { + sum += -0.000113375; + } + } + // tree 1157 + if ( features[7] < 0.390948 ) { + if ( features[0] < 2.22866 ) { + sum += -0.000122105; + } else { + sum += 0.000122105; + } + } else { + if ( features[7] < 0.495339 ) { + sum += 0.000122105; + } else { + sum += -0.000122105; + } + } + // tree 1158 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000116963; + } else { + sum += 0.000116963; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000116963; + } else { + sum += -0.000116963; + } + } + // tree 1159 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000102602; + } else { + sum += 0.000102602; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000102602; + } else { + sum += -0.000102602; + } + } + // tree 1160 + if ( features[5] < 0.473096 ) { + if ( features[1] < -0.100273 ) { + sum += -0.000117426; + } else { + sum += 0.000117426; + } + } else { + if ( features[7] < 0.478265 ) { + sum += 0.000117426; + } else { + sum += -0.000117426; + } + } + // tree 1161 + if ( features[11] < 1.84612 ) { + if ( features[1] < -0.717334 ) { + sum += -8.68601e-05; + } else { + sum += 8.68601e-05; + } + } else { + sum += -8.68601e-05; + } + // tree 1162 + if ( features[0] < 1.68308 ) { + if ( features[7] < 0.620143 ) { + sum += -0.000100861; + } else { + sum += 0.000100861; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000100861; + } else { + sum += -0.000100861; + } + } + // tree 1163 + if ( features[7] < 0.501269 ) { + if ( features[0] < 1.71491 ) { + sum += -0.000118254; + } else { + sum += 0.000118254; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000118254; + } else { + sum += 0.000118254; + } + } + // tree 1164 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000100312; + } else { + sum += -0.000100312; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000100312; + } else { + sum += -0.000100312; + } + } + // tree 1165 + if ( features[7] < 0.390948 ) { + if ( features[5] < 0.267813 ) { + sum += 0.000114192; + } else { + sum += -0.000114192; + } + } else { + if ( features[9] < 1.87281 ) { + sum += -0.000114192; + } else { + sum += 0.000114192; + } + } + // tree 1166 + if ( features[12] < 4.93509 ) { + if ( features[7] < 0.354174 ) { + sum += -0.000116405; + } else { + sum += 0.000116405; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000116405; + } else { + sum += 0.000116405; + } + } + // tree 1167 + if ( features[0] < 1.68308 ) { + if ( features[1] < -0.447621 ) { + sum += -0.000104466; + } else { + sum += 0.000104466; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000104466; + } else { + sum += -0.000104466; + } + } + // tree 1168 + if ( features[12] < 4.93509 ) { + if ( features[8] < 1.51822 ) { + sum += -9.08212e-05; + } else { + sum += 9.08212e-05; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -9.08212e-05; + } else { + sum += 9.08212e-05; + } + } + // tree 1169 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000105402; + } else { + sum += -0.000105402; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000105402; + } else { + sum += 0.000105402; + } + } + // tree 1170 + if ( features[1] < 0.103667 ) { + if ( features[12] < 3.73942 ) { + sum += 0.000115027; + } else { + sum += -0.000115027; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000115027; + } else { + sum += -0.000115027; + } + } + // tree 1171 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.000100454; + } else { + sum += 0.000100454; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 0.000100454; + } else { + sum += -0.000100454; + } + } + // tree 1172 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.0001337; + } else { + sum += 0.0001337; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.0001337; + } else { + sum += 0.0001337; + } + } + // tree 1173 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000113725; + } else { + sum += 0.000113725; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000113725; + } else { + sum += -0.000113725; + } + } + // tree 1174 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000101403; + } else { + sum += 0.000101403; + } + } else { + if ( features[5] < 0.473405 ) { + sum += 0.000101403; + } else { + sum += -0.000101403; + } + } + // tree 1175 + if ( features[12] < 4.93509 ) { + if ( features[1] < -0.814281 ) { + sum += -0.000102966; + } else { + sum += 0.000102966; + } + } else { + if ( features[5] < 0.787913 ) { + sum += -0.000102966; + } else { + sum += 0.000102966; + } + } + // tree 1176 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000132229; + } else { + sum += 0.000132229; + } + } else { + if ( features[12] < 4.09812 ) { + sum += 0.000132229; + } else { + sum += -0.000132229; + } + } + // tree 1177 + if ( features[3] < 0.0967294 ) { + if ( features[4] < -1.2963 ) { + sum += 8.91211e-05; + } else { + sum += -8.91211e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -8.91211e-05; + } else { + sum += 8.91211e-05; + } + } + // tree 1178 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000128373; + } else { + sum += 0.000128373; + } + } else { + if ( features[12] < 4.33725 ) { + sum += 0.000128373; + } else { + sum += -0.000128373; + } + } + // tree 1179 + if ( features[12] < 4.93509 ) { + if ( features[0] < 1.40059 ) { + sum += -0.000101814; + } else { + sum += 0.000101814; + } + } else { + if ( features[4] < -0.42576 ) { + sum += -0.000101814; + } else { + sum += 0.000101814; + } + } + // tree 1180 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -9.98864e-05; + } else { + sum += 9.98864e-05; + } + } else { + if ( features[6] < -1.05893 ) { + sum += 9.98864e-05; + } else { + sum += -9.98864e-05; + } + } + // tree 1181 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000132666; + } else { + sum += 0.000132666; + } + } else { + if ( features[9] < 2.74381 ) { + sum += -0.000132666; + } else { + sum += 0.000132666; + } + } + // tree 1182 + if ( features[7] < 0.501269 ) { + if ( features[7] < 0.373145 ) { + sum += -0.000128264; + } else { + sum += 0.000128264; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000128264; + } else { + sum += 0.000128264; + } + } + // tree 1183 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000109094; + } else { + sum += 0.000109094; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000109094; + } else { + sum += -0.000109094; + } + } + // tree 1184 + if ( features[11] < 1.84612 ) { + if ( features[1] < -0.717334 ) { + sum += -8.56023e-05; + } else { + sum += 8.56023e-05; + } + } else { + sum += -8.56023e-05; + } + // tree 1185 + if ( features[3] < 0.0967294 ) { + if ( features[9] < 1.48572 ) { + sum += -9.13579e-05; + } else { + sum += 9.13579e-05; + } + } else { + if ( features[3] < 0.161737 ) { + sum += -9.13579e-05; + } else { + sum += 9.13579e-05; + } + } + // tree 1186 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000107539; + } else { + sum += -0.000107539; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.000107539; + } else { + sum += 0.000107539; + } + } + // tree 1187 + if ( features[6] < -0.231447 ) { + if ( features[12] < 4.57639 ) { + sum += 8.51995e-05; + } else { + sum += -8.51995e-05; + } + } else { + if ( features[4] < -0.944929 ) { + sum += -8.51995e-05; + } else { + sum += 8.51995e-05; + } + } + // tree 1188 + if ( features[8] < 2.24069 ) { + if ( features[12] < 4.08991 ) { + sum += 0.000127042; + } else { + sum += -0.000127042; + } + } else { + if ( features[7] < 0.795458 ) { + sum += 0.000127042; + } else { + sum += -0.000127042; + } + } + // tree 1189 + if ( features[7] < 0.501269 ) { + if ( features[1] < -0.750044 ) { + sum += -0.000130945; + } else { + sum += 0.000130945; + } + } else { + if ( features[4] < -0.252418 ) { + sum += -0.000130945; + } else { + sum += 0.000130945; + } + } + // tree 1190 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.00011405; + } else { + sum += 0.00011405; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.00011405; + } else { + sum += -0.00011405; + } + } + // tree 1191 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000108688; + } else { + sum += -0.000108688; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.000108688; + } else { + sum += -0.000108688; + } + } + // tree 1192 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000112603; + } else { + sum += 0.000112603; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000112603; + } else { + sum += -0.000112603; + } + } + // tree 1193 + if ( features[1] < 0.103667 ) { + if ( features[5] < 0.990868 ) { + sum += -0.00010592; + } else { + sum += 0.00010592; + } + } else { + if ( features[8] < 2.06839 ) { + sum += -0.00010592; + } else { + sum += 0.00010592; + } + } + // tree 1194 + if ( features[1] < 0.103667 ) { + if ( features[6] < -0.597362 ) { + sum += -0.000111746; + } else { + sum += 0.000111746; + } + } else { + if ( features[7] < 0.859685 ) { + sum += 0.000111746; + } else { + sum += -0.000111746; + } + } + // tree 1195 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.464495 ) { + sum += 0.00010819; + } else { + sum += -0.00010819; + } + } else { + if ( features[4] < -1.29284 ) { + sum += 0.00010819; + } else { + sum += -0.00010819; + } + } + // tree 1196 + if ( features[1] < 0.103667 ) { + if ( features[7] < 0.390948 ) { + sum += -0.000103489; + } else { + sum += 0.000103489; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000103489; + } else { + sum += 0.000103489; + } + } + // tree 1197 + if ( features[0] < 1.68308 ) { + if ( features[6] < -0.983179 ) { + sum += -0.000111664; + } else { + sum += 0.000111664; + } + } else { + if ( features[7] < 0.979305 ) { + sum += 0.000111664; + } else { + sum += -0.000111664; + } + } + // tree 1198 + if ( features[1] < 0.103667 ) { + if ( features[9] < 1.96958 ) { + sum += 0.000102719; + } else { + sum += -0.000102719; + } + } else { + if ( features[9] < 2.19192 ) { + sum += -0.000102719; + } else { + sum += 0.000102719; + } + } + // tree 1199 + if ( features[9] < 1.87281 ) { + if ( features[12] < 4.29516 ) { + sum += 0.000152826; + } else { + sum += -0.000152826; + } + } else { + if ( features[1] < -0.100321 ) { + sum += -0.000152826; + } else { + sum += 0.000152826; + } + } + return sum; +} diff --git a/Phys/FunctionalFlavourTagging/Classification/TaggingClassifierTMVA.cpp b/Phys/FunctionalFlavourTagging/Classification/TaggingClassifierTMVA.cpp new file mode 100644 index 0000000000000000000000000000000000000000..edd41a44e9ff47907451aaeb39a811f5be4b8ba5 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/TaggingClassifierTMVA.cpp @@ -0,0 +1,11 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include "TaggingClassifierTMVA.h" diff --git a/Phys/FunctionalFlavourTagging/Classification/TaggingClassifierTMVA.h b/Phys/FunctionalFlavourTagging/Classification/TaggingClassifierTMVA.h new file mode 100644 index 0000000000000000000000000000000000000000..a593355e1ecc2bace2e0df8cfe5e992947b68acf --- /dev/null +++ b/Phys/FunctionalFlavourTagging/Classification/TaggingClassifierTMVA.h @@ -0,0 +1,41 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#ifndef PHYS_PHYS_FLAVOURTAGGING_TAGGINGCLASSIFIERTMVA_H +#define PHYS_PHYS_FLAVOURTAGGING_TAGGINGCLASSIFIERTMVA_H 1 + +#include <cstddef> + +#include "ITaggingClassifier.h" + +class TaggingClassifierTMVA : public ITaggingClassifier { + +public: + double getClassifierValue( const std::vector<double>& featureValues ) override { + return GetMvaValue( featureValues ); + } + + /** + * @brief Returns the classifier value + * + * @param[in] featureValues The feature values + * + * @return The classifier value + */ + virtual double GetMvaValue( const std::vector<double>& featureValues ) const = 0; + + // returns classifier status + bool IsStatusClean() const { return fStatusIsClean; } + +protected: + bool fStatusIsClean = true; +}; + +#endif // PHYS_PHYS_FLAVOURTAGGING_TAGGINGCLASSIFIERTMVA_H diff --git a/Phys/FunctionalFlavourTagging/src/FunctionalSSPionTagger.cpp b/Phys/FunctionalFlavourTagging/src/FunctionalSSPionTagger.cpp new file mode 100644 index 0000000000000000000000000000000000000000..a80999133cd47c095738db0ba980152a5ae0f36f --- /dev/null +++ b/Phys/FunctionalFlavourTagging/src/FunctionalSSPionTagger.cpp @@ -0,0 +1,179 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ + +#include "FunctionalSSPionTagger.h" + +#include <typeinfo> + +// Declaration of the Algorithm Factory +DECLARE_COMPONENT( FunctionalSSPionTagger ) + +LHCb::FlavourTags FunctionalSSPionTagger::operator()( const LHCb::Particles& bCandidates, + const LHCb::Particle::Range& taggingPions, + const LHCb::RecVertices& primaryVertices, + const DetectorElement& lhcbDetector ) const { + auto& geometry = *lhcbDetector.geometry(); + + // keyed container of FlavourTag objects, one FlavourTag per B candidate + LHCb::FlavourTags flavourTags; + + m_BCount += bCandidates.size(); + m_pionCount += taggingPions.size(); + + // is this still needed??? could be removed + if ( bCandidates.size() == 0 || taggingPions.size() == 0 || primaryVertices.size() == 0 ) { + for ( const auto* bCand : bCandidates ) { + LHCb::Tagger tagger; + tagger.setType( taggerType() ); + LHCb::FlavourTag* flavourTag = new LHCb::FlavourTag(); + flavourTag->addTagger( tagger ); + flavourTag->setTaggedB( bCand ); + flavourTag->setDecision( LHCb::FlavourTag::none ); + flavourTags.insert( flavourTag ); + } + return flavourTags; + } + + // loop over B candidates + for ( const auto* bCand : bCandidates ) { + auto tagResult = performTagging( *bCand, taggingPions, primaryVertices, geometry ); + + if ( !tagResult.has_value() ) { + // no appropriate tagging candidate found, fill with "empty" FlavourTag object + LHCb::Tagger tagger; + tagger.setType( taggerType() ); + LHCb::FlavourTag* flavourTag = new LHCb::FlavourTag(); + flavourTag->addTagger( tagger ); + flavourTag->setTaggedB( bCand ); + flavourTag->setDecision( LHCb::FlavourTag::none ); + flavourTags.insert( flavourTag ); + continue; + } + + LHCb::FlavourTag* flavourTag = new LHCb::FlavourTag(); + flavourTag->setTaggedB( bCand ); + flavourTag->setDecision( LHCb::FlavourTag::none ); + flavourTag->setTaggers( std::vector<LHCb::Tagger>{tagResult.value()} ); + flavourTags.insert( flavourTag ); + + m_FTCount += 1; + } + + return flavourTags; +} + +std::optional<LHCb::Tagger> FunctionalSSPionTagger::performTagging( const LHCb::Particle& bCand, + const LHCb::Particle::Range& taggingPions, + const LHCb::RecVertices& primaryVertices, + const IGeometryInfo& geometry ) const { + const LHCb::Particle* bestTagCand = nullptr; + + double bestBDT = -99.0; + + Gaudi::LorentzVector b_mom = bCand.momentum(); + + // find PV that best fits the B candidate + const LHCb::VertexBase* bestPV = m_taggingHelperTool->bestPV( bCand, primaryVertices ); + if ( bestPV == nullptr ) return std::nullopt; + + /*std::optional<const LHCb::VertexBase> refittedPV = m_taggingHelperTool->refitPVWithoutB(*bestPV, bCand, geometry); + if(! refittedPV.has_value()) + return std::nullopt; + */ + // PV refitting isn't possible in Moore (right now) since the PV doesn't save the particles it was made of + std::optional<const LHCb::VertexBase> refittedPV = *bestPV; + + auto pileups = TaggingHelper::pileUpVertices( primaryVertices, *bestPV ); + + // loop over tagging particles + for ( const auto* tagCand : taggingPions ) { + Gaudi::LorentzVector tag_mom = tagCand->momentum(); + + // if(std::abs(tag_mom.P()-1571.)>1) continue; + if ( !m_taggingHelperTool->passesCommonPreSelection( *tagCand, bCand, pileups, geometry ) ) continue; + + // exclude tracks too far way from the signal + double deltaPhi = std::fabs( TaggingHelper::dPhi( b_mom.phi(), tag_mom.phi() ) ); + if ( deltaPhi > m_maxDistPhi ) continue; + + const double deltaEta = std::fabs( b_mom.Eta() - tag_mom.Eta() ); + if ( deltaEta > m_maxDeltaEta ) continue; + + // calculate and cut on dQ + const double dQ = ( b_mom + tag_mom ).M() - b_mom.M(); // NB: missing mp term as in Davide's computation (???) + if ( dQ > m_maxDQB0Pion ) continue; + + // cut on the transverse momentum of the B - tagging particle combination + const double btag_pT = ( b_mom + tag_mom ).Pt(); + if ( btag_pT < m_minPTB0Pion ) continue; + + // IP significance cut wrt bestPV + std::optional<std::pair<double, double>> refittedPVIP = + m_taggingHelperTool->calcIP( *tagCand, refittedPV.value(), geometry ); + if ( !refittedPVIP.has_value() ) continue; + const double ipSig = refittedPVIP.value().first / refittedPVIP.value().second; + if ( ipSig > m_maxIpSigTagBestPV ) continue; + + // fit BCand and pionCand to vertex and cut on chi2/ndof + std::optional<LHCb::Vertex> tagBVtx = m_taggingHelperTool->fitVertex( *tagCand, bCand, geometry ); + if ( !tagBVtx.has_value() ) continue; + if ( tagBVtx.value().chi2() / tagBVtx.value().nDoF() > m_minChi2B0PionVertex ) continue; + + // inputs for the BDT + const double dR = std::sqrt( deltaEta * deltaEta + deltaPhi * deltaPhi ); + const LHCb::ProtoParticle* tagProto = tagCand->proto(); + const double tagPIDk = tagProto->info( LHCb::ProtoParticle::additionalInfo::CombDLLk, -1000.0 ); + const LHCb::Track* tagTrack = tagProto->track(); + const double tagTrackChi2 = tagTrack->chi2PerDoF(); + const double tagGhostProb = tagTrack->ghostProbability(); + + // MVA !! + std::vector<double> inputVals( 13 ); + inputVals[0] = log( tag_mom.P() / Gaudi::Units::GeV ); + inputVals[1] = log( tag_mom.Pt() / Gaudi::Units::GeV ); + inputVals[2] = log( ipSig ); + inputVals[3] = tagGhostProb; + inputVals[4] = log( deltaPhi ); + inputVals[5] = dR; + inputVals[6] = log( deltaEta ); + inputVals[7] = dQ / Gaudi::Units::GeV; + inputVals[8] = log( b_mom.Pt() / Gaudi::Units::GeV ); + inputVals[9] = log( ( b_mom + tag_mom ).Pt() / Gaudi::Units::GeV ); + inputVals[10] = tagPIDk; + inputVals[11] = tagTrackChi2; + inputVals[12] = refittedPV->nDoF(); + + const double BDT = m_classifier->getClassifierValue( inputVals ); + + if ( BDT < bestBDT ) continue; + + bestTagCand = tagCand; + bestBDT = BDT; + } + + double pn = + 1. - ( m_polP0 + m_polP1 * bestBDT + m_polP2 * bestBDT * bestBDT + m_polP3 * bestBDT * bestBDT * bestBDT ); + + if ( pn < m_minPionProb || pn > 1 ) return std::nullopt; + + int tagdecision = bestTagCand->charge() > 0 ? 1 : -1; + if ( bCand.particleID().hasUp() ) tagdecision = -tagdecision; + + LHCb::Tagger tagger; + tagger.setDecision( tagdecision ); + tagger.setOmega( 1 - pn ); + tagger.setType( taggerType() ); + tagger.addToTaggerParts( bestTagCand ); + tagger.setCharge( bestTagCand->charge() ); + tagger.setMvaValue( bestBDT ); + + return tagger; +} \ No newline at end of file diff --git a/Phys/FunctionalFlavourTagging/src/FunctionalSSPionTagger.h b/Phys/FunctionalFlavourTagging/src/FunctionalSSPionTagger.h new file mode 100644 index 0000000000000000000000000000000000000000..dc1a6989ff7038c2c0c4ffc10c1b094660786b08 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/src/FunctionalSSPionTagger.h @@ -0,0 +1,78 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#pragma once + +// from Gaudi +#include "GaudiAlg/Transformer.h" +#include "GaudiKernel/ToolHandle.h" + +// from LHCb +#include "DetDesc/DetectorElement.h" +#include "DetDesc/GenericConditionAccessorHolder.h" +#include "Event/FlavourTag.h" +#include "Event/Particle.h" +#include "Event/RecVertex.h" +#include "Event/Tagger.h" + +// from FunctionalFlavourTagging +#include "../Classification/SSPion/SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1.h" +#include "Utils/ITaggingHelperTool.h" +#include "Utils/TaggingHelper.h" +#include "Utils/TaggingHelperTool.h" + +class FunctionalSSPionTagger + : public Gaudi::Functional::Transformer<LHCb::FlavourTags( const LHCb::Particles&, const LHCb::Particle::Range&, + const LHCb::RecVertices&, const DetectorElement& ), + LHCb::DetDesc::usesConditions<DetectorElement>> { +public: + /// Standard constructor + FunctionalSSPionTagger( const std::string& name, ISvcLocator* pSvcLocator ) + : Transformer( name, pSvcLocator, + {KeyValue{"BCandidates", ""}, KeyValue{"TaggingPions", ""}, KeyValue{"PrimaryVertices", ""}, + KeyValue{"StandardGeometry", "/dd/Structure/LHCb"}}, + KeyValue{"OutputFlavourTags", ""} ) {} + + LHCb::FlavourTags operator()( const LHCb::Particles& bCandidates, const LHCb::Particle::Range& taggingPions, + const LHCb::RecVertices& primaryVertices, const DetectorElement& ) const override; + + std::optional<LHCb::Tagger> performTagging( const LHCb::Particle& bCand, const LHCb::Particle::Range& taggingPions, + const LHCb::RecVertices& primaryVertices, + const IGeometryInfo& geometry ) const; + + LHCb::Tagger::TaggerType taggerType() const { return LHCb::Tagger::TaggerType::SS_PionBDT; } + +private: + Gaudi::Property<double> m_maxDistPhi{this, "MaxDistPhi", 1.1, + "Tagging particle requirement: Maximum phi distance to B candidate"}; + Gaudi::Property<double> m_maxDeltaEta{this, "MaxDeltaEta", 1.2, + "Tagging particle requirement: Maximum eta distance to B candidate"}; + Gaudi::Property<double> m_maxIpSigTagBestPV{this, "MaxIpSigTagBestPV", 4.0, + "Tagging particle requirement: Maximum IP significance wrt to best PV"}; + Gaudi::Property<double> m_maxDQB0Pion{this, "MaxDQB0Pion", 1.2 * Gaudi::Units::GeV, "I don't know what this is"}; + Gaudi::Property<double> m_minPTB0Pion{this, "MaxPTB0Pion", 3.0 * Gaudi::Units::GeV, + "Maximum transverse momentum of the B0-Pion combination"}; + Gaudi::Property<double> m_minChi2B0PionVertex{this, "MinChi2B0PionVertex", 100}; + Gaudi::Property<double> m_minPionProb{this, "MinPionProb", 0.5}; + + mutable Gaudi::Accumulators::SummingCounter<> m_BCount{this, "#BCandidates"}; + mutable Gaudi::Accumulators::SummingCounter<> m_pionCount{this, "#taggingPions"}; + mutable Gaudi::Accumulators::SummingCounter<> m_FTCount{this, "#goodFlavourTags"}; + + ToolHandle<ITaggingHelperTool> m_taggingHelperTool{this, "TaggingHelper", "TaggingHelperTool"}; + // ToolHandle<IVertexFit> m_vertexFitTool{this, "VertexFitter", "LoKi::VertexFitter"}; + + std::unique_ptr<ITaggingClassifier> m_classifier = std::make_unique<SSPion_Data_Run1_All_Bd2Dpi_TMVA_BDT_v1r1>(); + + double m_polP0 = 0.4523; + double m_polP1 = -0.117; + double m_polP2 = -0.122; + double m_polP3 = -0.081; +}; diff --git a/Phys/FunctionalFlavourTagging/src/Utils/ITaggingHelperTool.h b/Phys/FunctionalFlavourTagging/src/Utils/ITaggingHelperTool.h new file mode 100644 index 0000000000000000000000000000000000000000..eea236fb41b94caa50bde45bbf4619b872018ccb --- /dev/null +++ b/Phys/FunctionalFlavourTagging/src/Utils/ITaggingHelperTool.h @@ -0,0 +1,49 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#ifndef PHYS_PHYS_FLAVOURTAGGING_ITAGGINGHELPERTOOL_H +#define PHYS_PHYS_FLAVOURTAGGING_ITAGGINGHELPERTOOL_H 1 + +#include "GaudiKernel/IAlgTool.h" + +// from LHCb +#include "DetDesc/IGeometryInfo.h" +#include "Event/Particle.h" +#include "Event/RecVertex.h" + +// from FunctionalFlavourTagging +#include "TaggingHelper.h" + +class ITaggingHelperTool : virtual public IAlgTool { + + DeclareInterfaceID( ITaggingHelperTool, 3, 0 ); + +public: + virtual std::optional<std::pair<double, double>> calcIP( const LHCb::Particle&, const LHCb::VertexBase&, + const IGeometryInfo& ) const = 0; + virtual std::optional<std::pair<double, double>> calcMinIP( const LHCb::Particle&, LHCb::RecVertex::ConstVector&, + const IGeometryInfo& ) const = 0; + + virtual bool hasOverlap( const LHCb::Particle&, const LHCb::Particle& ) const = 0; + + virtual const LHCb::VertexBase* bestPV( const LHCb::Particle&, const LHCb::RecVertices& ) const = 0; + + virtual std::optional<LHCb::Vertex> fitVertex( const LHCb::Particle&, const LHCb::Particle&, + const IGeometryInfo& ) const = 0; + + virtual std::optional<const LHCb::VertexBase> refitPVWithoutB( const LHCb::VertexBase&, const LHCb::Particle&, + const IGeometryInfo& ) const = 0; + virtual TaggingHelper::CloneStatus cloneCategory( const LHCb::Particle&, const LHCb::Particle&, double ) const = 0; + + virtual bool passesCommonPreSelection( const LHCb::Particle&, const LHCb::Particle&, LHCb::RecVertex::ConstVector&, + const IGeometryInfo& ) const = 0; +}; + +#endif // PHYS_PHYS_FLAVOURTAGGING_ITAGGINGHELPERTOOL_H diff --git a/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelper.h b/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelper.h new file mode 100644 index 0000000000000000000000000000000000000000..f7b67e1c7af6bb4cad837c916379cd68d3fec49f --- /dev/null +++ b/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelper.h @@ -0,0 +1,155 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#pragma once +#include <cmath> + +#include "Event/RecVertex.h" + +namespace TaggingHelper { + + typedef enum { + DifferentParticles = 0, //< different particles + ConvertedGamma, //< looks like converted gamma + MattTxTyQp, //< same slope in Velo (criteria due to M. Needham) + MattTxTy, //< same slope in Velo (criteria due to M. Needham) + CloneTrackParams, //< same particle based on match in p,eta,phi + CloneHitContent, //< same particle based on track hit content + } CloneStatus; + + inline double dPhi( const double phi1, const double phi2 ) { + const double c1 = std::cos( phi1 ), s1 = std::sin( phi1 ); + const double c2 = std::cos( phi2 ), s2 = std::sin( phi2 ); + return std::atan2( c1 * s2 - c2 * s1, c1 * c2 + s1 * s2 ); + } + + inline double dPhi( const double x1, const double y1, const double x2, const double y2 ) { + const double r1 = std::sqrt( x1 * x1 + y1 * y1 ); + const double r2 = std::sqrt( x2 * x2 + y2 * y2 ); + // at least one of the vectors has zero length, return NaN + if ( 0. == r1 || 0. == r2 ) return std::numeric_limits<double>::quiet_NaN(); + const double c1 = x1 / r1, s1 = y1 / r1; + const double c2 = x2 / r2, s2 = y2 / r2; + return std::atan2( c1 * s2 - c2 * s1, c1 * c2 + s1 * s2 ); + } + + inline LHCb::RecVertex::ConstVector pileUpVertices( const LHCb::RecVertices& allPVs, + const LHCb::VertexBase& bestPV ) { + LHCb::RecVertex::ConstVector puVts; + puVts.reserve( allPVs.size() - 1 ); + + for ( auto const* pv : allPVs ) { + if ( pv->index() == bestPV.index() ) continue; + puVts.push_back( pv ); + } + return puVts; + } + + inline bool areHitFractionClones( const LHCb::Particle& p1, const LHCb::Particle& p2, + const double maxSharedHitFraction ) { + if ( !p1.proto() || !p2.proto() ) return false; + const LHCb::Track* t1 = p1.proto()->track(); + const LHCb::Track* t2 = p2.proto()->track(); + + int nCommonHits = t1->nCommonLhcbIDs( *t2 ); + int norm = std::min( t1->nLHCbIDs(), t2->nLHCbIDs() ); + const double frac = double( nCommonHits ) / double( norm ); + if ( frac > maxSharedHitFraction ) return true; + + return false; + } + + inline bool areMomentumParameterClones( const LHCb::Particle& p1, const LHCb::Particle& p2 ) { + const auto& mom1 = p1.momentum(); + const auto& mom2 = p2.momentum(); + + const double deta = mom1.eta() - mom2.eta(); + const double dphi = dPhi( mom1.x(), mom1.y(), mom2.x(), mom2.y() ); + + const Gaudi::SymMatrix4x4& C1 = p1.momCovMatrix(); + const Gaudi::SymMatrix4x4& C2 = p2.momCovMatrix(); + double err1 = std::sqrt( ( mom1.x() * mom1.x() * C1( 0, 0 ) + mom1.y() * mom1.y() * C1( 1, 1 ) + + mom1.z() * mom1.z() * C1( 2, 2 ) ) + + 2. * ( mom1.x() * mom1.y() * C1( 0, 1 ) + mom1.x() * mom1.z() * C1( 0, 2 ) + + mom1.y() * mom1.z() * C1( 1, 2 ) ) ) / + mom1.P(); + double err2 = std::sqrt( ( mom2.x() * mom2.x() * C2( 0, 0 ) + mom2.y() * mom2.y() * C2( 1, 1 ) + + mom2.z() * mom2.z() * C2( 2, 2 ) ) + + 2. * ( mom2.x() * mom2.y() * C2( 0, 1 ) + mom2.x() * mom2.z() * C2( 0, 2 ) + + mom2.y() * mom2.z() * C2( 1, 2 ) ) ) / + mom2.P(); + + // check if the particles are clones based on their momenta and angles + if ( p1.charge() && p2.charge() ) { + const double dqp = double( p1.charge() ) / mom1.P() - double( p2.charge() ) / mom2.P(); + const double dqperr = + std::sqrt( ( err1 / mom1.P2() ) * ( err1 / mom1.P2() ) + ( err2 / mom2.P2() ) * ( err2 / mom2.P2() ) ); + if ( std::abs( dqp / dqperr ) < 3. && std::abs( deta ) < 0.1 && std::abs( dphi ) < 0.1 ) return true; + } else { + const double dp = mom1.P() - mom2.P(); + const double dperr = std::sqrt( err1 * err1 + err2 * err2 ); + if ( std::abs( dp / dperr ) < 3. && std::abs( deta ) < 0.1 && std::abs( dphi ) < 0.1 ) return true; + } + return false; + } + + inline bool areSlopeClones( const LHCb::Particle& p1, const LHCb::Particle& p2 ) { + const auto& mom1 = p1.momentum(); + const auto& mom2 = p2.momentum(); + + const double dtx = mom1.x() / mom1.z() - mom2.x() / mom2.z(); + const double dty = mom1.y() / mom1.z() - mom2.y() / mom2.z(); + + if ( std::abs( dtx ) < 0.0004 && std::abs( dty ) < 0.0002 ) return true; + + return false; + } + + inline bool areSlopeChargeClones( const LHCb::Particle& p1, const LHCb::Particle& p2 ) { + const auto& mom1 = p1.momentum(); + const auto& mom2 = p2.momentum(); + + const double dtx = mom1.x() / mom1.z() - mom2.x() / mom2.z(); + const double dty = mom1.y() / mom1.z() - mom2.y() / mom2.z(); + + if ( p1.charge() && p2.charge() ) { + const double dqp = double( p1.charge() ) / mom1.P() - double( p2.charge() ) / mom2.P(); + + if ( std::abs( dtx ) < 0.005 && std::abs( dty ) < 0.005 && std::abs( dqp ) < 1e-6 ) return true; + } + return false; + } + + inline bool areConvertedGamma( const LHCb::Particle& p1, const LHCb::Particle& p2 ) { + if ( p1.charge() * p2.charge() < 0 ) { + const double mmu = 105.6583715, me = 0.510998928; + Gaudi::LorentzVector mom1 = p1.momentum(); + Gaudi::LorentzVector mom2 = p2.momentum(); + mom1.SetE( std::sqrt( me * me + mom1.P2() ) ); + mom2.SetE( std::sqrt( me * me + mom2.P2() ) ); + // use 0.25 * mmu as cutoff for low mass - halfway between 0 + // and half a muon mass seems fair when you keep mass resolution + // and numerical precision in mind... + const bool isLowMassSq = ( std::abs( ( mom1 + mom2 ).M2() ) < .0625 * mmu * mmu ); + mom1.SetE( std::sqrt( mmu * mmu + mom1.P2() ) ); + mom2.SetE( std::sqrt( mmu * mmu + mom2.P2() ) ); + if ( isLowMassSq || ( std::abs( ( mom1 + mom2 ).M2() ) < .0625 * mmu * mmu ) ) { + // the system has a small invariant mass - typically, the two + // tracks will also have a small angle (after all, it's a + // gamma on a fixed target... ;), so cut on the cosine of that + // angle + const double p1p2 = mom1.x() * mom2.x() + mom1.y() * mom2.y() + mom1.z() * mom2.z(); + if ( p1p2 / mom1.P() / mom2.P() > 0.999999 ) return true; + } + } + + return false; + } +} // namespace TaggingHelper \ No newline at end of file diff --git a/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelperTool.cpp b/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelperTool.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e9ffa299bec1fe262d7a214cfdde0f8c89862ee2 --- /dev/null +++ b/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelperTool.cpp @@ -0,0 +1,135 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#include "TaggingHelperTool.h" +#include "TaggingHelper.h" + +#include <cmath> + +// Declaration of the Algorithm Factory +DECLARE_COMPONENT( TaggingHelperTool ) + +StatusCode TaggingHelperTool::initialize() { + StatusCode sc = GaudiTool::initialize(); + + m_distCalcTool.retrieve().ignore(); + m_overlapTool.retrieve().ignore(); + m_relatedPVTool.retrieve().ignore(); + m_vertexFitTool.retrieve().ignore(); + + return sc; +} + +std::optional<std::pair<double, double>> TaggingHelperTool::calcIP( const LHCb::Particle& part, + const LHCb::VertexBase& vertex, + const IGeometryInfo& geometry ) const { + double ip = -100.0; + double iperr = 0.0; + double ipChi2 = 0; + StatusCode sc = m_distCalcTool->distance( &part, &vertex, ip, ipChi2, geometry ); + if ( sc ) { + iperr = ip / std::sqrt( ipChi2 ); + return std::make_pair( ip, iperr ); + } + return std::nullopt; +} + +std::optional<std::pair<double, double>> TaggingHelperTool::calcMinIP( const LHCb::Particle& part, + LHCb::RecVertex::ConstVector& vertices, + const IGeometryInfo& geometry ) const { + double minIp = std::numeric_limits<double>::max(); + double minIpErr = 0.0; + + for ( auto const* vertex : vertices ) { + auto tempIP = calcIP( part, *vertex, geometry ); + if ( tempIP.has_value() ) { + if ( tempIP.value().first < minIp ) { + minIp = tempIP.value().first; + minIpErr = tempIP.value().second; + } + } + } + if ( minIp < std::numeric_limits<double>::max() ) + return std::make_pair( minIp, minIpErr ); + else + return std::nullopt; +} + +bool TaggingHelperTool::passesCommonPreSelection( const LHCb::Particle& tagCand, const LHCb::Particle& bCand, + LHCb::RecVertex::ConstVector& pileups, + const IGeometryInfo& geometry ) const { + if ( m_overlapTool->foundOverlap( &tagCand, &bCand ) ) return false; + + LHCb::Particle::ConstVector bDaughters = m_descendantsTool->descendants( &bCand ); + bDaughters.push_back( &bCand ); + + double minPhi = std::numeric_limits<double>::max(); + for ( const auto& bDaughter : bDaughters ) { + if ( cloneCategory( tagCand, *bDaughter, m_maxSharedHitFraction ) ) return false; + + double tempPhi = fabs( TaggingHelper::dPhi( tagCand.momentum().phi(), bDaughter->momentum().phi() ) ); + if ( tempPhi < minPhi ) minPhi = tempPhi; + } + if ( minPhi < m_minDistPhi ) return false; + + if ( pileups.size() == 0 ) return true; + std::optional<std::pair<double, double>> puMinIP = calcMinIP( tagCand, pileups, geometry ); + if ( !puMinIP.has_value() ) return false; + const double minIPSig = puMinIP.value().first / puMinIP.value().second; + if ( minIPSig < m_minIpSigTagPileUpVertices ) return false; + + return true; +} + +TaggingHelper::CloneStatus TaggingHelperTool::cloneCategory( const LHCb::Particle& p1, const LHCb::Particle& p2, + double maxSharedHitFraction ) const { + if ( TaggingHelper::areHitFractionClones( p1, p2, maxSharedHitFraction ) ) return TaggingHelper::CloneHitContent; + if ( TaggingHelper::areMomentumParameterClones( p1, p2 ) ) return TaggingHelper::CloneTrackParams; + if ( TaggingHelper::areSlopeClones( p1, p2 ) ) return TaggingHelper::MattTxTy; + if ( TaggingHelper::areSlopeChargeClones( p1, p2 ) ) return TaggingHelper::MattTxTyQp; + if ( TaggingHelper::areConvertedGamma( p1, p2 ) ) return TaggingHelper::ConvertedGamma; + return TaggingHelper::DifferentParticles; +} + +bool TaggingHelperTool::hasOverlap( const LHCb::Particle& tagCand, const LHCb::Particle& bCand ) const { + return m_overlapTool->foundOverlap( &tagCand, &bCand ); +} + +const LHCb::VertexBase* TaggingHelperTool::bestPV( const LHCb::Particle& bCand, + const LHCb::RecVertices& allPVs ) const { + return m_relatedPVTool->relatedPV( &bCand, allPVs ); +} + +std::optional<const LHCb::VertexBase> TaggingHelperTool::refitPVWithoutB( const LHCb::VertexBase& bestPV, + const LHCb::Particle& bCand, + const IGeometryInfo& geometry ) const { + LHCb::VertexBase refittedPV( bestPV ); + LHCb::Particle tempB( bCand ); + always() << tempB.momentum().phi() << " " << refittedPV.nDoF() << endmsg; + const StatusCode sc = m_pvRefitterTool->remove( &tempB, &refittedPV, geometry ); + always() << tempB.momentum().phi() << " " << refittedPV.nDoF() << endmsg; + if ( sc.isFailure() ) { + always() << "vertex refit failed" << endmsg; + return std::nullopt; + } else { + always() << "vertex refit succeeded" << endmsg; + return refittedPV; + } +} + +std::optional<LHCb::Vertex> TaggingHelperTool::fitVertex( const LHCb::Particle& tagCand, const LHCb::Particle& bCand, + const IGeometryInfo& geometry ) const { + LHCb::Vertex vtx; + StatusCode sc = m_vertexFitTool->fit( vtx, tagCand, bCand, geometry ); + if ( sc.isFailure() ) + return std::nullopt; + else + return vtx; +} diff --git a/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelperTool.h b/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelperTool.h new file mode 100644 index 0000000000000000000000000000000000000000..a86b82ced37454c23ce4805c7f53983ab224bcdf --- /dev/null +++ b/Phys/FunctionalFlavourTagging/src/Utils/TaggingHelperTool.h @@ -0,0 +1,75 @@ +/*****************************************************************************\ +* (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration * +* * +* This software is distributed under the terms of the GNU General Public * +* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". * +* * +* In applying this licence, CERN does not waive the privileges and immunities * +* granted to it by virtue of its status as an Intergovernmental Organization * +* or submit itself to any jurisdiction. * +\*****************************************************************************/ +#ifndef PHYS_PHYS_FLAVOURTAGGING_TAGGINGHELPERSFUNCTIONAL_H +#define PHYS_PHYS_FLAVOURTAGGING_TAGGINGHELPERSFUNCTIONAL_H 1 + +// from Gaudi +#include "GaudiAlg/GaudiTool.h" + +#include "Kernel/ICheckOverlap.h" +#include "Kernel/IDistanceCalculator.h" +#include "Kernel/IPVReFitter.h" +#include "Kernel/IParticleDescendants.h" +#include "Kernel/IRelatedPVFinder.h" +#include "Kernel/IVertexFit.h" + +// from FlavourTagging +#include "ITaggingHelperTool.h" + +class TaggingHelperTool : public GaudiTool, virtual public ITaggingHelperTool { + +public: + /// Standard constructor + TaggingHelperTool( const std::string& type, const std::string& name, const IInterface* parent ) + : GaudiTool( type, name, parent ){}; + + virtual ~TaggingHelperTool() = default; + StatusCode initialize() override; + + std::optional<std::pair<double, double>> calcIP( const LHCb::Particle& part, const LHCb::VertexBase& vtx, + const IGeometryInfo& geometry ) const override; + std::optional<std::pair<double, double>> calcMinIP( const LHCb::Particle& part, + LHCb::RecVertex::ConstVector& vertices, + const IGeometryInfo& geometry ) const override; + + bool hasOverlap( const LHCb::Particle& taggingCand, const LHCb::Particle& bCand ) const override; + const LHCb::VertexBase* bestPV( const LHCb::Particle& bCand, const LHCb::RecVertices& allPVs ) const override; + std::optional<LHCb::Vertex> fitVertex( const LHCb::Particle& tagCand, const LHCb::Particle& bCand, + const IGeometryInfo& geometry ) const override; + std::optional<const LHCb::VertexBase> refitPVWithoutB( const LHCb::VertexBase& bestPV, const LHCb::Particle& bCand, + const IGeometryInfo& geometry ) const override; + TaggingHelper::CloneStatus cloneCategory( const LHCb::Particle& tagCand, const LHCb::Particle& bCand, + double maxSharedHitFraction ) const override; + bool passesCommonPreSelection( const LHCb::Particle& tagCand, const LHCb::Particle& bCand, + LHCb::RecVertex::ConstVector& pileups, const IGeometryInfo& geometry ) const override; + // bool passesCommonSelection(const LHCb::Particle& tagCand, const LHCb::Particle& bCand) const override; + // LHCb::RecVertex::ConstVector pileUpVertices( const LHCb::RecVertices& allPVs, const LHCb::VertexBase& bestPV) const + // override; + +private: + Gaudi::Property<double> m_minDistPhi{this, "MinDistPhi", 0.005, + "Tagging particle requirement: Minimum phi distance to B candidate."}; + Gaudi::Property<double> m_minIpSigTagPileUpVertices{ + this, "MinIpSigTagPileUpVertices", 3.0, + "Tagging particle requirement: Minimim IP significance wrt to all pileup vertices."}; + Gaudi::Property<double> m_maxSharedHitFraction{this, "MaxSharedHitFraction", 0.3, + "Maximum allowed fraction of hits shared between tracks."}; + + ToolHandle<IDistanceCalculator> m_distCalcTool{this, "DistanceCalculatorTool", "LoKi::DistanceCalculator"}; + ToolHandle<ICheckOverlap> m_overlapTool{this, "OverlapTool", "CheckOverlap"}; + ToolHandle<IRelatedPVFinder> m_relatedPVTool{ + this, "RelatedPVFinderTool", "GenericParticle2PVRelator__p2PVWithIPChi2_OnlineDistanceCalculatorName_"}; + ToolHandle<IPVReFitter> m_pvRefitterTool{this, "PVRefitterTool", "LoKi::PVReFitter"}; + ToolHandle<IVertexFit> m_vertexFitTool{this, "VertexFitterTool", "LoKi::VertexFitter"}; + ToolHandle<IParticleDescendants> m_descendantsTool{this, "ParticleDescentantsTool", "ParticleDescendants"}; +}; + +#endif // PHYS_PHYS_FLAVOURTAGGING_TAGGINGHELPERSFUNCTIONAL_H \ No newline at end of file