MCPcopy Create free account

hub / github.com/aksnzhy/xlearn / functions

Functions3,349 in github.com/aksnzhy/xlearn

↓ 6 callersMethodGetLoss
Return the calculated loss value
src/loss/loss.h:117
↓ 6 callersMethodGetMiniBatch
Get a mini-batch of data from curremt data matrix. This method will be used for distributed computation. Return the count of sample for each function
src/data/data_structure.h:317
↓ 6 callersMethodGetNextPrime
gtest/samples/sample8_unittest.cc:69
↓ 6 callersFunctionGetThreadCount
Returns the number of threads running in the process, or 0 to indicate that we cannot detect it.
gtest/src/gtest-port.cc:89
↓ 6 callersMethodInitialize
Invoke this function before we use this class.
src/score/score_function.h:54
↓ 6 callersFunctionInvSqrt
------------------------------------------------------------------------------ 1 / sqrt() Magic function !! ------------------------------------------
src/base/math.h:169
↓ 6 callersFunctionIsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
gtest/fused-src/gtest/gtest-all.cc:8413
↓ 6 callersFunctionIsPathSeparator
Returns whether the given character is a valid path separator.
gtest/src/gtest-filepath.cc:92
↓ 6 callersFunctionIsPathSeparator
Returns whether the given character is a valid path separator.
gtest/fused-src/gtest/gtest-all.cc:7926
↓ 6 callersFunctionParseStringFlag
Parses a string for a string flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
gtest/src/gtest.cc:4749
↓ 6 callersFunctionParseStringFlag
Parses a string for a string flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
gtest/fused-src/gtest/gtest-all.cc:6233
↓ 6 callersFunctionPrintValue
gtest/test/gtest-param-test_test.cc:82
↓ 6 callersFunctionReadVectorFromFile
src/base/file_util.h:283
↓ 6 callersMethodReset
gtest/src/gtest-internal-inl.h:981
↓ 6 callersMethodReset
gtest/fused-src/gtest/gtest-all.cc:1382
↓ 6 callersMethodSamples
Smaple data from memory buffer.
src/reader/reader.cc:255
↓ 6 callersFunctionSetEnvVar
Sets the env variable to 'value'; unsets it when 'value' is None.
gtest/test/gtest_filter_unittest.py:169
↓ 6 callersFunctionSkipPrefix
If *pstr starts with the given prefix, modifies *pstr to be right past the prefix and returns true; otherwise leaves *pstr unchanged and returns false
gtest/fused-src/gtest/gtest-all.cc:6147
↓ 6 callersMethodStartWork
Start training or inference
src/solver/solver.cc:518
↓ 6 callersMethodTestHelpFlag
Verifies correct behavior when help flag is specified. The right message must be printed and the tests must skipped when the given flag is sp
gtest/test/gtest_help_test.py:101
↓ 6 callersMethodVerifyRegisteredTestNames
Verifies that registered_tests match the test names in defined_test_names_; returns registered_tests if successful, or aborts the program otherwise.
gtest/src/gtest-typed-test.cc:51
↓ 6 callersMethodWaitForNotification
Blocks until the controller thread notifies. Must be called from a test thread.
gtest/fused-src/gtest/gtest.h:2328
↓ 6 callersFunctionWriteVectorToFile
src/base/file_util.h:270
↓ 6 callersFunctionXLearnSetInt
Set int param
src/c_api/c_api.cc:381
↓ 6 callersMethodfailed_test_count
Gets the number of failed tests.
gtest/fused-src/gtest/gtest-all.cc:2218
↓ 6 callersMethodindex
gtest/fused-src/gtest/gtest.h:8407
↓ 6 callersMethodset
gtest/fused-src/gtest/gtest.h:2599
↓ 6 callersMethodwhat
gtest/test/gtest-death-test_ex_test.cc:63
↓ 5 callersMethodAbortCalls
gtest/test/gtest-death-test_test.cc:831
↓ 5 callersMethodAssumeRoleCalls
Accessors.
gtest/test/gtest-death-test_test.cc:827
↓ 5 callersFunctionCreateScore
src/score/score_function_test.cc:27
↓ 5 callersFunctionDieWithMessage
gtest/test/gtest-death-test_test.cc:109
↓ 5 callersFunctionEof
Returns the special cursor to denote the end-of-file.
gtest/scripts/pump.py:132
↓ 5 callersFunctionEqFailure
Constructs and returns the message for an equality assertion (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure. The first four parameters are the expressio
gtest/fused-src/gtest/gtest-all.cc:2484
↓ 5 callersMethodEvalute
------------------------------------------------------------------------------ Calculate loss in multi-thread: master_thread / | \ //
src/loss/squared_loss.cc:53
↓ 5 callersFunctionFormatCompilerIndependentFileLocation
Formats a file location for compiler-independent XML output. Although this function is not platform dependent, we put it next to FormatFileLocation in
gtest/src/gtest-port.cc:474
↓ 5 callersFunctionFormatDeathTestOutput
Returns an indented copy of stderr output for a death test. This makes distinguishing death test output lines from regular log lines much easier.
gtest/src/gtest-death-test.cc:493
↓ 5 callersFunctionFormatDeathTestOutput
Returns an indented copy of stderr output for a death test. This makes distinguishing death test output lines from regular log lines much easier.
gtest/fused-src/gtest/gtest-all.cc:6987
↓ 5 callersFunctionGetCapturedStdout
Stops capturing stdout and returns the captured string.
gtest/src/gtest-port.cc:664
↓ 5 callersFunctionGetFileSize
Return the size (byte) of a target file.
src/base/file_util.h:156
↓ 5 callersFunctionGetLastErrnoDescription
Returns the message describing the last system error in errno.
gtest/fused-src/gtest/gtest-all.cc:6798
↓ 5 callersFunctionGetNextRandomSeed
Returns the first valid random seed after 'seed'. The behavior is undefined if 'seed' is invalid. The seed after kMaxRandomSeed is considered to be
gtest/src/gtest-internal-inl.h:151
↓ 5 callersMethodGetNumParameter
Get the total size of model parameters. 2 = bias + bias_gradient
src/data/model_parameters.h:162
↓ 5 callersFunctionHasFailure
Returns true iff the current test has a (either fatal or non-fatal) failure.
gtest/include/gtest/gtest.h:383
↓ 5 callersFunctionInt32FromEnvOrDie
Parses the environment variable var as an Int32. If it is unset, returns default_val. If it is not an Int32, prints an error and aborts.
gtest/fused-src/gtest/gtest-all.cc:5910
↓ 5 callersMethodIsDirectory
Returns true if FilePath ends with a path separator, which indicates that it is intended to represent a directory. Returns false otherwise. This does
gtest/src/gtest-filepath.cc:295
↓ 5 callersFunctionIsSpace
gtest/fused-src/gtest/gtest.h:2778
↓ 5 callersFunctionParseToken
(lines, pos, regex, token_type)
gtest/scripts/pump.py:243
↓ 5 callersMethodPassedCalls
gtest/test/gtest-death-test_test.cc:829
↓ 5 callersMethodRemoveExtension
Returns a copy of the FilePath with the case-insensitive extension removed. Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns FilePath(
gtest/src/gtest-filepath.cc:119
↓ 5 callersFunctionResetCounts
Resets the count for each test.
gtest/test/gtest_repeat_test.cc:141
↓ 5 callersMethodRunAndVerify
Runs gtest_list_tests_unittest_ and verifies that it prints the correct tests. Args: flag_value: value of the --gtest_list_test
gtest/test/gtest_list_tests_unittest.py:129
↓ 5 callersFunctionRunCode
(env, code_node, output)
gtest/scripts/pump.py:702
↓ 5 callersMethodSerialize
Serialize current model to a disk file
src/data/model_parameters.cc:213
↓ 5 callersMethodSetBlockSize
Set the size of the block buffer.
src/reader/reader.h:107
↓ 5 callersMethodSetHash
The hash value is used to identify the difference between two data matrix, and it can be generated by HashFile() method (in file_util.h) and this valu
src/data/data_structure.h:222
↓ 5 callersMethodSetParameters
Sets the parameters for subsequent calls to Create.
gtest/test/gtest-death-test_test.cc:916
↓ 5 callersFunctionStat
gtest/fused-src/gtest/gtest.h:2837
↓ 5 callersFunctionStringFromGTestEnv
Reads and returns the string environment variable corresponding to the given flag; if it's not set, returns default_value.
gtest/src/gtest-port.cc:798
↓ 5 callersFunctionStringFromGTestEnv
Reads and returns the string environment variable corresponding to the given flag; if it's not set, returns default_value.
gtest/fused-src/gtest/gtest-all.cc:9008
↓ 5 callersMethodTestDeleted
gtest/test/gtest-death-test_test.cc:835
↓ 5 callersMethodWaitCalls
gtest/test/gtest-death-test_test.cc:828
↓ 5 callersFunctionXLearnSetStr
Set string param
src/c_api/c_api.cc:339
↓ 5 callersMethodget
gtest/include/gtest/internal/gtest-linked_ptr.h:172
↓ 5 callersFunctionlisteners
Provides access to the event listener list.
gtest/src/gtest-internal-inl.h:599
↓ 5 callersFunctionlisteners
Provides access to the event listener list.
gtest/fused-src/gtest/gtest-all.cc:1000
↓ 5 callersMethodoriginal_working_dir
Returns the working directory when the first TEST() or TEST_F() was executed.
gtest/fused-src/gtest/gtest-all.cc:5418
↓ 5 callersMethodrepeater
Returns repeater that broadcasts the TestEventListener events to all subscribers.
gtest/src/gtest.cc:3588
↓ 5 callersMethodsuccessful_test_count
Gets the number of successful tests.
gtest/src/gtest.cc:729
↓ 5 callersFunctionwrite_data_to_xlearn_format
Write data to xlearn format (libsvm or libffm). Modified from https://github.com/scikit-learn/scikit-learn/blob/a24c8b46/sklearn/datasets/svmligh
python-package/xlearn/_sklearn.py:27
↓ 4 callersMethodAppend
(self, s)
gtest/scripts/pump.py:652
↓ 4 callersFunctionArity
Returns the English name of the given arity.
gtest/scripts/gen_gtest_pred_impl.py:164
↓ 4 callersFunctionArrayAwareFind
gtest/fused-src/gtest/gtest.h:7872
↓ 4 callersMethodAssertSetEqual
Asserts that two sets are equal.
gtest/test/gtest_filter_unittest.py:230
↓ 4 callersFunctionChangeToRootDir
gtest/test/gtest-death-test_test.cc:364
↓ 4 callersFunctionCheckFFM
src/reader/reader_test.cc:165
↓ 4 callersFunctionCheckLR
src/reader/reader_test.cc:138
↓ 4 callersFunctionCmpHelperEQ
gtest/fused-src/gtest/gtest.h:18851
↓ 4 callersFunctionCmpHelperEQ
gtest/include/gtest/gtest.h:1438
↓ 4 callersFunctionCreateLoss
src/loss/loss_test.cc:202
↓ 4 callersFunctionCreateReader
src/reader/reader_test.cc:370
↓ 4 callersMethodDeserialize
Deserialize model from a checkpoint file
src/data/model_parameters.cc:299
↓ 4 callersFunctionDieIfLessThan
A binary function that may die.
gtest/test/gtest-death-test_test.cc:185
↓ 4 callersMethodEvalExp
(self, exp)
gtest/scripts/pump.py:622
↓ 4 callersFunctionFail
Prints the given failure message and exits the program with non-zero. We use this instead of a Google Test assertion to indicate a failure, as the la
gtest/test/gtest_throw_on_failure_ex_test.cc:45
↓ 4 callersFunctionFailFatally
gtest/test/gtest_unittest.cc:6613
↓ 4 callersMethodFailed
Returns true iff the test failed.
gtest/fused-src/gtest/gtest-all.cc:3331
↓ 4 callersMethodFind
Find str in string list. Return true if we can find str in target string list.
src/base/levenshtein_distance.cc:29
↓ 4 callersFunctionFormatCountableNoun
Formats a countable noun. Depending on its quantity, either the singular form or the plural form is used. e.g. FormatCountableNoun(1, "formula", "fo
gtest/src/gtest.cc:2479
↓ 4 callersFunctionFormatCountableNoun
Formats a countable noun. Depending on its quantity, either the singular form or the plural form is used. e.g. FormatCountableNoun(1, "formula", "fo
gtest/fused-src/gtest/gtest-all.cc:3963
↓ 4 callersFunctionFormatForComparisonFailureMessage
gtest/fused-src/gtest/gtest.h:18844
↓ 4 callersFunctionFormatTestCount
Formats the count of tests.
gtest/src/gtest.cc:2487
↓ 4 callersFunctionFormatTestCount
Formats the count of tests.
gtest/fused-src/gtest/gtest-all.cc:3971
↓ 4 callersFunctionGetCommandOutput
Runs a command and returns its output with all file location info stripped off. Args: env_cmd: The shell command. A 2-tuple where element 0
gtest/test/gtest_output_test.py:221
↓ 4 callersFunctionGetElementOr
gtest/fused-src/gtest/gtest-all.cc:703
↓ 4 callersMethodGetTestInfo
Returns the i-th test among all the tests. i can range from 0 to total_test_count() - 1. If i is not in that range, returns NULL.
gtest/src/gtest.cc:2409
↓ 4 callersFunctionInDeathTestChild
Returns a Boolean value indicating whether the caller is currently executing in the context of the death test child process. Tools such as Valgrind h
gtest/src/gtest-death-test.cc:130
↓ 4 callersFunctionMessage
Copy constructor.
gtest/include/gtest/gtest-message.h:96
↓ 4 callersFunctionOneTo
Returns the list [1, 2, 3, ..., n].
gtest/scripts/gen_gtest_pred_impl.py:183
↓ 4 callersFunctionRead
gtest/fused-src/gtest/gtest.h:2890
← previousnext →301–400 of 3,349, ranked by callers