Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aksnzhy/xlearn
/ functions
Functions
3,349 in github.com/aksnzhy/xlearn
⨍
Functions
3,349
◇
Types & classes
1,370
↓ 2 callers
Method
OnTestProgramEnd
gtest/test/gtest_unittest.cc:6780
↓ 2 callers
Function
ParseGoogleTestFlagsOnly
Parses the command line for Google Test flags, without initializing other parts of Google Test.
gtest/src/gtest.cc:4959
↓ 2 callers
Function
ParseGoogleTestFlagsOnlyImpl
gtest/src/gtest.cc:4889
↓ 2 callers
Function
ParseGoogleTestFlagsOnlyImpl
gtest/fused-src/gtest/gtest-all.cc:6373
↓ 2 callers
Method
PassedArgument
gtest/test/gtest-death-test_test.cc:830
↓ 2 callers
Function
PopFront
(a_list)
gtest/scripts/pump.py:443
↓ 2 callers
Function
PopToken
(a_list, token_type=None)
gtest/scripts/pump.py:453
↓ 2 callers
Method
Predict
Given a pre-trained model and test data, the predictor will return the prediction output
src/solver/inference.cc:32
↓ 2 callers
Function
PrintFullTestCommentIfPresent
gtest/src/gtest.cc:2672
↓ 2 callers
Function
PrintFullTestCommentIfPresent
gtest/fused-src/gtest/gtest-all.cc:4156
↓ 2 callers
Function
PrintOnOneLine
Prints the given C-string on a single line by replacing all '\n' characters with string "\\n". If the output takes more than max_length characters, o
gtest/src/gtest.cc:4512
↓ 2 callers
Function
PrintOnOneLine
Prints the given C-string on a single line by replacing all '\n' characters with string "\\n". If the output takes more than max_length characters, o
gtest/fused-src/gtest/gtest-all.cc:5996
↓ 2 callers
Function
PrintStringTo
gtest/src/gtest-printers.cc:339
↓ 2 callers
Function
PrintStringTo
gtest/fused-src/gtest/gtest-all.cc:9352
↓ 2 callers
Function
PrintTestPartResultToString
Prints a TestPartResult to an std::string.
gtest/src/gtest.cc:2520
↓ 2 callers
Function
PrintTestPartResultToString
Prints a TestPartResult to an std::string.
gtest/fused-src/gtest/gtest-all.cc:4004
↓ 2 callers
Function
PrintToString
gtest/include/gtest/gtest-printers.h:847
↓ 2 callers
Function
PrintWideStringTo
gtest/src/gtest-printers.cc:350
↓ 2 callers
Function
PrintWideStringTo
gtest/fused-src/gtest/gtest-all.cc:9363
↓ 2 callers
Function
ProcessFile
Processes the given gtest header file.
gtest/scripts/fuse_gtest_files.py:152
↓ 2 callers
Method
PushVariable
(self, var, value)
gtest/scripts/pump.py:595
↓ 2 callers
Method
RemoveFileName
RemoveFileName returns the directory path with the filename removed. Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". If the Fil
gtest/fused-src/gtest/gtest-all.cc:7995
↓ 2 callers
Function
RemoveTestCounts
Removes test counts from a Google Test program's output.
gtest/test/gtest_output_test.py:153
↓ 2 callers
Function
RemoveTypeInfoDetails
Removes compiler-specific type info from Google Test program's output. Args: test_output: the output of a Google Test program. Returns:
gtest/test/gtest_output_test.py:125
↓ 2 callers
Function
RepeatFlag
(n)
gtest/test/gtest_shuffle_test.py:66
↓ 2 callers
Function
RmDir
gtest/fused-src/gtest/gtest.h:2838
↓ 2 callers
Method
Run
gtest/fused-src/gtest/gtest.h:2406
↓ 2 callers
Method
Run
gtest/include/gtest/internal/gtest-port.h:1299
↓ 2 callers
Function
RunFromThread
gtest/test/gtest-port_test.cc:1125
↓ 2 callers
Function
RunWithFlag
Runs gtest_help_test_ with the given flag. Returns: the exit code and the text output as a tuple. Args: flag: the command-line flag to pa
gtest/test/gtest_help_test.py:81
↓ 2 callers
Method
SetBestModel
Take a record of the best model during training
src/data/model_parameters.cc:326
↓ 2 callers
Function
SetEnvVar
Sets the env variable to 'value'; unsets it when 'value' is None.
gtest/test/gtest_env_var_test.py:55
↓ 2 callers
Function
SetEnvVar
Sets an environment variable to a given value; unsets it when the given value is None.
gtest/test/gtest_throw_on_failure_test.py:58
↓ 2 callers
Method
SetGlobalTestPartResultReporter
Sets the global test part result reporter.
gtest/src/gtest.cc:689
↓ 2 callers
Method
SetGlobalTestPartResultReporter
Sets the global test part result reporter.
gtest/fused-src/gtest/gtest-all.cc:2173
↓ 2 callers
Method
SetNoBin
Do not generate bin file
src/reader/reader.h:116
↓ 2 callers
Method
SetSeed
Set random see
src/reader/reader.h:121
↓ 2 callers
Function
SetSigprofActionAndTimer
Sets SIGPROF action and ITIMER_PROF timer (interval: 1ms).
gtest/test/gtest-death-test_test.cc:382
↓ 2 callers
Function
ShouldShard
Checks whether sharding is enabled by examining the relevant environment variable values. If the variables are present, but inconsistent (i.e., shard_
gtest/fused-src/gtest/gtest-all.cc:5865
↓ 2 callers
Method
Shrink
Shrink back for getting the best model
src/data/model_parameters.cc:363
↓ 2 callers
Function
SkipUntil
(lines, pos, regex, token_type)
gtest/scripts/pump.py:270
↓ 2 callers
Function
SplitStringToIteratorUsing
src/base/split_string.h:88
↓ 2 callers
Function
SplitStringUsing
src/base/split_string.cc:49
↓ 2 callers
Function
StrCaseCmp
gtest/fused-src/gtest/gtest.h:2815
↓ 2 callers
Function
StrError
gtest/fused-src/gtest/gtest.h:2897
↓ 2 callers
Function
StreamWideCharsToMessage
Converts an array of wide chars to a narrow string using the UTF-8 encoding, and streams the result to the given Message object.
gtest/src/gtest.cc:888
↓ 2 callers
Function
StreamWideCharsToMessage
Converts an array of wide chars to a narrow string using the UTF-8 encoding, and streams the result to the given Message object.
gtest/fused-src/gtest/gtest-all.cc:2372
↓ 2 callers
Function
SubWithoutTrace
A helper function for testing SCOPED_TRACE.
gtest/test/gtest_output_test_.cc:163
↓ 2 callers
Function
Subroutine
gtest/test/gtest_sole_header_test.cc:39
↓ 2 callers
Method
SuppressEventForwarding
gtest/src/gtest.cc:3628
↓ 2 callers
Method
SuppressEventForwarding
gtest/fused-src/gtest/gtest-all.cc:5112
↓ 2 callers
Function
TestExitMacros
Tests the *_EXIT family of macros, using a variety of predicates.
gtest/test/gtest-death-test_test.cc:718
↓ 2 callers
Method
TestNonHelpFlag
Verifies correct behavior when no help flag is specified. Verifies that when no help flag is specified, the tests are run and the help messag
gtest/test/gtest_help_test.py:125
↓ 2 callers
Function
TestRepeatWithEmptyFilter
Tests using --gtest_repeat when --gtest_filter specifies an empty set of tests.
gtest/test/gtest_repeat_test.cc:182
↓ 2 callers
Method
TestSehExceptions
(self, test_output)
gtest/test/gtest_catch_exceptions_test.py:89
↓ 2 callers
Method
ThreadNumber
Return the number of threads
src/base/thread_pool.h:144
↓ 2 callers
Function
Title
Returns the given word in title case. The difference between this and string's title() method is that Title('4-ary') is '4-ary' while '4-ary'.tit
gtest/scripts/gen_gtest_pred_impl.py:175
↓ 2 callers
Function
ToUnixLineEnding
Changes all Windows/Mac line endings in s to UNIX line endings.
gtest/test/gtest_output_test.py:82
↓ 2 callers
Function
ToUpper
gtest/fused-src/gtest/gtest.h:2795
↓ 2 callers
Function
TryTestSubroutine
This function calls a test subroutine, catches the fatal failure it generates, and then returns early.
gtest/test/gtest_output_test_.cc:72
↓ 2 callers
Function
UnexpectedHRESULTFailure
gtest/test/gtest_unittest.cc:3867
↓ 2 callers
Function
UniversalPrintCharArray
gtest/src/gtest-printers.cc:276
↓ 2 callers
Function
UniversalPrintCharArray
gtest/fused-src/gtest/gtest-all.cc:9289
↓ 2 callers
Function
UniversalTersePrint
gtest/include/gtest/gtest-printers.h:743
↓ 2 callers
Function
Values
gtest/include/gtest/gtest-param-test.h:348
↓ 2 callers
Function
VerifyFileExists
Verifies that the given file exists; aborts on failure. relative_path is the file path relative to the given directory.
gtest/scripts/fuse_gtest_files.py:86
↓ 2 callers
Function
VerifyOutputFile
Verifies that the given output file path is valid. relative_path is relative to the output_dir directory.
gtest/scripts/fuse_gtest_files.py:110
↓ 2 callers
Function
WideStringToUtf8
Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2
gtest/fused-src/gtest/gtest-all.cc:2984
↓ 2 callers
Function
WrapCode
(line, line_concat, output)
gtest/scripts/pump.py:741
↓ 2 callers
Function
Write
gtest/fused-src/gtest/gtest.h:2893
↓ 2 callers
Function
XLearnCreate
Create xlearn handle
src/c_api/c_api.cc:54
↓ 2 callers
Function
XLearnHandleFree
Free the xLearn handle
src/c_api/c_api.cc:142
↓ 2 callers
Function
XLearnHello
Say hello to user
src/c_api/c_api.cc:32
↓ 2 callers
Function
XLearnSetTest
Set file path of the test data
src/c_api/c_api.cc:175
↓ 2 callers
Function
XLearnSetTrain
Set file path of the training data
src/c_api/c_api.cc:159
↓ 2 callers
Function
XLearnSetValidate
Set file path of the validation data
src/c_api/c_api.cc:207
↓ 2 callers
Function
XLearnShow
Show the mode information
src/c_api/c_api.cc:149
↓ 2 callers
Method
_GetChildren
Fetches all of the child nodes of element, a DOM Element object. Returns them as the values of a dictionary keyed by the IDs of the child
gtest/test/gtest_xml_test_utils.py:117
↓ 2 callers
Method
_GetXmlOutput
Returns the xml output generated by running the program gtest_prog_name. Furthermore, the program's exit code must be expected_exit_code.
gtest/test/gtest_xml_output_unittest.py:262
↓ 2 callers
Function
_ParseAndStripGTestFlags
Parses and strips Google Test flags from argv. This is idempotent.
gtest/test/gtest_test_utils.py:86
↓ 2 callers
Method
_TestOutFile
(self, test_name, expected_xml)
gtest/test/gtest_xml_outfiles_test.py:98
↓ 2 callers
Method
__delete__
(self, instance)
python-package/xlearn/_sklearn.py:367
↓ 2 callers
Method
__init__
(self, model_type='fm', task='binary', metric='auc', block_size=500, lr=0.2, k=4, reg_lambda=
python-package/xlearn/_sklearn.py:357
↓ 2 callers
Function
__map_mmap_prot_page
src/base/mman.h:74
↓ 2 callers
Method
_read_libffm_file
An internal function for reading libffm back to numpy array.
python-package/test/test_data_conversion.py:40
↓ 2 callers
Method
_remove_temp_file
(self, temp_file)
python-package/xlearn/_sklearn.py:335
↓ 2 callers
Function
_rmdir
Windows CE doesn't have the _rmdir C function.
gtest/test/gtest-filepath_test.cc:75
↓ 2 callers
Method
_set_Param
Set hyper-parameter for xlearn handle Parameters ---------- param : dict xlearn hyper-parameters
python-package/xlearn/xlearn.py:43
↓ 2 callers
Method
cmp
Compare two metric value
src/loss/metric.h:453
↓ 2 callers
Method
cv
Do cross-validation Parameters ---------- param : dict hyper-parameter used by xlearn
python-package/xlearn/xlearn.py:247
↓ 2 callers
Function
fasterpow2
src/base/math.h:129
↓ 2 callers
Function
fastlog2
src/base/math.h:80
↓ 2 callers
Function
fastpow2
src/base/math.h:113
↓ 2 callers
Function
get
gtest/fused-src/gtest/gtest.h:1570
↓ 2 callers
Method
has_label
Wether current dataset has label y ?
src/reader/reader.h:113
↓ 2 callers
Method
initial
To get the best performance for SSE, we need to allocate memory for the model parameters in aligned way. For SSE, the align number should be 16 byte (
src/data/model_parameters.cc:82
↓ 2 callers
Method
join_new
Create a new circle that includes only this instance.
gtest/fused-src/gtest/gtest.h:9052
↓ 2 callers
Method
join_new
Create a new circle that includes only this instance.
gtest/include/gtest/internal/gtest-linked_ptr.h:92
↓ 2 callers
Method
line
gtest/fused-src/gtest/gtest.h:8406
↓ 2 callers
Method
member
gtest/test/gtest-port_test.cc:108
← previous
next →
601–700 of 3,349, ranked by callers