Analysis Software
Documentation for sPHENIX simulation software
|
Go to the source code of this file.
Namespaces | |
namespace | SVM_v1 |
Variables | |
tuple | SVM_v1.csv_e np.genfromtxt('testdata/set001/CalorimeterResponseHijingCentralRapidity_e_8GeV.csv') |
tuple | SVM_v1.csv_pi np.genfromtxt('testdata/set001/CalorimeterResponseHijingCentralRapidity_pi_8GeV.csv') |
list | SVM_v1.data_e_sub csv_e[:,2:5] |
list | SVM_v1.data_pi_sub csv_pi[:,2:5] |
list | SVM_v1.data_e_train data_e_sub[0:500,:] |
list | SVM_v1.data_e_test data_e_sub[500:1000,:] |
list | SVM_v1.data_pi_train data_pi_sub[0:500,:] |
list | SVM_v1.data_pi_test data_pi_sub[500:1000,:] |
tuple | SVM_v1.data_train np.vstack((data_e_train,data_pi_train)) |
tuple | SVM_v1.data_test np.vstack((data_pi_test,data_e_test)) |
int | SVM_v1.id_pi 0 |
int | SVM_v1.id_e 1 |
tuple | SVM_v1.pid_train np.vstack(( np.ones((500,1)) , np.zeros((500,1)) )) |
tuple | SVM_v1.pid_test np.vstack(( np.zeros((500,1)) , np.ones((500,1)) )) |
list | SVM_v1.X data_train[:,1:3] |
tuple | SVM_v1.y np.ravel(pid_train) |
int | SVM_v1.h 001 |
float | SVM_v1.C 1.0 |
tuple | SVM_v1.svc svm.SVC(kernel='linear', C=C) |
tuple | SVM_v1.rbf_svc svm.SVC(kernel='rbf', gamma=0.7, C=C) |
tuple | SVM_v1.poly_svc svm.SVC(kernel='poly', degree=3, C=C) |
tuple | SVM_v1.lin_svc svm.LinearSVC(C=C) |
list | SVM_v1.titles |
tuple | SVM_v1.Z clf.predict(np.c_[xx.ravel(), yy.ravel()]) |
tuple | SVM_v1.pid_predict clf.predict( data_test[:,1:3] ) |
int | SVM_v1.count_all 0 |
int | SVM_v1.count_electron_as_electron 0 |
int | SVM_v1.count_pion_as_pion 0 |
int | SVM_v1.count_electron_as_pion 0 |
int | SVM_v1.count_pion_as_electron 0 |
int | SVM_v1.count_true_electron 0 |
int | SVM_v1.count_true_pion 0 |