MCPcopy Create free account

hub / github.com/2shou/TextGrocery / functions

Functions188 in github.com/2shou/TextGrocery

↓ 44 callersFunctioninfo
tgrocery/learner/liblinear/linear.cpp:34
↓ 18 callersFunctionswap
tgrocery/learner/liblinear/linear.cpp:10
↓ 16 callersFunctionfillprototype
(f, restype, argtypes)
tgrocery/learner/liblinear/python/liblinear.py:26
↓ 15 callersFunctionmax
tgrocery/learner/liblinear/linear.cpp:15
↓ 9 callersMethodget_load_status
(self)
tgrocery/__init__.py:28
↓ 9 callersFunctionmin
tgrocery/learner/liblinear/linear.cpp:12
↓ 8 callersFunctionddot_
tgrocery/learner/liblinear/blas/ddot.c:3
↓ 8 callersMethodtrain
(self, train_src, delimiter='\t')
tgrocery/__init__.py:31
↓ 7 callersFunctiondaxpy_
tgrocery/learner/liblinear/blas/daxpy.c:3
↓ 7 callersFunctionmax
tgrocery/learner/liblinear/tron.cpp:16
↓ 6 callersFunctiondnrm2_
tgrocery/learner/liblinear/blas/dnrm2.c:4
↓ 5 callersFunctionexit_with_help
tgrocery/learner/liblinear/train.c:13
↓ 5 callersMethodload
(self, src_file)
tgrocery/converter.py:122
↓ 5 callersFunctionmin
tgrocery/learner/liblinear/tron.cpp:12
↓ 5 callersMethodpredict
(self, single_text)
tgrocery/__init__.py:40
↓ 5 callersFunctionprint_debug
(src)
tgrocery/learner/learner.py:33
↓ 4 callersFunction_dict2list
(d)
tgrocery/converter.py:11
↓ 4 callersFunctionexit_input_error
tgrocery/learner/liblinear/train.c:57
↓ 4 callersFunctionexit_input_error
tgrocery/learner/liblinear/predict.c:18
↓ 4 callersFunctionfillprototype
(f, restype, argtypes)
tgrocery/learner/learner.py:38
↓ 4 callersFunctiongenFields
(names, types)
tgrocery/learner/liblinear/python/liblinear.py:23
↓ 3 callersFunction_list2dict
(l)
tgrocery/converter.py:21
↓ 3 callersFunctionexit_with_help
tgrocery/learner/liblinear/predict.c:177
↓ 3 callersFunctionfree_and_destroy_model
tgrocery/learner/liblinear/linear.cpp:2753
↓ 3 callersFunctiongen_feature_nodearray
(xi, feature_max=None, issparse=True)
tgrocery/learner/liblinear/python/liblinear.py:38
↓ 3 callersMethodget_class_name
(self, class_idx)
tgrocery/converter.py:139
↓ 3 callersFunctioninfo
(s)
tgrocery/learner/liblinear/python/liblinearutil.py:190
↓ 3 callersMethodsave
(self, dest_file)
tgrocery/converter.py:117
↓ 3 callersMethodset_print_string
tgrocery/learner/liblinear/tron.cpp:236
↓ 3 callersFunctiontrain_one
tgrocery/learner/liblinear/linear.cpp:2164
↓ 3 callersMethodtron
tgrocery/learner/liblinear/tron.cpp:60
↓ 2 callersFunctioncheck_probability_model
tgrocery/learner/liblinear/linear.cpp:2798
↓ 2 callersFunctionevaluations
evaluations(ty, pv) -> (ACC, MSE, SCC) Calculate accuracy, mean squared error and squared correlation coefficient using the true values
tgrocery/learner/liblinear/python/liblinearutil.py:52
↓ 2 callersMethodfun
tgrocery/learner/liblinear/linear.cpp:87
↓ 2 callersMethodget_nr_class
(self)
tgrocery/learner/liblinear/python/liblinear.py:222
↓ 2 callersMethodget_nr_variable
tgrocery/learner/liblinear/linear.cpp:131
↓ 2 callersMethodgrad
tgrocery/learner/liblinear/linear.cpp:112
↓ 2 callersMethodload
(self)
tgrocery/__init__.py:55
↓ 2 callersMethodnormalize
(self, learner_param, idf)
tgrocery/learner/learner.py:112
↓ 2 callersFunctionpredict
tgrocery/learner/liblinear/linear.cpp:2512
↓ 2 callersMethodpredict_text
(self, text)
tgrocery/classifier.py:47
↓ 2 callersFunctionpredict_values
tgrocery/learner/liblinear/linear.cpp:2463
↓ 2 callersFunctionread_text_src
(text_src, delimiter)
tgrocery/base.py:1
↓ 2 callersFunctionreadline
tgrocery/learner/util.c:14
↓ 2 callersFunctionreadline
tgrocery/learner/liblinear/train.c:66
↓ 2 callersMethodsave
(self)
tgrocery/__init__.py:50
↓ 2 callersMethodset_bias
(self, bias)
tgrocery/learner/liblinear/python/liblinear.py:92
↓ 2 callersFunctionsolve_l2r_l1l2_svc
tgrocery/learner/liblinear/linear.cpp:778
↓ 2 callersFunctionsolve_l2r_l1l2_svr
tgrocery/learner/liblinear/linear.cpp:997
↓ 2 callersMethodtest
(self, text_src, delimiter='\t')
tgrocery/__init__.py:45
↓ 2 callersFunctiontoPyModel
toPyModel(model_ptr) -> model Convert a ctypes POINTER(model) to a Python model
tgrocery/learner/liblinear/python/liblinear.py:234
↓ 2 callersMethodto_idx
(self, class_name)
tgrocery/converter.py:99
↓ 2 callersMethodto_svm
(self, text, class_name=None)
tgrocery/converter.py:142
↓ 2 callersFunctiontrain
Return a :class:`LearnerModel`. *data_file_name* is the file path of the LIBSVM-format data. *learner_opts* is a :class:`str`. Refer to
tgrocery/learner/learner.py:376
↓ 2 callersFunctiontrain
Interface functions
tgrocery/learner/liblinear/linear.cpp:2276
↓ 2 callersFunctiontranspose
transpose matrix X from row format to column format
tgrocery/learner/liblinear/linear.cpp:2050
↓ 1 callersMethodHv
tgrocery/learner/liblinear/linear.cpp:136
↓ 1 callersMethodSolve
tgrocery/learner/liblinear/linear.cpp:536
↓ 1 callersMethod__init__
constructor of :class:`LearnerModel`.
tgrocery/learner/learner.py:286
↓ 1 callersMethod_compute_accuracy_overall
(self)
tgrocery/base.py:17
↓ 1 callersMethod_compute_accuracy_recall_labels
(self)
tgrocery/base.py:21
↓ 1 callersMethod_default_tokenize
(text)
tgrocery/converter.py:32
↓ 1 callersMethod_reconstruct_label_idx
(self)
tgrocery/learner/learner.py:278
↓ 1 callersMethodbigram
(self, tokens)
tgrocery/converter.py:73
↓ 1 callersFunctioncheck_parameter
tgrocery/learner/liblinear/linear.cpp:2771
↓ 1 callersFunctionclone
tgrocery/learner/liblinear/linear.cpp:17
↓ 1 callersMethodcompute_idf
(self)
tgrocery/learner/learner.py:162
↓ 1 callersMethodconvert_text
(self, text_src, delimiter, output=None)
tgrocery/converter.py:148
↓ 1 callersFunctioncross_validation
tgrocery/learner/liblinear/linear.cpp:2410
↓ 1 callersFunctiondestroy_param
tgrocery/learner/liblinear/linear.cpp:2763
↓ 1 callersFunctiondo_cross_validation
tgrocery/learner/liblinear/train.c:135
↓ 1 callersFunctiondo_predict
tgrocery/learner/liblinear/predict.c:45
↓ 1 callersMethoddraw_table
(data, row_labels, column_labels)
tgrocery/base.py:46
↓ 1 callersFunctiondscal_
tgrocery/learner/liblinear/blas/dscal.c:3
↓ 1 callersFunctionfreeSVMProblem
tgrocery/learner/util.c:38
↓ 1 callersFunctionfree_model_content
tgrocery/learner/liblinear/linear.cpp:2745
↓ 1 callersFunctiongenFields
(names, types)
tgrocery/learner/learner.py:43
↓ 1 callersFunctionget_labels
tgrocery/learner/liblinear/linear.cpp:2738
↓ 1 callersFunctionget_nr_class
tgrocery/learner/liblinear/linear.cpp:2733
↓ 1 callersFunctionget_nr_feature
tgrocery/learner/liblinear/linear.cpp:2728
↓ 1 callersMethodget_nr_feature
(self)
tgrocery/learner/liblinear/python/liblinear.py:219
↓ 1 callersFunctiongroup_classes
label: label name, start: begin of each class, count: #data of classes, perm: indices to the original data perm, length l, must be allocated before ca
tgrocery/learner/liblinear/linear.cpp:2107
↓ 1 callersMethodis_probability_model
(self)
tgrocery/learner/liblinear/python/liblinear.py:231
↓ 1 callersMethodload
Load the contents from a :class:`TextModel` directory.
tgrocery/learner/learner.py:333
↓ 1 callersFunctionload_model
tgrocery/learner/liblinear/linear.cpp:2617
↓ 1 callersFunctionmerge_problems
tgrocery/learner/util.c:296
↓ 1 callersMethodnormalize_one
The maximum index of xi should be less or equal to the weight vector size.
tgrocery/learner/learner.py:126
↓ 1 callersFunctionparse_command_line
tgrocery/learner/liblinear/train.c:176
↓ 1 callersMethodparse_options
Set the options to the specific values.
tgrocery/learner/learner.py:229
↓ 1 callersMethodparse_options
(self, options)
tgrocery/learner/liblinear/python/liblinear.py:140
↓ 1 callersFunctionpredict_one
Return the label and a :class:`c_double` array of decision values of the test instance *xi* using :class:`LearnerModel` *m*. *xi* can be
tgrocery/learner/learner.py:401
↓ 1 callersFunctionpredict_probability
tgrocery/learner/liblinear/linear.cpp:2520
↓ 1 callersMethodpreprocess
(self, text, custom_tokenize)
tgrocery/converter.py:35
↓ 1 callersFunctionread_SVMProblem
(src)
tgrocery/learner/learner.py:58
↓ 1 callersFunctionread_problem
read in a problem (in libsvm format)
tgrocery/learner/util.c:47
↓ 1 callersFunctionread_problem
read in a problem (in libsvm format)
tgrocery/learner/liblinear/train.c:303
↓ 1 callersFunctionreadline
tgrocery/learner/liblinear/predict.c:27
↓ 1 callersFunctionsave_model
tgrocery/learner/liblinear/linear.cpp:2562
↓ 1 callersFunctionset_print_string_function
tgrocery/learner/liblinear/linear.cpp:2805
↓ 1 callersMethodset_to_default_values
Set the options to some values (``'-D 1 -T 0 -I 0 -N 1'``).
tgrocery/learner/learner.py:218
next →1–100 of 188, ranked by callers