get_predictions: Get predictions for the given subset of data

Description Usage Arguments Value

Description

Run given keras model to make predictions on the given subset of data

Usage

1
get_predictions(data, maxlen, model_load_path, trained_data, max_words)

Arguments

data

Given subset of data to make predictions on.

maxlen

Maximum length of a sequence.

model_load_path

File path location of the trained model file.

trained_data

Training dataset.

max_words

Maximum number of words to consider using word frequency measure.

Value

Given subset of data appended with pred_polarity column for predicted values.


adityamangal410/deepSentimentR documentation built on June 3, 2019, 6:15 p.m.