MCPcopy Create free account

hub / github.com/aksnzhy/xlearn / functions

Functions3,349 in github.com/aksnzhy/xlearn

↓ 14 callersMethodDirectoryExists
Returns true if pathname describes a directory in the file-system that exists.
gtest/src/gtest-filepath.cc:218
↓ 14 callersFunctionFormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
gtest/src/gtest.cc:3213
↓ 14 callersFunctionMatchRepetitionAndRegexAtHead
Matches a repeated regex atom followed by a valid simple regular expression. The regex atom is defined as c if escaped is false, or \c otherwise. re
gtest/src/gtest-port.cc:320
↓ 14 callersFunctionMessage
Copy constructor.
gtest/fused-src/gtest/gtest.h:3168
↓ 14 callersMethodsetLabel
Wether this dataset contains label y ?
src/reader/parser.h:62
↓ 14 callersMethodtotal_part_count
Gets the number of all test parts. This is the sum of the number of successful test parts and the number of failed test parts.
gtest/src/gtest.cc:1877
↓ 13 callersFunctionCheck
Prints the message and aborts the program if condition is false.
gtest/test/gtest_environment_test.cc:116
↓ 13 callersFunctionFullMatch
FullMatch(str, re) returns true iff regular expression re matches the entire str. PartialMatch(str, re) returns true iff regular expression re matches
gtest/fused-src/gtest/gtest.h:2061
↓ 13 callersMethodGet
gtest/src/gtest-internal-inl.h:980
↓ 13 callersFunctionIsAsciiWhiteSpace
gtest/src/gtest-port.cc:215
↓ 13 callersFunctionIsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
gtest/src/gtest-port.cc:203
↓ 13 callersMethodIsRootDirectory
Returns true if pathname describes a root directory. (Windows has one root directory per disk drive.)
gtest/src/gtest-filepath.cc:248
↓ 13 callersFunctiongetEnd
src/base/thread_pool.h:167
↓ 13 callersFunctiongetStart
Get start and end index used in multi-thread training
src/base/thread_pool.h:161
↓ 13 callersFunctionprint_action
src/base/format_print.h:178
↓ 13 callersMethodreset
gtest/fused-src/gtest/gtest.h:2014
↓ 13 callersMethodsetTrain
Set file path of training data. Parameters ---------- train_path : str the path of training data
python-package/xlearn/xlearn.py:114
↓ 13 callersMethodtic
Code start
src/base/timer.cc:35
↓ 13 callersMethodtoc
Code end
src/base/timer.cc:40
↓ 13 callersMethodtotal_test_count
Gets the number of all tests.
gtest/src/gtest.cc:755
↓ 12 callersMethodFailed
Returns true iff the test failed.
gtest/src/gtest.cc:1847
↓ 12 callersFunctionFormatFileLocation
Formats a source file path and a line number as they would appear in an error message from the compiler used to compile this code.
gtest/src/gtest-port.cc:456
↓ 12 callersFunctionGetTestCases
Returns a list of test cases in the given full test names. Args: tests: a list of full test names Returns: A list of test cases from 'te
gtest/test/gtest_shuffle_test.py:110
↓ 12 callersFunctionIsAsciiDigit
Returns true iff ch belongs to the given classification. Unlike similar functions in <ctype.h>, these aren't affected by the current locale.
gtest/src/gtest-port.cc:210
↓ 12 callersMethodIsPrime
gtest/samples/sample8_unittest.cc:62
↓ 12 callersFunctionRandomSeedFlag
(n)
gtest/test/gtest_shuffle_test.py:74
↓ 12 callersMethodRemoveFileName
RemoveFileName returns the directory path with the filename removed. Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". If the Fil
gtest/src/gtest-filepath.cc:161
↓ 12 callersFunctionShuffleFlag
()
gtest/test/gtest_shuffle_test.py:70
↓ 12 callersMethodfit
Check hyper-parameters, train model, and dump model. Parameters ---------- param : dict hyper-parameter used by xle
python-package/xlearn/xlearn.py:234
↓ 12 callersMethodmetric_type
Metric type
src/loss/metric.h:448
↓ 12 callersMethodpredict
Predict output Parameters ---------- model_path : str. path of model checkpoint. out_path : str, default None. if a p
python-package/xlearn/xlearn.py:258
↓ 12 callersMethodsetSplitor
Set Splitor
src/reader/parser.h:67
↓ 11 callersFunctionAlwaysTrue
gtest/src/gtest.cc:4650
↓ 11 callersMethodBaseGenerator
gtest/fused-src/gtest/gtest.h:10204
↓ 11 callersFunctionCountIf
gtest/fused-src/gtest/gtest-all.cc:683
↓ 11 callersFunctionFileExist
Check wether the file exists.
src/base/file_util.h:126
↓ 11 callersMethodGetNumField
Get the number of field.
src/data/model_parameters.h:150
↓ 11 callersMethodGetNumParameter_v
Get the size of the latent factor. For linear score this value equals zero.
src/data/model_parameters.h:135
↓ 11 callersFunctionParseInt32Flag
Parses a string for an Int32 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:4732
↓ 11 callersFunctionPrintTupleTo
gtest/fused-src/gtest/gtest.h:10016
↓ 11 callersFunctionPrintTupleTo
gtest/include/gtest/gtest-printers.h:825
↓ 11 callersFunctionReadFileToMemory
Read the whole file to a memory buffer. Return size (byte) of current file.
src/base/file_util.h:245
↓ 11 callersMethodRemoveDirectoryName
Returns a copy of the FilePath with the directory part removed. Example: FilePath("path/to/file").RemoveDirectoryName() returns FilePath("file"). If t
gtest/src/gtest-filepath.cc:150
↓ 11 callersMethodRemoveTrailingPathSeparator
If input name has a trailing separator character, remove it and return the name, otherwise return the name string unmodified. On Windows platform, use
gtest/src/gtest-filepath.cc:341
↓ 11 callersMethodRunAndVerify
Runs gtest_break_on_failure_unittest_ and verifies that it does (or does not) have a seg-fault. Args: env_var_value: value of the GT
gtest/test/gtest_break_on_failure_unittest.py:99
↓ 11 callersMethodRunAndVerifyWithSharding
Checks that binary runs correct tests for the given filter and shard. Runs all shards of gtest_filter_unittest_ with the given filter, and ve
gtest/test/gtest_filter_unittest.py:287
↓ 11 callersFunctionTestFlag
Verifies that the given flag is affected by the corresponding env var.
gtest/test/gtest_env_var_test.py:73
↓ 11 callersFunctionThrowNothing
gtest/test/gtest_unittest.cc:3661
↓ 11 callersMethodcopy
gtest/fused-src/gtest/gtest.h:9163
↓ 11 callersMethodcount
Returns the number of live test objects that uses this fixture.
gtest/test/gtest_unittest.cc:4941
↓ 11 callersMethodpointer
gtest/fused-src/gtest/gtest.h:2596
↓ 11 callersFunctionprint_warning
[Warning] blablabla ...
src/base/format_print.h:162
↓ 11 callersFunctionremove
Windows CE doesn't have the remove C function.
gtest/test/gtest-filepath_test.cc:68
↓ 11 callersMethodsetTest
Set file path of test data. Parameters ---------- test_path : str the path of test data.
python-package/xlearn/xlearn.py:132
↓ 11 callersMethodsetValidate
Set file path of validation data. Parameters ---------- val_path : str the path of validation data.
python-package/xlearn/xlearn.py:160
↓ 11 callersMethodsplit
------------------------------------------------------------------------------ Split file using mmap() on Unix-like systems. -------------------------
src/reader/file_splitor.cc:40
↓ 10 callersFunctionCaptureStderr
Starts capturing stderr.
gtest/src/gtest-port.cc:659
↓ 10 callersFunctionCreateMetric
src/loss/metric_test.cc:281
↓ 10 callersFunctionDeathTestAbort
Routine for aborting the program which is safe to call from an exec-style death test child process, in which case the error message is propagated back
gtest/src/gtest-death-test.cc:251
↓ 10 callersFunctionDeathTestAbort
Routine for aborting the program which is safe to call from an exec-style death test child process, in which case the error message is propagated back
gtest/fused-src/gtest/gtest-all.cc:6745
↓ 10 callersFunctionDieInside
gtest/test/gtest-death-test_test.cc:125
↓ 10 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/src/gtest.cc:1000
↓ 10 callersMethodFeatMap
Mapping the global feature id to the local server id.
src/distributed/parameter_server.cc:109
↓ 10 callersFunctionForEach
gtest/src/gtest-internal-inl.h:295
↓ 10 callersMethodGetServerId
Given a feature id, return the server id, which stores that feature.
src/distributed/parameter_server.cc:103
↓ 10 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/src/gtest.cc:4426
↓ 10 callersFunctionInt32FromGTestEnv
Reads and returns a 32-bit integer stored in the environment variable corresponding to the given flag; if it isn't set or doesn't represent a valid 32
gtest/src/gtest-port.cc:776
↓ 10 callersFunctionIsNotSubstring
gtest/src/gtest.cc:1295
↓ 10 callersFunctionIsRepeat
gtest/src/gtest-port.cc:214
↓ 10 callersMethodOnTestProgramStart
gtest/test/gtest_unittest.cc:6706
↓ 10 callersMethodPassed
gtest/test/gtest-death-test_test.cc:886
↓ 10 callersMethodPassed
Returns true iff the unit test passed (i.e. all test cases passed).
gtest/src/gtest.cc:3724
↓ 10 callersMethodReset
Reset current model parameters.
src/data/model_parameters.h:138
↓ 10 callersFunctionSetEnvVar
Sets the env variable to 'value'; unsets it when 'value' is None.
gtest/test/gtest_color_test.py:47
↓ 10 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/src/gtest.cc:4663
↓ 10 callersMethodUse
gtest/test/gtest-linked_ptr_test.cc:51
↓ 10 callersFunctioncheck_double
Check the parser's result when push data twice
src/reader/parser_test.cc:84
↓ 10 callersMethodcurrent_test_result
Returns the TestResult for the test that's currently running, or the TestResult for the ad hoc test if no test is running.
gtest/src/gtest.cc:4594
↓ 10 callersMethodfailed_test_count
Gets the number of failed tests.
gtest/src/gtest.cc:734
↓ 10 callersFunctionread_from_disk
src/reader/reader_test.cc:246
↓ 10 callersFunctionwrite_data
src/reader/reader_test.cc:54
↓ 10 callersFunctionwrite_data
Write data to disk file
src/reader/parser_test.cc:45
↓ 9 callersFunctionAbort
gtest/src/gtest-port.cc:699
↓ 9 callersMethodAtEnd
gtest/fused-src/gtest/gtest.h:13858
↓ 9 callersMethodAtEnd
gtest/include/gtest/internal/gtest-param-util-generated.h:3242
↓ 9 callersMethodBaseGenerator
gtest/include/gtest/internal/gtest-param-util-generated.h:3191
↓ 9 callersMethodCalcScore
y = sum( (V_i*V_j)(x_i * x_j) ) Using SSE to accelerate vector operation.
src/score/fm_score.cc:30
↓ 9 callersMethodClone
(self)
gtest/scripts/pump.py:589
↓ 9 callersFunctionFOpen
gtest/fused-src/gtest/gtest.h:2879
↓ 9 callersMethodGet
gtest/fused-src/gtest/gtest-all.cc:1381
↓ 9 callersMethodGetAuxiliarySize
Get the size of auxiliary cache size.
src/data/model_parameters.h:119
↓ 9 callersFunctionGetElementOr
gtest/src/gtest-internal-inl.h:302
↓ 9 callersFunctionGetTimeInMillis
Returns the current time in milliseconds.
gtest/src/gtest.cc:780
↓ 9 callersMethodJoin
gtest/fused-src/gtest/gtest.h:2399
↓ 9 callersMethodPassed
Returns true iff the unit test passed (i.e. all test cases passed).
gtest/fused-src/gtest/gtest-all.cc:5208
↓ 9 callersFunctionPrintArrayHelper
gtest/test/gtest-printers_test.cc:597
↓ 9 callersMethodRunAndVerify
Runs gtest_throw_on_failure_test_ and verifies that it does (or does not) exit with a non-zero code. Args: env_var_value: value of t
gtest/test/gtest_throw_on_failure_test.py:83
↓ 9 callersMethodRunAndVerifyAllowingDisabled
Checks that the binary runs correct set of tests for the given filter. Runs gtest_filter_unittest_ with the given filter, and enables disable
gtest/test/gtest_filter_unittest.py:325
↓ 9 callersMethodelapsed_time
Gets the elapsed time, in milliseconds.
gtest/src/gtest.cc:3719
↓ 9 callersMethodelapsed_time
Gets the elapsed time, in milliseconds.
gtest/fused-src/gtest/gtest-all.cc:5203
← previousnext →101–200 of 3,349, ranked by callers