Created
January 15, 2018 06:07
-
-
Save hamelsmu/5d92dfac373ca00f7c7e62e25e01871a 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
# instantiate the pre-processor for titles | |
title_pp = processor(append_indicators=True, keep_n=4500, | |
padding_maxlen=12, padding ='post') | |
# process the titles | |
train_title_vecs = title_pp.fit_transform(train_title_raw) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment