MCPcopy Create free account
hub / github.com/brightmart/text_classification / p7_TextCNN_predict.py

File p7_TextCNN_predict.py

a02_TextCNN/p7_TextCNN_predict.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# -*- coding: utf-8 -*-
2#prediction using model.
3#process--->1.load data(X:list of lint,y:int). 2.create session. 3.feed data. 4.predict
4# currently this file is not well test, so you can just ignore this file util it is tested or write a function, input is

Callers

nothing calls this directly

Calls 6

load_dataFunction · 0.90
TextCNNClass · 0.90
create_voabulary_labelFunction · 0.50
load_final_test_dataFunction · 0.50
load_data_predictFunction · 0.50

Tested by

no test coverage detected