Skip to content

Commit 8ca70e3

Browse files
Add files via upload
1 parent ac74e7d commit 8ca70e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

train/NCI_Classification_train.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
Cell_Features = Feat_DF[Feat_DF.NSC.isin(FilteredDF.NSC)]
4040
TargetDF = FilteredDF[FilteredDF.NSC.isin(Cell_Features.NSC)]
4141

42-
Y = np.array(TargetDF.NORMLOG50)
42+
Y = np.array(TargetDF.NLOGGI50)
4343
# Features
4444
X = Cell_Features.values
4545
X = X[:,2:]
@@ -63,7 +63,7 @@
6363
Y_Validation = TargetDF[TargetDF.NSC.isin(Validation_Ind)]; Y_Validation = np.array(Y_Validation['NORMLOG50'])
6464
Y_Test = TargetDF[TargetDF.NSC.isin(Test_Ind)]; Y_Test = np.array(Y_Test['NORMLOG50'])
6565

66-
Threshold = 0.55
66+
Threshold = 4.25
6767
# Convert the drug responses into "Resistive" and "Sensitive" classes given the provided threshold
6868
Y_Train_Class = Reg_to_Class(Y_Train,Threshold);
6969
Y_Validation_Class = Reg_to_Class(Y_Validation,Threshold);

train/NCI_Regression_train.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
Cell_Features = Feat_DF[Feat_DF.NSC.isin(FilteredDF.NSC)]
3434
TargetDF = FilteredDF[FilteredDF.NSC.isin(Cell_Features.NSC)]
3535

36-
Y = np.array(TargetDF.NORMLOG50)
36+
Y = np.array(TargetDF.NLOGGI50)
3737
# Features
3838
X = Cell_Features.values
3939
X = X[:,2:]

0 commit comments

Comments
 (0)