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
↓ 1 callers
Method
TestBodyExecuted
gtest/test/gtest-param-test_test.cc:578
↓ 1 callers
Function
TestEq1
A subroutine used by the following test.
gtest/test/gtest_output_test_.cc:66
↓ 1 callers
Function
TestEq1
A subroutine used by the following test.
gtest/test/gtest_unittest.cc:3710
↓ 1 callers
Function
TestExitCodeAndOutput
Runs the given command and verifies its exit code and output.
gtest/test/gtest_uninitialized_test.py:54
↓ 1 callers
Function
TestFailureThrowsRuntimeError
Tests that an assertion failure throws a subclass of std::runtime_error.
gtest/test/gtest_throw_on_failure_ex_test.cc:53
↓ 1 callers
Function
TestPartResultTypeToString
Converts a TestPartResult::Type enum to human-friendly string representation. Both kNonFatalFailure and kFatalFailure are translated to "Failure", as
gtest/src/gtest.cc:2500
↓ 1 callers
Function
TestPartResultTypeToString
Converts a TestPartResult::Type enum to human-friendly string representation. Both kNonFatalFailure and kFatalFailure are translated to "Failure", as
gtest/fused-src/gtest/gtest-all.cc:3984
↓ 1 callers
Function
TestRepeatUnspecified
Tests the behavior of Google Test when --gtest_repeat is not specified.
gtest/test/gtest_repeat_test.cc:165
↓ 1 callers
Function
TestRepeatWithFilterForFailedTests
Tests using --gtest_repeat when --gtest_filter specifies a set of failed tests.
gtest/test/gtest_repeat_test.cc:211
↓ 1 callers
Function
TestRepeatWithFilterForSuccessfulTests
Tests using --gtest_repeat when --gtest_filter specifies a set of successful tests.
gtest/test/gtest_repeat_test.cc:193
↓ 1 callers
Function
TestsForArity
Returns the tests for n-ary predicate assertions.
gtest/scripts/gen_gtest_pred_impl.py:411
↓ 1 callers
Function
Tokenize
A generator that yields the tokens in the given string.
gtest/scripts/pump.py:382
↓ 1 callers
Function
TokenizeLines
(lines, pos)
gtest/scripts/pump.py:310
↓ 1 callers
Method
Train
* Basic train * *********************************************************/
src/solver/trainer.cc:94
↓ 1 callers
Function
UnitTestPostamble
Returns the postamble for the tests.
gtest/scripts/gen_gtest_pred_impl.py:700
↓ 1 callers
Function
UnitTestPreamble
Returns the preamble for the unit test file.
gtest/scripts/gen_gtest_pred_impl.py:325
↓ 1 callers
Function
UniversalPrintArray
gtest/fused-src/gtest/gtest.h:9802
↓ 1 callers
Function
UniversalPrintArray
gtest/include/gtest/gtest-printers.h:611
↓ 1 callers
Method
Unlock
gtest/fused-src/gtest/gtest.h:2656
↓ 1 callers
Method
Unlock
gtest/include/gtest/internal/gtest-port.h:1549
↓ 1 callers
Function
ValidateGTestRootDir
Makes sure gtest_root points to a valid gtest root directory. The function aborts the program on failure.
gtest/scripts/fuse_gtest_files.py:100
↓ 1 callers
Function
ValidateOutputDir
Makes sure output_dir points to a valid output directory. The function aborts the program on failure.
gtest/scripts/fuse_gtest_files.py:136
↓ 1 callers
Function
ValidateRegex
Generates non-fatal failures and returns false if regex is invalid; otherwise returns true.
gtest/fused-src/gtest/gtest-all.cc:8467
↓ 1 callers
Function
ValidateTestPropertyName
gtest/src/gtest.cc:1818
↓ 1 callers
Function
ValidateTestPropertyName
gtest/fused-src/gtest/gtest-all.cc:3302
↓ 1 callers
Function
VerifyResults
gtest/test/gtest-listener_test.cc:177
↓ 1 callers
Method
WaitForNotification
Blocks until the controller thread notifies. Must be called from a test thread.
gtest/include/gtest/internal/gtest-port.h:1221
↓ 1 callers
Function
WrapComment
(line, output)
gtest/scripts/pump.py:717
↓ 1 callers
Function
WrapLongLine
(line, output)
gtest/scripts/pump.py:790
↓ 1 callers
Function
WrapPlainCode
(line, output)
gtest/scripts/pump.py:775
↓ 1 callers
Function
WrapPreprocessorDirective
(line, output)
gtest/scripts/pump.py:771
↓ 1 callers
Function
WriteFile
src/reader/reader_test.cc:64
↓ 1 callers
Function
WriteToShardStatusFileIfNeeded
Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file if the variable is present. If a file already exists at this location, th
gtest/src/gtest.cc:4359
↓ 1 callers
Function
WriteToShardStatusFileIfNeeded
Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file if the variable is present. If a file already exists at this location, th
gtest/fused-src/gtest/gtest-all.cc:5843
↓ 1 callers
Function
XLearnAPISetLastError
src/c_api/c_api_error.cc:33
↓ 1 callers
Function
XLearnCV
Cross-validation
src/c_api/c_api.cc:258
↓ 1 callers
Function
XLearnFit
Start to train
src/c_api/c_api.cc:241
↓ 1 callers
Function
XLearnSetPreModel
Set file path of the pre-trained model
src/c_api/c_api.cc:191
↓ 1 callers
Function
XLearnSetTXTModel
Set file path of the txt model data
src/c_api/c_api.cc:226
↓ 1 callers
Function
_Main
The entry point of the script. Generates the header file and its unit test.
gtest/scripts/gen_gtest_pred_impl.py:715
↓ 1 callers
Function
__map_mmap_prot_file
src/base/mman.h:89
↓ 1 callers
Method
_init_from_npy2d
This function do initialize DMatrix from numpy 2D and pandas DataFrame. Parameters
python-package/xlearn/data.py:48
↓ 1 callers
Function
_load_lib
Load xlearn shared library
python-package/xlearn/base.py:25
↓ 1 callers
Method
_parse_weight
(self, file_name)
python-package/xlearn/_sklearn.py:321
↓ 1 callers
Function
ad_hoc_test_result
Returns the TestResult for the ad hoc test.
gtest/src/gtest-internal-inl.h:606
↓ 1 callers
Function
ad_hoc_test_result
Returns the TestResult for the ad hoc test.
gtest/fused-src/gtest/gtest-all.cc:1007
↓ 1 callers
Method
calc_grad_adagrad
Calculate gradient and update current model using adagrad
src/score/linear_score.cc:95
↓ 1 callers
Method
calc_grad_adagrad
Calculate gradient and update current model using adagrad
src/score/fm_score.cc:195
↓ 1 callers
Method
calc_grad_adagrad
Calculate gradient and update current model using adagrad TODO(aksnzhy): solve unseen feature
src/score/ffm_score.cc:195
↓ 1 callers
Method
calc_grad_ftrl
Calculate gradient and update current model using ftrl
src/score/linear_score.cc:125
↓ 1 callers
Method
calc_grad_ftrl
Calculate gradient and update current model using ftrl
src/score/fm_score.cc:276
↓ 1 callers
Method
calc_grad_ftrl
Calculate gradient and update current model using ftrl
src/score/ffm_score.cc:283
↓ 1 callers
Method
calc_grad_sgd
Calculate gradient and update current model using sgd
src/score/linear_score.cc:71
↓ 1 callers
Method
calc_grad_sgd
Calculate gradient and update current model using sgd
src/score/fm_score.cc:123
↓ 1 callers
Method
calc_grad_sgd
Calculate gradient and update current model using sgd TODO(aksnzhy): solve unseen feature
src/score/ffm_score.cc:119
↓ 1 callers
Method
check_cmd
Check and parse user's input
src/solver/checker.cc:213
↓ 1 callers
Method
check_param
Check hyper-param. Used by c_api
src/solver/checker.cc:228
↓ 1 callers
Function
compile_cpp
()
python-package/setup_pip.py:58
↓ 1 callers
Function
copy_files
()
python-package/setup_pip.py:44
↓ 1 callers
Function
create_ffm
Create a field-aware factorization machine.
python-package/xlearn/xlearn.py:302
↓ 1 callers
Function
create_fm
Create a factorization machine.
python-package/xlearn/xlearn.py:292
↓ 1 callers
Function
create_linear
Create a linear model.
python-package/xlearn/xlearn.py:282
↓ 1 callers
Function
delete_file
src/reader/reader_test.cc:90
↓ 1 callers
Method
deserialize_w_v_b
Deserialize w,v,b from disk file
src/data/model_parameters.cc:395
↓ 1 callers
Method
disableLockFree
Disable lock free training
python-package/xlearn/xlearn.py:210
↓ 1 callers
Method
disableNorm
Disable instance-wise normalization
python-package/xlearn/xlearn.py:204
↓ 1 callers
Method
failed_test_case_count
Gets the number of failed test cases.
gtest/src/gtest.cc:713
↓ 1 callers
Function
fasterexp
src/base/math.h:138
↓ 1 callers
Function
fasterlog2
src/base/math.h:95
↓ 1 callers
Function
fastexp
src/base/math.h:125
↓ 1 callers
Function
fastsigmoid
src/base/math.h:158
↓ 1 callers
Function
find_lib_path
Find the path to xlearn dynamic library files. Returns ------- lib_path: list(string) List of all found library path to xlearn
python-package/xlearn/libpath.py:26
↓ 1 callers
Method
forwarding_enabled
Controls whether events will be forwarded to listeners_. Set to false in death test child processes.
gtest/src/gtest.cc:2908
↓ 1 callers
Method
forwarding_enabled
Controls whether events will be forwarded to listeners_. Set to false in death test child processes.
gtest/fused-src/gtest/gtest-all.cc:4392
↓ 1 callers
Function
get
gtest/include/gtest/internal/gtest-tuple.h:929
↓ 1 callers
Function
get_host_name
Get host name
src/base/system.h:39
↓ 1 callers
Function
get_log_file
The log file name = base + host_name + username + date_time + process_id
src/base/system.h:73
↓ 1 callers
Method
get_model
Return internal XLearn model. This will raise exception when model is not fitted :return: the underlying XLearn model
python-package/xlearn/_sklearn.py:144
↓ 1 callers
Method
get_params
Get model parameters :param deep: is deep copy :return: model parameters
python-package/xlearn/_sklearn.py:156
↓ 1 callers
Function
get_user_name
Get user name
src/base/system.h:48
↓ 1 callers
Method
get_xlearn_params
Get xlearn model parameters :return: model parameters used for training
python-package/xlearn/_sklearn.py:166
↓ 1 callers
Method
is_nan
Returns true iff this is NAN (not a number).
gtest/fused-src/gtest/gtest.h:7276
↓ 1 callers
Method
is_nan
Returns true iff this is NAN (not a number).
gtest/include/gtest/internal/gtest-internal.h:316
↓ 1 callers
Function
main
()
gtest/scripts/fuse_gtest_files.py:236
↓ 1 callers
Function
main
(argv)
gtest/scripts/pump.py:831
↓ 1 callers
Function
message
Gets the message associated with the test part.
gtest/fused-src/gtest/gtest.h:17131
↓ 1 callers
Function
message
Returns the text streamed into this AssertionResult. Test assertions use it when they fail (i.e., the predicate's outcome doesn't match the assertion'
gtest/include/gtest/gtest.h:274
↓ 1 callers
Method
operator=
gtest/test/gtest-param-test_test.cc:270
↓ 1 callers
Function
print_current_time
Get current system time
src/base/system.h:54
↓ 1 callers
Method
release
Release a pointer. The return value is the current pointer held by this object. If this object holds a NULL pointer, the return value is NULL. After t
src/base/scoped_ptr.h:137
↓ 1 callers
Method
serialize_w_v_b
Serialize w,v,b to disk file
src/data/model_parameters.cc:377
↓ 1 callers
Method
setQuiet
Set xlearn to quiet model
python-package/xlearn/xlearn.py:186
↓ 1 callers
Method
setTXTModel
Set the path of TXT model file. Parameters ---------- model_path : str the path of the TXT model file.
python-package/xlearn/xlearn.py:176
↓ 1 callers
Method
set_failure_in_set_up
We call this function to set the type of failure SetUp() should generate.
gtest/test/gtest_environment_test.cc:90
↓ 1 callers
Method
set_forwarding_enabled
gtest/src/gtest.cc:2909
↓ 1 callers
Method
set_forwarding_enabled
gtest/fused-src/gtest/gtest-all.cc:4393
↓ 1 callers
Method
set_up_was_run
Was SetUp() run?
gtest/test/gtest_environment_test.cc:95
↓ 1 callers
Method
shrink_block
Find the last '\n' in block, and shrink back file pointer
src/reader/reader.cc:108
↓ 1 callers
Method
sigmoid
Convert output by using the sigmoid function.
src/solver/inference.cc:69
↓ 1 callers
Method
sign
Convert output to 0 and 1.
src/solver/inference.cc:78
← previous
next →
1,001–1,100 of 3,349, ranked by callers