Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TauVsDIS_MachineLearning_Differentiation Namespace Reference

Variables

string path "./data/JetSummary_p250_e20_1000events_r05.csv"
 
list names ['n_track','charge_tot','eta','vertex','class']
 
tuple dataset pandas.read_csv(path, names=names)
 
 array dataset.values
 
list X array[:,0:4]
 
list Y array[:,4]
 
float validation_size 0.60
 
int seed 7
 
tuple ding np.column_stack((X_train,Y_train))
 
tuple dong np.column_stack((X_validation,Y_validation))
 
string scoring 'accuracy'
 
list models []
 
list results []
 
tuple kfold model_selection.KFold(n_splits=10, random_state=seed)
 
tuple cv_results model_selection.cross_val_score(model, X_train, Y_train, cv=kfold, scoring=scoring)
 
string msg "%s: %f (%f)"
 
tuple ada AdaBoostClassifier()
 
tuple predictions ada.predict(X_validation)
 

Variable Documentation

tuple TauVsDIS_MachineLearning_Differentiation.ada AdaBoostClassifier()

Definition at line 135 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 135 of file TauVsDIS_MachineLearning_Differentiation.py

TauVsDIS_MachineLearning_Differentiation.array dataset.values

Definition at line 68 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 68 of file TauVsDIS_MachineLearning_Differentiation.py

Referenced by testing.ArrayAsVector(), testing::internal::StlContainerView< Element[N]>.ConstReference(), testing::internal::StlContainerView< Element[N]>.Copy(), Acts::Cuda::SeedFinder< external_spacepoint_t >.createSeedsForGroup(), testing.ElementsAreArray(), Acts::MultiIndex< uint64_t, 12, 12, 16, 8, 16 >.Encode(), Acts::detail::grid_helper.exteriorBinIndices(), Acts::detail::grid_helper.getAxes(), Acts::detail::grid_helper.getBinCenter(), TSQLCallableStatement.GetBytes(), ODBCCallableStatement.GetBytes(), ODBCResultSet.GetBytes(), TSQLResultSet.GetBytes(), Acts::detail::grid_helper.getLocalBinIndices(), Acts::detail::grid_helper.getLowerLeftBinEdge(), Acts::detail::grid_helper.getMax(), Acts::detail::grid_helper.getMin(), Acts::detail::grid_helper.getNBins(), Acts::detail::grid_helper.getUpperRightBinEdge(), Acts::detail::grid_helper.getWidth(), handler(), testing::internal::NativeArray< Element >.InitRef(), Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >.intersect(), Acts.makeMeasurement(), Acts::detail.mergeComponents(), Acts::detail::grid_helper.neighborHoodIndices(), Acts::detail.operator<<(), Acts.to_json(), Acts::GeometryHierarchyMapJsonConverter< value_t, decorator_t >.toJson(), testing.UnorderedElementsAreArray(), Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >.wrap(), and MicromegasCalibrationData.write().

tuple TauVsDIS_MachineLearning_Differentiation.cv_results model_selection.cross_val_score(model, X_train, Y_train, cv=kfold, scoring=scoring)

Definition at line 121 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 121 of file TauVsDIS_MachineLearning_Differentiation.py

tuple TauVsDIS_MachineLearning_Differentiation.ding np.column_stack((X_train,Y_train))

Definition at line 77 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 77 of file TauVsDIS_MachineLearning_Differentiation.py

tuple TauVsDIS_MachineLearning_Differentiation.dong np.column_stack((X_validation,Y_validation))

Definition at line 80 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 80 of file TauVsDIS_MachineLearning_Differentiation.py

tuple TauVsDIS_MachineLearning_Differentiation.kfold model_selection.KFold(n_splits=10, random_state=seed)

Definition at line 120 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 120 of file TauVsDIS_MachineLearning_Differentiation.py

list TauVsDIS_MachineLearning_Differentiation.models []

Definition at line 92 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 92 of file TauVsDIS_MachineLearning_Differentiation.py

string TauVsDIS_MachineLearning_Differentiation.path "./data/JetSummary_p250_e20_1000events_r05.csv"

Definition at line 34 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 34 of file TauVsDIS_MachineLearning_Differentiation.py

tuple TauVsDIS_MachineLearning_Differentiation.predictions ada.predict(X_validation)

Definition at line 137 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 137 of file TauVsDIS_MachineLearning_Differentiation.py

list TauVsDIS_MachineLearning_Differentiation.results []
string TauVsDIS_MachineLearning_Differentiation.scoring 'accuracy'

Definition at line 89 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 89 of file TauVsDIS_MachineLearning_Differentiation.py

int TauVsDIS_MachineLearning_Differentiation.seed 7

Definition at line 74 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 74 of file TauVsDIS_MachineLearning_Differentiation.py

float TauVsDIS_MachineLearning_Differentiation.validation_size 0.60

Definition at line 73 of file TauVsDIS_MachineLearning_Differentiation.py.

View newest version in sPHENIX GitHub at line 73 of file TauVsDIS_MachineLearning_Differentiation.py