Created
August 1, 2020 14:27
-
-
Save arunm8489/5c50271354f84d956def19ac81c49cdd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#loading embedding | |
embedding_matrix = np.load('embedding_matrix_2.npy') | |
x_train_ = [essay_train_pad,lb_train_school_state.reshape(-1,1),lb_train_teacher_prefix.reshape(-1,1),lb_train_category.reshape(-1,1),lb_train_sub_category.reshape(-1,1),lb_train_grade_category.reshape(-1,1),std_train_numeric] | |
x_test_ = [essay_test_pad,lb_test_school_state.reshape(-1,1),lb_test_teacher_prefix.reshape(-1,1),lb_test_category.reshape(-1,1),lb_test_sub_category.reshape(-1,1),lb_test_grade_category.reshape(-1,1),std_test_numeric] | |
final_train = np.concatenate(x_train_,axis=1) | |
final_test = np.concatenate(x_test_,axis=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment