getPredictionsForModel: get predicted results for the model built for text only...

Description Usage Arguments Value

Description

get predicted results for the model built for text only dataset

Usage

1
getPredictionsForModel(dataset, model, keywords, stpwords, dbh)

Arguments

dataset

: the dataframe with a title field

model

: the model used for making predictions

keywords

: the domain keywords used for building features

stpwords

: the stopwords list used for building features

dbh

: the database handle

Value

the dataset with prediction as 0 or 1. The values are stored in a pred column


eellpp/textutils documentation built on May 16, 2019, 12:12 a.m.