Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/2shou/TextGrocery
/ functions
Functions
188 in github.com/2shou/TextGrocery
⨍
Functions
188
◇
Types & classes
44
↓ 1 callers
Method
set_to_default_values
(self)
tgrocery/learner/liblinear/python/liblinear.py:127
↓ 1 callers
Method
show_result
(self)
tgrocery/base.py:53
↓ 1 callers
Function
solve_l1r_l2_svc
tgrocery/learner/liblinear/linear.cpp:1398
↓ 1 callers
Function
solve_l1r_lr
tgrocery/learner/liblinear/linear.cpp:1685
↓ 1 callers
Function
solve_l2r_lr_dual
tgrocery/learner/liblinear/linear.cpp:1224
↓ 1 callers
Method
to_class_name
(self, idx)
tgrocery/converter.py:107
↓ 1 callers
Method
unigram
(self, tokens)
tgrocery/converter.py:64
Method
Solver_MCSVM_CS
tgrocery/learner/liblinear/linear.cpp:473
Method
TRON
tgrocery/learner/liblinear/tron.cpp:48
Method
XTv
tgrocery/learner/liblinear/linear.cpp:171
Method
Xv
tgrocery/learner/liblinear/linear.cpp:153
Method
__del__
(self)
tgrocery/__init__.py:59
Method
__del__
(self)
tgrocery/learner/learner.py:53
Method
__del__
(self)
tgrocery/learner/liblinear/python/liblinear.py:214
Method
__init__
(self, text_converter=None, model=None)
tgrocery/classifier.py:11
Method
__init__
(self, model)
tgrocery/classifier.py:64
Method
__init__
(self)
tgrocery/converter.py:26
Method
__init__
(self)
tgrocery/converter.py:60
Method
__init__
(self)
tgrocery/converter.py:95
Method
__init__
(self, custom_tokenize=None)
tgrocery/converter.py:130
Method
__init__
(self, true_y, predicted_y)
tgrocery/base.py:11
Method
__init__
(self, predicted_y=None, dec_values=None, labels=None)
tgrocery/base.py:68
Method
__init__
(self)
tgrocery/__init__.py:13
Method
__init__
(self, name, custom_tokenize=None)
tgrocery/__init__.py:18
Method
__init__
(self, src)
tgrocery/learner/learner.py:84
Method
__init__
(self, learner_opts = '', liblinear_opts = '')
tgrocery/learner/learner.py:215
Method
__init__
(self, y, x, bias = -1)
tgrocery/learner/liblinear/python/liblinear.py:70
Method
__init__
(self, options = None)
tgrocery/learner/liblinear/python/liblinear.py:112
Method
__init__
(self)
tgrocery/learner/liblinear/python/liblinear.py:211
Method
__str__
(self)
tgrocery/classifier.py:17
Method
__str__
(self)
tgrocery/base.py:63
Method
__str__
(self)
tgrocery/base.py:72
Method
__str__
(self)
tgrocery/learner/learner.py:369
Method
__str__
(self)
tgrocery/learner/liblinear/python/liblinear.py:35
Method
__str__
(self)
tgrocery/learner/liblinear/python/liblinear.py:117
Method
_get_label_idx
(nr_class, labels)
tgrocery/learner/learner.py:279
Method
be_shrunk
tgrocery/learner/liblinear/linear.cpp:526
Function
compare_double
tgrocery/learner/liblinear/linear.cpp:492
Function
compute_idf
tgrocery/learner/util.c:198
Function
default_print
tgrocery/learner/liblinear/tron.cpp:32
Method
get_class_idx
(self, class_name)
tgrocery/converter.py:136
Method
get_labels
(self)
tgrocery/classifier.py:20
Method
get_labels
Return the labels of this model.
tgrocery/learner/learner.py:327
Method
get_labels
(self)
tgrocery/learner/liblinear/python/liblinear.py:225
Method
get_weight
Return the weight of feature *j* and label *k*.
tgrocery/learner/learner.py:321
Method
info
tgrocery/learner/liblinear/tron.cpp:38
Method
l2r_l2_svc_fun
tgrocery/learner/liblinear/linear.cpp:216
Method
l2r_l2_svr_fun
tgrocery/learner/liblinear/linear.cpp:367
Method
l2r_lr_fun
tgrocery/learner/liblinear/linear.cpp:69
Method
load
(self, model_name)
tgrocery/classifier.py:23
Method
load
(self, src_file)
tgrocery/converter.py:52
Method
load
(self, src_file)
tgrocery/converter.py:87
Method
load
(self, src_dir)
tgrocery/converter.py:173
Function
load_model
load_model(model_file_name) -> model Load a LIBLINEAR model from model_file_name and return.
tgrocery/learner/liblinear/python/liblinearutil.py:31
Function
main
tgrocery/learner/test.cpp:4
Function
main
tgrocery/learner/liblinear/train.c:96
Function
main
tgrocery/learner/liblinear/predict.c:188
Method
norm_inf
tgrocery/learner/liblinear/tron.cpp:227
Function
normalize
tgrocery/learner/util.c:225
Function
predict
Return a quadruple: the predicted labels, the accuracy, the decision values, and the true labels in the test data file (obtained through the
tgrocery/learner/learner.py:450
Function
predict
predict(y, x, m [, options]) -> (p_labels, p_acc, p_vals) Predict data (y, x) with the SVM model m. options: -b probability_esti
tgrocery/learner/liblinear/python/liblinearutil.py:167
Function
print_null
tgrocery/learner/liblinear/train.c:11
Function
print_null
tgrocery/learner/liblinear/predict.c:8
Function
print_null
(s)
tgrocery/learner/liblinear/python/liblinear.py:20
Function
print_string_stdout
tgrocery/learner/liblinear/linear.cpp:25
Method
run
(self)
setup.py:15
Method
save
(self, model_name, force=False)
tgrocery/classifier.py:32
Method
save
(self, dest_file)
tgrocery/converter.py:47
Method
save
(self, dest_file)
tgrocery/converter.py:82
Method
save
(self, dest_dir)
tgrocery/converter.py:161
Method
save
Save the model to a directory. If *force* is set to ``True``, the existing directory will be overwritten; otherwise, :class:`
tgrocery/learner/learner.py:348
Function
save_model
save_model(model_file_name, model) -> None Save a LIBLINEAR model to the file model_file_name.
tgrocery/learner/liblinear/python/liblinearutil.py:44
Method
setUp
(self)
runtests.py:11
Method
set_bias
(self, bias)
tgrocery/learner/learner.py:96
Method
solve_sub_problem
tgrocery/learner/liblinear/linear.cpp:501
Method
subXTv
tgrocery/learner/liblinear/linear.cpp:336
Method
subXv
tgrocery/learner/liblinear/linear.cpp:319
Function
svm_read_problem
svm_read_problem(data_file_name) -> [y, x] Read LIBSVM-format data from data_file_name and return labels y and data instances x.
tgrocery/learner/liblinear/python/liblinearutil.py:9
Method
test
(self, text_src, delimiter)
tgrocery/classifier.py:67
Method
test_main
(self)
runtests.py:20
Function
train
train(y, x [, options]) -> model | ACC train(prob [, options]) -> model | ACC train(prob, param) -> model | ACC Train a model from d
tgrocery/learner/liblinear/python/liblinearutil.py:81
Method
trcg
tgrocery/learner/liblinear/tron.cpp:164
Function
unicode
(string, setting)
tgrocery/learner/learner.py:15
Method
~Solver_MCSVM_CS
tgrocery/learner/liblinear/linear.cpp:486
Method
~TRON
tgrocery/learner/liblinear/tron.cpp:56
Method
~function
tgrocery/learner/liblinear/tron.h:18
Method
~l2r_l2_svc_fun
tgrocery/learner/liblinear/linear.cpp:228
Method
~l2r_lr_fun
tgrocery/learner/liblinear/linear.cpp:80
← previous
101–188 of 188, ranked by callers