-
Notifications
You must be signed in to change notification settings - Fork 1
read_data
USER DOES NOT USE
This function pyUDLF uses to read the config from the path provided in the config_path of run_calls, saving its parameters, values and information into a library, which is then used by the user through an object of the inputType class.
- read_config(path: string)
path -> config path.
USER DOES NOT USE
Function used by pyUDLF to take the return values from the UDLF binary execution.
- read_log(path: string)
path -> log path.
Read numeric ranked list and return it. User can use it if he wants to have the ranked list in a variable, instead of a text file.
- read_ranked_lists_file_numeric(file_path: string, top_k=1000)
file_path -> numeric ranked list path top_k -> ranked list size
Same as numerical but for string. Read string ranked list and return it. User can use it if he wants to have the ranked list in a variable, instead of a text file.
- read_ranked_lists_file_string(file_path: string, top_k=1000)
file_path -> numeric ranked list path top_k -> ranked list size
Read matrix file and return it. User can use it if he wants to have the matrix in a variable, instead of a text file.
- read_matrix_file(file_path: string)
file_path -> matrix file path