├── cornac ├── serving │ └── __init__.py ├── models │ ├── coe │ │ ├── requirements.txt │ │ └── __init__.py │ ├── ibpr │ │ ├── requirements.txt │ │ └── __init__.py │ ├── vaecf │ │ └── requirements.txt │ ├── vbpr │ │ ├── requirements.txt │ │ └── __init__.py │ ├── vmf │ │ ├── requirements.txt │ │ └── __init__.py │ ├── amr │ │ ├── requirements.txt │ │ └── __init__.py │ ├── bivaecf │ │ ├── requirements.txt │ │ └── __init__.py │ ├── cdl │ │ ├── requirements.txt │ │ └── __init__.py │ ├── cdr │ │ ├── requirements.txt │ │ └── __init__.py │ ├── cvaecf │ │ ├── requirements.txt │ │ └── __init__.py │ ├── sansa │ │ ├── requirements.txt │ │ ├── __init__.py │ │ └── README.md │ ├── upcf │ │ └── requirements.txt │ ├── wmf │ │ ├── requirements.txt │ │ └── __init__.py │ ├── causalrec │ │ └── requirements.txt │ ├── conv_mf │ │ └── requirements.txt │ ├── cvae │ │ ├── requirements.txt │ │ └── __init__.py │ ├── dmrl │ │ ├── __init__.py │ │ └── requirements.txt │ ├── ease │ │ └── __init__.py │ ├── gru4rec │ │ └── requirements.txt │ ├── hrdr │ │ ├── requirements.txt │ │ └── __init__.py │ ├── mf │ │ └── __init__.py │ ├── narre │ │ └── requirements.txt │ ├── online_ibpr │ │ └── requirements.txt │ ├── recvae │ │ ├── requirements.txt │ │ └── __init__.py │ ├── gcmc │ │ ├── requirements.txt │ │ └── __init__.py │ ├── ngcf │ │ └── requirements.txt │ ├── dnntsp │ │ └── requirements.txt │ ├── lrppm │ │ └── __init__.py │ ├── trirank │ │ └── __init__.py │ ├── baseline_only │ │ └── __init__.py │ ├── beacon │ │ └── requirements.txt │ ├── ncf │ │ └── requirements.txt │ ├── pcrl │ │ ├── requirements.txt │ │ └── __init__.py │ ├── lightgcn │ │ └── requirements.txt │ ├── ann │ │ └── __init__.py │ ├── hypar │ │ ├── requirements.txt │ │ └── requirements_cu118.txt │ ├── bpr │ │ └── recom_bpr.h │ ├── c2pf │ │ └── __init__.py │ ├── ctr │ │ └── __init__.py │ ├── fm │ │ └── __init__.py │ ├── hft │ │ └── __init__.py │ ├── hpf │ │ └── __init__.py │ ├── mcf │ │ └── __init__.py │ ├── mmmf │ │ └── __init__.py │ ├── pmf │ │ └── __init__.py │ ├── sbpr │ │ └── __init__.py │ └── svd │ │ └── __init__.py └── utils │ └── external │ ├── eigen │ ├── Eigen │ │ ├── Eigen │ │ ├── src │ │ │ ├── Core │ │ │ │ ├── util │ │ │ │ │ └── NonMPL2.h │ │ │ │ └── functors │ │ │ │ │ └── TernaryFunctors.h │ │ │ └── misc │ │ │ │ └── lapacke_mangling.h │ │ └── Dense │ ├── unsupported │ │ ├── test │ │ │ └── FFT.cpp │ │ ├── doc │ │ │ ├── CMakeLists.txt │ │ │ └── examples │ │ │ │ ├── MatrixExponential.cpp │ │ │ │ ├── MatrixPower.cpp │ │ │ │ ├── MatrixLogarithm.cpp │ │ │ │ ├── MatrixPower_optimal.cpp │ │ │ │ ├── MatrixSquareRoot.cpp │ │ │ │ ├── MatrixFunction.cpp │ │ │ │ ├── MatrixSine.cpp │ │ │ │ ├── MatrixSinh.cpp │ │ │ │ └── PolynomialUtils1.cpp │ │ ├── Eigen │ │ │ ├── src │ │ │ │ └── EulerAngles │ │ │ │ │ └── CMakeLists.txt │ │ │ ├── CXX11 │ │ │ │ └── CMakeLists.txt │ │ │ └── MoreVectorization │ │ └── CMakeLists.txt │ ├── CTestCustom.cmake.in │ ├── .hg_archival.txt │ ├── blas │ │ ├── f2c │ │ │ ├── r_cnjg.c │ │ │ └── d_cnjg.c │ │ ├── README.txt │ │ ├── xerbla.cpp │ │ ├── complex_single.cpp │ │ └── complex_double.cpp │ ├── README.md │ ├── .hgeol │ ├── signature_of_eigen3_matrix_library │ ├── eigen3.pc.in │ ├── .hgignore │ ├── CTestConfig.cmake │ └── lapack │ │ ├── double.cpp │ │ ├── single.cpp │ │ ├── complex_double.cpp │ │ └── complex_single.cpp │ └── boost │ ├── concept │ └── detail │ │ ├── concept_undef.hpp │ │ └── backward_compatibility.hpp │ ├── config │ ├── abi │ │ ├── msvc_suffix.hpp │ │ └── borland_suffix.hpp │ ├── platform │ │ ├── amigaos.hpp │ │ ├── cray.hpp │ │ ├── cloudabi.hpp │ │ └── beos.hpp │ └── compiler │ │ └── compaq_cxx.hpp │ ├── predef │ ├── detail │ │ ├── os_detected.h │ │ ├── comp_detected.h │ │ ├── platform_detected.h │ │ ├── _exception.h │ │ ├── _cassert.h │ │ └── test.h │ ├── library │ │ ├── c │ │ │ └── _prefix.h │ │ └── c.h │ ├── version.h │ ├── other.h │ ├── hardware.h │ ├── library.h │ └── language.h │ ├── mpl │ ├── aux_ │ │ ├── preprocessed │ │ │ ├── bcc551 │ │ │ │ └── quote.hpp │ │ │ ├── msvc60 │ │ │ │ └── quote.hpp │ │ │ ├── no_ttp │ │ │ │ └── quote.hpp │ │ │ ├── bcc_pre590 │ │ │ │ └── quote.hpp │ │ │ ├── dmc │ │ │ │ └── template_arity.hpp │ │ │ ├── mwcw │ │ │ │ └── template_arity.hpp │ │ │ └── plain │ │ │ │ └── template_arity.hpp │ │ ├── config │ │ │ ├── workaround.hpp │ │ │ ├── msvc.hpp │ │ │ ├── intel.hpp │ │ │ ├── use_preprocessed.hpp │ │ │ └── gcc.hpp │ │ ├── basic_bind.hpp │ │ ├── test │ │ │ ├── test_case.hpp │ │ │ └── data.hpp │ │ ├── has_size.hpp │ │ ├── range_c │ │ │ └── tag.hpp │ │ ├── has_tag.hpp │ │ ├── template_arity_fwd.hpp │ │ ├── has_type.hpp │ │ └── has_begin.hpp │ ├── max.hpp │ ├── min.hpp │ ├── end.hpp │ ├── begin.hpp │ ├── next.hpp │ ├── prior.hpp │ ├── alias.hpp │ ├── logical.hpp │ ├── less.hpp │ ├── plus.hpp │ ├── limits │ │ ├── map.hpp │ │ ├── set.hpp │ │ ├── list.hpp │ │ ├── vector.hpp │ │ ├── unrolling.hpp │ │ ├── arity.hpp │ │ └── string.hpp │ ├── minus.hpp │ ├── times.hpp │ ├── divides.hpp │ ├── greater.hpp │ ├── int.hpp │ ├── equal_to.hpp │ ├── long.hpp │ ├── less_equal.hpp │ ├── list │ │ └── aux_ │ │ │ └── tag.hpp │ ├── multiset │ │ └── aux_ │ │ │ └── tag.hpp │ ├── not_equal_to.hpp │ ├── greater_equal.hpp │ ├── map │ │ └── aux_ │ │ │ └── tag.hpp │ ├── modulus.hpp │ ├── set │ │ └── aux_ │ │ │ └── tag.hpp │ ├── at_fwd.hpp │ ├── back_fwd.hpp │ ├── size_fwd.hpp │ ├── clear_fwd.hpp │ ├── empty_fwd.hpp │ ├── front_fwd.hpp │ ├── shift_left.hpp │ ├── shift_right.hpp │ ├── O1_size_fwd.hpp │ ├── char.hpp │ ├── count_fwd.hpp │ ├── pop_back_fwd.hpp │ ├── pop_front_fwd.hpp │ ├── bitxor.hpp │ ├── erase_fwd.hpp │ ├── erase_key_fwd.hpp │ ├── get_tag.hpp │ ├── insert_fwd.hpp │ ├── push_back_fwd.hpp │ ├── push_front_fwd.hpp │ ├── sequence_tag_fwd.hpp │ ├── bitwise.hpp │ ├── contains_fwd.hpp │ ├── void_fwd.hpp │ ├── order_fwd.hpp │ ├── insert_range_fwd.hpp │ ├── size_t.hpp │ ├── sort.hpp │ ├── has_key_fwd.hpp │ ├── comparison.hpp │ ├── key_type_fwd.hpp │ └── value_type_fwd.hpp │ ├── core │ └── use_default.hpp │ ├── detail │ ├── workaround.hpp │ ├── endian.hpp │ ├── lightweight_test.hpp │ ├── scoped_enum_emulation.hpp │ ├── no_exceptions_support.hpp │ ├── winapi │ │ ├── config.hpp │ │ ├── apc.hpp │ │ ├── dll.hpp │ │ ├── tls.hpp │ │ ├── wait.hpp │ │ ├── crypt.hpp │ │ ├── jobs.hpp │ │ ├── time.hpp │ │ ├── event.hpp │ │ ├── memory.hpp │ │ ├── mutex.hpp │ │ ├── pipes.hpp │ │ ├── shell.hpp │ │ ├── system.hpp │ │ ├── thread.hpp │ │ ├── timers.hpp │ │ ├── bcrypt.hpp │ │ ├── limits.hpp │ │ ├── dbghelp.hpp │ │ ├── handles.hpp │ │ ├── process.hpp │ │ ├── debugapi.hpp │ │ ├── handle_info.hpp │ │ ├── security.hpp │ │ ├── semaphore.hpp │ │ ├── basic_types.hpp │ │ ├── overlapped.hpp │ │ ├── thread_pool.hpp │ │ ├── environment.hpp │ │ ├── error_codes.hpp │ │ ├── heap_memory.hpp │ │ ├── show_window.hpp │ │ ├── file_mapping.hpp │ │ ├── local_memory.hpp │ │ ├── access_rights.hpp │ │ ├── error_handling.hpp │ │ ├── get_last_error.hpp │ │ ├── waitable_timer.hpp │ │ ├── file_management.hpp │ │ ├── priority_class.hpp │ │ ├── synchronization.hpp │ │ ├── critical_section.hpp │ │ ├── get_thread_times.hpp │ │ ├── get_process_times.hpp │ │ ├── get_current_thread.hpp │ │ ├── get_current_process.hpp │ │ ├── directory_management.hpp │ │ ├── stack_backtrace.hpp │ │ ├── get_current_thread_id.hpp │ │ ├── get_system_directory.hpp │ │ ├── page_protection_flags.hpp │ │ ├── get_current_process_id.hpp │ │ ├── srw_lock.hpp │ │ ├── character_code_conversion.hpp │ │ └── init_once.hpp │ ├── atomic_count.hpp │ ├── quick_allocator.hpp │ └── lightweight_mutex.hpp │ ├── exception │ ├── enable_error_info.hpp │ ├── enable_current_exception.hpp │ ├── error_info.hpp │ ├── errinfo_at_line.hpp │ ├── errinfo_file_handle.hpp │ ├── detail │ │ └── shared_ptr.hpp │ └── errinfo_nested_exception.hpp │ ├── exception_ptr.hpp │ ├── utility │ ├── declval.hpp │ ├── swap.hpp │ ├── addressof.hpp │ ├── enable_if.hpp │ └── explicit_operator_bool.hpp │ ├── iterator_adaptors.hpp │ ├── iterator.hpp │ ├── preprocessor.hpp │ ├── range │ ├── detail │ │ └── less.hpp │ ├── iterator_range.hpp │ └── iterator_range_hash.hpp │ ├── math │ ├── tools │ │ └── numerical_differentiation.hpp │ ├── common_factor.hpp │ └── complex │ │ └── fabs.hpp │ ├── random │ └── detail │ │ ├── config.hpp │ │ └── enable_warnings.hpp │ ├── preprocessor │ ├── punctuation │ │ └── comma.hpp │ └── facilities │ │ └── empty.hpp │ ├── type_traits │ ├── detail │ │ └── template_arity_spec.hpp │ ├── array_traits.hpp │ ├── alignment_traits.hpp │ ├── same_traits.hpp │ ├── reference_traits.hpp │ ├── detected.hpp │ └── conversion_traits.hpp │ ├── integer │ └── common_factor.hpp │ ├── range.hpp │ └── predef.h ├── tests ├── cornac │ └── models │ │ ├── __init__.py │ │ └── dmrl │ │ └── __init__.py ├── graph_data.txt ├── sentiment_data.txt ├── review.txt └── data.txt ├── setup.cfg ├── requirements.txt ├── assets ├── demo.png ├── flow.jpg ├── feedback-dashboard.png └── recommendation-dashboard.png ├── docs ├── source │ ├── _static │ │ ├── logo.png │ │ ├── switcher.json │ │ └── custom.css │ ├── user │ │ ├── images │ │ │ ├── flow.jpg │ │ │ ├── foodrecce1.png │ │ │ ├── foodrecce2.png │ │ │ └── foodrecce-archit.png │ │ └── index.rst │ ├── models │ │ └── index.rst │ ├── api_ref │ │ ├── index.rst │ │ ├── hyperopt.rst │ │ ├── experiment.rst │ │ └── eval_methods.rst │ └── developer │ │ └── index.rst ├── requirements.txt ├── announcement.html └── Makefile ├── MANIFEST.in ├── .github ├── ISSUE_TEMPLATE │ ├── general-ask.md │ └── feature_request.md ├── workflows │ └── release-drafter.yml └── ISSUE_TEMPLATE.md ├── AUTHORS ├── docker-compose.yml ├── .readthedocs.yml ├── .codecov.yml └── .coveragerc /cornac/serving/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/cornac/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/cornac/models/dmrl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cornac/models/coe/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/ibpr/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/vaecf/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/vbpr/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/vmf/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/amr/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 2 | -------------------------------------------------------------------------------- /cornac/models/bivaecf/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/cdl/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==2.12.0 -------------------------------------------------------------------------------- /cornac/models/cdr/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==2.12.0 -------------------------------------------------------------------------------- /cornac/models/cvaecf/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/sansa/requirements.txt: -------------------------------------------------------------------------------- 1 | sansa >= 1.1.0 -------------------------------------------------------------------------------- /cornac/models/upcf/requirements.txt: -------------------------------------------------------------------------------- 1 | similaripy==0.1.3 -------------------------------------------------------------------------------- /cornac/models/wmf/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==2.12.0 -------------------------------------------------------------------------------- /cornac/models/causalrec/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 2 | -------------------------------------------------------------------------------- /cornac/models/conv_mf/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==2.12.0 -------------------------------------------------------------------------------- /cornac/models/cvae/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==2.12.0 2 | -------------------------------------------------------------------------------- /cornac/models/dmrl/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_dmrl import DMRL -------------------------------------------------------------------------------- /cornac/models/ease/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_ease import EASE -------------------------------------------------------------------------------- /cornac/models/gru4rec/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=1.12.0 2 | -------------------------------------------------------------------------------- /cornac/models/hrdr/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==2.6.0 2 | -------------------------------------------------------------------------------- /cornac/models/mf/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_mf import MF 2 | -------------------------------------------------------------------------------- /cornac/models/narre/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==2.6.0 2 | -------------------------------------------------------------------------------- /cornac/models/online_ibpr/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/recvae/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=2.0.0 2 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description_file = README.md 3 | -------------------------------------------------------------------------------- /cornac/models/gcmc/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=2.0.0 2 | dgl>=1.1.0 -------------------------------------------------------------------------------- /cornac/models/hrdr/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_hrdr import HRDR 2 | -------------------------------------------------------------------------------- /cornac/models/ngcf/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=2.0.0 2 | dgl>=1.1.0 -------------------------------------------------------------------------------- /cornac/models/bivaecf/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_bivaecf import BiVAECF -------------------------------------------------------------------------------- /cornac/models/cvaecf/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_cvaecf import CVAECF -------------------------------------------------------------------------------- /cornac/models/dnntsp/requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=2.0.0 2 | dgl>=1.1.0 -------------------------------------------------------------------------------- /cornac/models/lrppm/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_lrppm import LRPPM 2 | -------------------------------------------------------------------------------- /cornac/models/sansa/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_sansa import SANSA 2 | -------------------------------------------------------------------------------- /cornac/models/trirank/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_trirank import TriRank -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | numpy>2.0 2 | scipy 3 | Cython 4 | tqdm 5 | powerlaw -------------------------------------------------------------------------------- /cornac/models/baseline_only/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_bo import BaselineOnly -------------------------------------------------------------------------------- /cornac/models/beacon/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow[and-cuda]==2.15.0 2 | -------------------------------------------------------------------------------- /cornac/models/ncf/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow>=2.12.0 2 | torch>=0.4.1 -------------------------------------------------------------------------------- /cornac/models/pcrl/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==1.15.4 2 | scipy==1.2.1 -------------------------------------------------------------------------------- /cornac/models/recvae/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_recvae import RecVAE 2 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/Eigen/Eigen: -------------------------------------------------------------------------------- 1 | #include "Dense" 2 | #include "Sparse" 3 | -------------------------------------------------------------------------------- /assets/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/assets/demo.png -------------------------------------------------------------------------------- /assets/flow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/assets/flow.jpg -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/test/FFT.cpp: -------------------------------------------------------------------------------- 1 | #define test_FFTW test_FFT 2 | #include "FFTW.cpp" 3 | -------------------------------------------------------------------------------- /tests/graph_data.txt: -------------------------------------------------------------------------------- 1 | 1 24 1 2 | 2 1 1 3 | 24 1 1 4 | 3494 1 1 5 | 4314 1 1 6 | 2490 2 1 7 | 2819 2 1 8 | -------------------------------------------------------------------------------- /assets/feedback-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/assets/feedback-dashboard.png -------------------------------------------------------------------------------- /docs/source/_static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/docs/source/_static/logo.png -------------------------------------------------------------------------------- /tests/sentiment_data.txt: -------------------------------------------------------------------------------- 1 | 76,93,a1:o1:1,a1:o2:-1 2 | 768,257,a2:o1:1 3 | 716,478,a3:o2:1 4 | 76,257,a2:o2:1 5 | -------------------------------------------------------------------------------- /docs/source/user/images/flow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/docs/source/user/images/flow.jpg -------------------------------------------------------------------------------- /assets/recommendation-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/assets/recommendation-dashboard.png -------------------------------------------------------------------------------- /cornac/models/dmrl/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas 2 | torch 3 | sentence_transformers 4 | pytest 5 | dcor 6 | torchvision 7 | requests -------------------------------------------------------------------------------- /docs/source/user/images/foodrecce1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/docs/source/user/images/foodrecce1.png -------------------------------------------------------------------------------- /docs/source/user/images/foodrecce2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/docs/source/user/images/foodrecce2.png -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | include README.md 3 | graft docs 4 | graft examples 5 | graft cornac/models 6 | graft cornac/utils 7 | -------------------------------------------------------------------------------- /docs/source/user/images/foodrecce-archit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PreferredAI/cornac/HEAD/docs/source/user/images/foodrecce-archit.png -------------------------------------------------------------------------------- /tests/review.txt: -------------------------------------------------------------------------------- 1 | 76 93 Sample text 1 2 | 76 257 Sample text 2 3 | 642 257 Sample text 3 4 | 930 257 Sample text 4 5 | 329 705 Sample text 5 6 | -------------------------------------------------------------------------------- /cornac/models/lightgcn/requirements.txt: -------------------------------------------------------------------------------- 1 | # Comment in to use cuda 11.X 2 | #-f https://data.dgl.ai/wheels/cu11X/repo.html 3 | torch==2.0.0 4 | dgl==1.1.0 -------------------------------------------------------------------------------- /cornac/utils/external/eigen/Eigen/src/Core/util/NonMPL2.h: -------------------------------------------------------------------------------- 1 | #ifdef EIGEN_MPL2_ONLY 2 | #error Including non-MPL2 code in EIGEN_MPL2_ONLY mode 3 | #endif 4 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/CTestCustom.cmake.in: -------------------------------------------------------------------------------- 1 | 2 | set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "2000") 3 | set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "2000") 4 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/.hg_archival.txt: -------------------------------------------------------------------------------- 1 | repo: 8a21fd850624c931e448cbcfb38168cb2717c790 2 | node: 5a0156e40feb7c4136680b493c6e433d91a6f355 3 | branch: 3.3 4 | tag: 3.3.4 5 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/blas/f2c/r_cnjg.c: -------------------------------------------------------------------------------- 1 | #include "datatypes.h" 2 | 3 | void r_cnjg(complex *r, complex *z) { 4 | r->r = z->r; 5 | r->i = -(z->i); 6 | } 7 | -------------------------------------------------------------------------------- /docs/source/_static/switcher.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "dev", 4 | "version": "1.17", 5 | "url": "https://cornac.readthedocs.io/1.17/" 6 | } 7 | ] -------------------------------------------------------------------------------- /cornac/utils/external/eigen/blas/f2c/d_cnjg.c: -------------------------------------------------------------------------------- 1 | #include "datatypes.h" 2 | 3 | void d_cnjg(doublecomplex *r, doublecomplex *z) { 4 | r->r = z->r; 5 | r->i = -(z->i); 6 | } 7 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE) 2 | 3 | add_subdirectory(examples) 4 | add_subdirectory(snippets) 5 | -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | Cython>=3.0.5 2 | numpy>=1.26.1 3 | scipy>=1.11.3 4 | pydata-sphinx-theme>=0.14.1 5 | sphinx_design>=0.5.0 6 | sphinx-copybutton>=0.5.2 7 | myst_parser>=2.0.0 8 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/Eigen/Dense: -------------------------------------------------------------------------------- 1 | #include "Core" 2 | #include "LU" 3 | #include "Cholesky" 4 | #include "QR" 5 | #include "SVD" 6 | #include "Geometry" 7 | #include "Eigenvalues" 8 | -------------------------------------------------------------------------------- /cornac/models/ann/__init__.py: -------------------------------------------------------------------------------- 1 | from .recom_ann_annoy import AnnoyANN 2 | from .recom_ann_faiss import FaissANN 3 | from .recom_ann_hnswlib import HNSWLibANN 4 | from .recom_ann_scann import ScaNNANN 5 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/README.md: -------------------------------------------------------------------------------- 1 | **Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.** 2 | 3 | For more information go to http://eigen.tuxfamily.org/. 4 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/blas/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory contains a BLAS library built on top of Eigen. 3 | 4 | This module is not built by default. In order to compile it, you need to 5 | type 'make blas' from within your build dir. 6 | 7 | -------------------------------------------------------------------------------- /tests/data.txt: -------------------------------------------------------------------------------- 1 | 76 93 4 882606572 2 | 768 257 4 880136012 3 | 642 795 4 886570173 4 | 930 709 4 879535663 5 | 329 705 3 891656347 6 | 633 226 4 877212085 7 | 716 478 4 879795735 8 | 871 195 5 888193274 9 | 543 737 3 874866535 10 | 754 282 4 879451804 -------------------------------------------------------------------------------- /docs/announcement.html: -------------------------------------------------------------------------------- 1 |
2 | Cornac 2.0 is now released with support for next-item and next-basket recommendation models. 3 | View here 4 | for more details. 5 |
6 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/.hgeol: -------------------------------------------------------------------------------- 1 | [patterns] 2 | *.sh = LF 3 | *.MINPACK = CRLF 4 | scripts/*.in = LF 5 | debug/msvc/*.dat = CRLF 6 | debug/msvc/*.natvis = CRLF 7 | unsupported/test/mpreal/*.* = CRLF 8 | ** = native 9 | 10 | [repository] 11 | native = LF 12 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/Eigen/src/EulerAngles/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | FILE(GLOB Eigen_EulerAngles_SRCS "*.h") 2 | 3 | INSTALL(FILES 4 | ${Eigen_EulerAngles_SRCS} 5 | DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/src/EulerAngles COMPONENT Devel 6 | ) 7 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/signature_of_eigen3_matrix_library: -------------------------------------------------------------------------------- 1 | This file is just there as a signature to help identify directories containing Eigen3. When writing a script looking for Eigen3, just look for this file. This is especially useful to help disambiguate with Eigen2... 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/general-ask.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: General ask 3 | about: Technical/non-technical asks about the repo 4 | title: "[ASK]" 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ### Description 11 | 12 | 13 | ### Other Comments 14 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Eigen) 2 | add_subdirectory(doc EXCLUDE_FROM_ALL) 3 | if(EIGEN_LEAVE_TEST_IN_ALL_TARGET) 4 | add_subdirectory(test) # can't do EXCLUDE_FROM_ALL here, breaks CTest 5 | else() 6 | add_subdirectory(test EXCLUDE_FROM_ALL) 7 | endif() 8 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/concept/detail/concept_undef.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2006. Distributed under the Boost 2 | // Software License, Version 1.0. (See accompanying 3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | # undef BOOST_concept_typename 5 | # undef BOOST_concept 6 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/config/abi/msvc_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #pragma pack(pop) 7 | 8 | 9 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/eigen3.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=${prefix} 3 | 4 | Name: Eigen3 5 | Description: A C++ template library for linear algebra: vectors, matrices, and related algorithms 6 | Requires: 7 | Version: @EIGEN_VERSION_NUMBER@ 8 | Libs: 9 | Cflags: -I${prefix}/@INCLUDE_INSTALL_DIR@ 10 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | # Names should be added to this file as: 2 | # Name or Organization 3 | # The email address is not required for organizations. 4 | 5 | # Authors are listed chronologically 6 | 7 | Preferred.AI 8 | Hady W. Lauw 9 | Aghiles Salah 10 | Quoc-Tuan Truong 11 | -------------------------------------------------------------------------------- /cornac/models/hypar/requirements.txt: -------------------------------------------------------------------------------- 1 | # Links for torch and dgl 2 | -f https://download.pytorch.org/whl/torch_stable.html 3 | -f https://data.dgl.ai/wheels/torch-2.3/repo.html 4 | 5 | pandas==2.2.3 6 | scikit-learn>=1.0.0 7 | nltk>=3.6 8 | sentence-transformers==2.2.2 9 | dgl==2.4.0 10 | torch==2.3.* 11 | filelock==3.8.2 12 | huggingface_hub>=0.10.0,<0.16.0 -------------------------------------------------------------------------------- /docs/source/models/index.rst: -------------------------------------------------------------------------------- 1 | Models Available 2 | ================ 3 | 4 | Below shows a list of models available in Cornac. 5 | Clicking on the model name will take you to the model's API documentation. 6 | 7 | .. raw:: html 8 | :file: ../_static/models/models.html 9 | 10 | .. raw:: html 11 | :file: ../_static/models/models_modalities.html 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/detail/os_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_OS_DETECTED 9 | #define BOOST_PREDEF_DETAIL_OS_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/detail/comp_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_COMP_DETECTED 9 | #define BOOST_PREDEF_DETAIL_COMP_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/detail/platform_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_PLAT_DETECTED 9 | #define BOOST_PREDEF_DETAIL_PLAT_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /cornac/models/hypar/requirements_cu118.txt: -------------------------------------------------------------------------------- 1 | # Links for torch and dgl 2 | 3 | -f https://data.dgl.ai/wheels/torch-2.3/cu118/repo.html 4 | 5 | pandas==2.2.3 6 | scikit-learn>=1.0.0 7 | nltk>=3.6 8 | sentence-transformers==2.2.2 9 | dgl==2.4.0+cu118 10 | filelock==3.8.2 11 | huggingface_hub>=0.10.0,<0.16.0 12 | 13 | --index-url https://download.pytorch.org/whl/cu118 14 | torch==2.3.* -------------------------------------------------------------------------------- /cornac/utils/external/boost/config/abi/borland_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | # pragma option pop 7 | #pragma nopushoptwarn 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/Eigen/CXX11/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(Eigen_CXX11_HEADERS Tensor TensorSymmetry ThreadPool) 2 | 3 | install(FILES 4 | ${Eigen_CXX11_HEADERS} 5 | DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/CXX11 COMPONENT Devel 6 | ) 7 | 8 | install(DIRECTORY src DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/CXX11 COMPONENT Devel FILES_MATCHING PATTERN "*.h") 9 | -------------------------------------------------------------------------------- /docs/source/api_ref/index.rst: -------------------------------------------------------------------------------- 1 | API Reference 2 | ============= 3 | 4 | Welcome to the API Reference. This section contains the documentation of the 5 | functions and classes of the ``cornac`` package. 6 | 7 | .. toctree:: 8 | :maxdepth: 2 9 | :caption: API Reference 10 | 11 | data 12 | models 13 | metrics 14 | eval_methods 15 | experiment 16 | datasets 17 | hyperopt 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/preprocessed/bcc551/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/preprocessed/msvc60/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2008 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // *Preprocessed* version of the main "quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.7' 2 | 3 | services: 4 | cornac: 5 | image: ghcr.io/preferredai/cornac-server:latest 6 | volumes: 7 | - $PWD/save_dir:/app/cornac/serving/save_dir 8 | - cornacvol:/app/cornac/serving/data 9 | environment: 10 | - MODEL_PATH=save_dir/bpr 11 | - MODEL_CLASS=cornac.models.BPR 12 | ports: 13 | - 8080:5000 14 | volumes: 15 | cornacvol: 16 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/core/use_default.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2019 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_CORE_USE_DEFAULT_HPP 9 | #define BOOST_CORE_USE_DEFAULT_HPP 10 | 11 | namespace boost { 12 | 13 | struct use_default { }; 14 | 15 | } /* boost */ 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/workaround.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2002. 2 | // Distributed under the Boost Software License, Version 1.0. (See 3 | // accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | #ifndef WORKAROUND_DWA2002126_HPP 6 | #define WORKAROUND_DWA2002126_HPP 7 | 8 | #include 9 | 10 | #endif // WORKAROUND_DWA2002126_HPP 11 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/preprocessed/plain/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/library/c/_prefix.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_LIBRARY_C__PREFIX_H 9 | #define BOOST_PREDEF_LIBRARY_C__PREFIX_H 10 | 11 | #include 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /docs/source/api_ref/hyperopt.rst: -------------------------------------------------------------------------------- 1 | Hyper-parameter Tuning 2 | ====================== 3 | 4 | 5 | Grid Search 6 | --------------- 7 | .. automodule:: cornac.hyperopt 8 | :members: GridSearch 9 | 10 | Random Search 11 | -------------------- 12 | .. automodule:: cornac.hyperopt 13 | :members: RandomSearch 14 | 15 | Search Domain 16 | --------------- 17 | .. automodule:: cornac.hyperopt 18 | :members: Discrete, Continuous -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: "[FEATURE]" 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ### Description 11 | 12 | 13 | ### Expected behavior with the suggested feature 14 | 15 | 16 | 17 | ### Other Comments 18 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/.hgignore: -------------------------------------------------------------------------------- 1 | syntax: glob 2 | qrc_*cxx 3 | *.orig 4 | *.pyc 5 | *.diff 6 | diff 7 | *.save 8 | save 9 | *.old 10 | *.gmo 11 | *.qm 12 | core 13 | core.* 14 | *.bak 15 | *~ 16 | build* 17 | *.moc.* 18 | *.moc 19 | ui_* 20 | CMakeCache.txt 21 | tags 22 | .*.swp 23 | activity.png 24 | *.out 25 | *.php* 26 | *.log 27 | *.orig 28 | *.rej 29 | log 30 | patch 31 | a 32 | a.* 33 | lapack/testing 34 | lapack/reference 35 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/detail/_exception.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL__EXCEPTION_H 9 | #define BOOST_PREDEF_DETAIL__EXCEPTION_H 10 | 11 | #if defined(__cplusplus) 12 | #include 13 | #endif 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /.readthedocs.yml: -------------------------------------------------------------------------------- 1 | # .readthedocs.yml 2 | 3 | # Required 4 | version: 2 5 | 6 | # Set the version of Python and other tools you might need 7 | build: 8 | os: ubuntu-22.04 9 | tools: 10 | python: "3.11" 11 | 12 | # Build documentation in the docs/ directory with Sphinx 13 | sphinx: 14 | configuration: docs/source/conf.py 15 | 16 | python: 17 | install: 18 | - requirements: docs/requirements.txt 19 | - method: pip 20 | path: . 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/endian.hpp: -------------------------------------------------------------------------------- 1 | // Copyright 2013 Rene Rivera 2 | // Distributed under the Boost Software License, Version 1.0. (See accompany- 3 | // ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | #ifndef BOOST_DETAIL_ENDIAN_HPP 6 | #define BOOST_DETAIL_ENDIAN_HPP 7 | 8 | // Use the Predef library for the detection of endianess. 9 | #include 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/exception/enable_error_info.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_A0F7404AF7CF11E6908227DD14915323 7 | #define UUID_A0F7404AF7CF11E6908227DD14915323 8 | 9 | #include 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/exception_ptr.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_FA5836A2CADA11DC8CD47C8555D89593 7 | #define UUID_FA5836A2CADA11DC8CD47C8555D89593 8 | 9 | #include 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2015-2016 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_VERSION_H 9 | #define BOOST_PREDEF_VERSION_H 10 | 11 | #include 12 | 13 | #define BOOST_PREDEF_VERSION BOOST_VERSION_NUMBER(1,10,0) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/exception/enable_current_exception.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_851700A4F7CF11E6B2EE06DD14915323 7 | #define UUID_851700A4F7CF11E6B2EE06DD14915323 8 | 9 | #include 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/exception/error_info.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_EE7ECCA0433B11E1923E37064924019B 7 | #define UUID_EE7ECCA0433B11E1923E37064924019B 8 | namespace boost { template class error_info; } 9 | #endif 10 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/detail/_cassert.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL__CASSERT_H 9 | #define BOOST_PREDEF_DETAIL__CASSERT_H 10 | 11 | #if defined(__cplusplus) 12 | #include 13 | #else 14 | #include 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/detail/test.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_TEST_H 9 | #define BOOST_PREDEF_DETAIL_TEST_H 10 | 11 | #if !defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 12 | 13 | #define BOOST_PREDEF_DECLARE_TEST(x,s) 14 | 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/utility/declval.hpp: -------------------------------------------------------------------------------- 1 | // declval.hpp -------------------------------------------------------------// 2 | 3 | // Copyright 2010 Vicente J. Botet Escriba 4 | 5 | // Distributed under the Boost Software License, Version 1.0. 6 | // See http://www.boost.org/LICENSE_1_0.txt 7 | 8 | #ifndef BOOST_UTILITY_DECLVAL_HPP 9 | #define BOOST_UTILITY_DECLVAL_HPP 10 | 11 | #include 12 | 13 | #endif // BOOST_UTILITY_DECLVAL_HPP 14 | -------------------------------------------------------------------------------- /cornac/models/sansa/README.md: -------------------------------------------------------------------------------- 1 | # Dependencies 2 | Training of SANSA uses [scikit-sparse](https://github.com/scikit-sparse/scikit-sparse), which depends on the [SuiteSparse](https://github.com/DrTimothyAldenDavis/SuiteSparse) numerical library. To install SuiteSparse on Ubuntu and macOS, run the commands below: 3 | ``` 4 | # Ubuntu 5 | sudo apt-get install libsuitesparse-dev 6 | 7 | # macOS 8 | brew install suite-sparse 9 | ``` 10 | After installing SuiteSparse, simply install the requirements.txt. -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/MatrixExponential.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | const double pi = std::acos(-1.0); 9 | 10 | MatrixXd A(3,3); 11 | A << 0, -pi/4, 0, 12 | pi/4, 0, 0, 13 | 0, 0, 0; 14 | std::cout << "The matrix A is:\n" << A << "\n\n"; 15 | std::cout << "The matrix exponential of A is:\n" << A.exp() << "\n\n"; 16 | } 17 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/MatrixPower.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | const double pi = std::acos(-1.0); 9 | Matrix3d A; 10 | A << cos(1), -sin(1), 0, 11 | sin(1), cos(1), 0, 12 | 0 , 0 , 1; 13 | std::cout << "The matrix A is:\n" << A << "\n\n" 14 | "The matrix power A^(pi/4) is:\n" << A.pow(pi/4) << std::endl; 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/utility/swap.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_SWAP_HPP 10 | #define BOOST_UTILITY_SWAP_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/swap.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/MatrixLogarithm.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | using std::sqrt; 9 | MatrixXd A(3,3); 10 | A << 0.5*sqrt(2), -0.5*sqrt(2), 0, 11 | 0.5*sqrt(2), 0.5*sqrt(2), 0, 12 | 0, 0, 1; 13 | std::cout << "The matrix A is:\n" << A << "\n\n"; 14 | std::cout << "The matrix logarithm of A is:\n" << A.log() << "\n"; 15 | } 16 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/other.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_OTHER_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_OTHER_H 10 | #define BOOST_PREDEF_OTHER_H 11 | #endif 12 | 13 | #include 14 | /*#include */ 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /.codecov.yml: -------------------------------------------------------------------------------- 1 | codecov: 2 | branch: master 3 | 4 | comment: false 5 | 6 | coverage: 7 | status: 8 | project: 9 | default: 10 | # Commits pushed to master should not make the overall 11 | # project coverage decrease by more than 1%: 12 | target: auto 13 | threshold: 1% 14 | # patch: 15 | # default: 16 | # # Be tolerant on slight code coverage diff on PRs to limit 17 | # # noisy red coverage status on github PRs. 18 | # target: auto 19 | # threshold: 1% -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- 1 | [report] 2 | # Regexes for lines to exclude from consideration 3 | exclude_lines = 4 | pragma: no cover 5 | os.remove 6 | except ImportError 7 | # Don't complain if tests don't hit defensive assertion code: 8 | raise ImportError 9 | raise NotImplementedError 10 | 11 | show_missing = True 12 | include = 13 | */cornac/* 14 | omit = 15 | */cornac/models/* 16 | */cornac/datasets/* 17 | # ignored until being fixed 18 | cornac/eval_methods/propensity_stratified_evaluation.py 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/hardware.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Charly Chevalier 2015 3 | Copyright Joel Falcou 2015 4 | Distributed under the Boost Software License, Version 1.0. 5 | (See accompanying file LICENSE_1_0.txt or copy at 6 | http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #if !defined(BOOST_PREDEF_HARDWARE_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 10 | #ifndef BOOST_PREDEF_HARDWARE_H 11 | #define BOOST_PREDEF_HARDWARE_H 12 | #endif 13 | 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/utility/addressof.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_ADDRESSOF_HPP 10 | #define BOOST_UTILITY_ADDRESSOF_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/addressof.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/utility/enable_if.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_ENABLE_IF_HPP 10 | #define BOOST_UTILITY_ENABLE_IF_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/enable_if.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/blas/xerbla.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #if (defined __GNUC__) && (!defined __MINGW32__) && (!defined __CYGWIN__) 5 | #define EIGEN_WEAK_LINKING __attribute__ ((weak)) 6 | #else 7 | #define EIGEN_WEAK_LINKING 8 | #endif 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | { 13 | #endif 14 | 15 | EIGEN_WEAK_LINKING int xerbla_(const char * msg, int *info, int) 16 | { 17 | printf("Eigen BLAS ERROR #%i: %s\n", *info, msg ); 18 | return 0; 19 | } 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/library.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LIBRARY_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LIBRARY_H 10 | #define BOOST_PREDEF_LIBRARY_H 11 | #endif 12 | 13 | #include 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /cornac/models/bpr/recom_bpr.h: -------------------------------------------------------------------------------- 1 | #ifndef RECOM_BPR_H_ 2 | #define RECOM_BPR_H_ 3 | 4 | // We need to get the thread number to figure out which RNG to use, 5 | // but this will fail on OSX etc if we have no openmp enabled compiler. 6 | // Cython won't let me #ifdef this, so I'm doing it here 7 | 8 | #ifdef _OPENMP 9 | #include 10 | #endif 11 | 12 | namespace recom_bpr { 13 | #ifdef _OPENMP 14 | inline int get_thread_num() { return omp_get_thread_num(); } 15 | #else 16 | inline int get_thread_num() { return 0; } 17 | #endif 18 | } 19 | #endif -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/max.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_MAX_HPP_INCLUDED 3 | #define BOOST_MPL_MAX_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_MAX_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/min.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_MIN_HPP_INCLUDED 3 | #define BOOST_MPL_MIN_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_MIN_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/config/platform/amigaos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #define BOOST_PLATFORM "AmigaOS" 9 | 10 | #define BOOST_DISABLE_THREADS 11 | #define BOOST_NO_CWCHAR 12 | #define BOOST_NO_STD_WSTRING 13 | #define BOOST_NO_INTRINSIC_WCHAR_T 14 | 15 | 16 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/end.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_END_HPP_INCLUDED 3 | #define BOOST_MPL_END_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_END_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/lightweight_test.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_DETAIL_LIGHTWEIGHT_TEST_HPP 10 | #define BOOST_DETAIL_LIGHTWEIGHT_TEST_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/lightweight_test.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/begin.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_BEGIN_HPP_INCLUDED 3 | #define BOOST_MPL_BEGIN_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_BEGIN_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/next.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_NEXT_HPP_INCLUDED 3 | #define BOOST_MPL_NEXT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_NEXT_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/prior.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_PRIOR_HPP_INCLUDED 3 | #define BOOST_MPL_PRIOR_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_PRIOR_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/scoped_enum_emulation.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_DETAIL_SCOPED_ENUM_EMULATION_HPP 10 | #define BOOST_DETAIL_SCOPED_ENUM_EMULATION_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/scoped_enum.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/iterator_adaptors.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2004. Distributed under the Boost 2 | // Software License, Version 1.0. (See accompanying 3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | // See www.boost.org/libs/iterator for documentation. 6 | 7 | #ifndef ITERATOR_ADAPTORS_DWA2004725_HPP 8 | # define ITERATOR_ADAPTORS_DWA2004725_HPP 9 | 10 | #define BOOST_ITERATOR_ADAPTORS_VERSION 0x0200 11 | #include 12 | 13 | #endif // ITERATOR_ADAPTORS_DWA2004725_HPP 14 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/MatrixPower_optimal.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | Matrix4cd A = Matrix4cd::Random(); 9 | MatrixPower Apow(A); 10 | 11 | std::cout << "The matrix A is:\n" << A << "\n\n" 12 | "A^3.1 is:\n" << Apow(3.1) << "\n\n" 13 | "A^3.3 is:\n" << Apow(3.3) << "\n\n" 14 | "A^3.7 is:\n" << Apow(3.7) << "\n\n" 15 | "A^3.9 is:\n" << Apow(3.9) << std::endl; 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/MatrixSquareRoot.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | const double pi = std::acos(-1.0); 9 | 10 | MatrixXd A(2,2); 11 | A << cos(pi/3), -sin(pi/3), 12 | sin(pi/3), cos(pi/3); 13 | std::cout << "The matrix A is:\n" << A << "\n\n"; 14 | std::cout << "The matrix square root of A is:\n" << A.sqrt() << "\n\n"; 15 | std::cout << "The square of the last matrix is:\n" << A.sqrt() * A.sqrt() << "\n"; 16 | } 17 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/config/platform/cray.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // SGI Irix specific config options: 10 | 11 | #define BOOST_PLATFORM "Cray" 12 | 13 | // boilerplate code: 14 | #define BOOST_HAS_UNISTD_H 15 | #include 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/no_exceptions_support.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_DETAIL_NO_EXCEPTIONS_SUPPORT_HPP 10 | #define BOOST_DETAIL_NO_EXCEPTIONS_SUPPORT_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/no_exceptions_support.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/iterator.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Beman Dawes 2000. Distributed under the Boost 2 | // Software License, Version 1.0. (See accompanying file 3 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | #ifndef BOOST_ITERATOR_HPP 6 | #define BOOST_ITERATOR_HPP 7 | 8 | // This header is obsolete and will be deprecated. 9 | 10 | #include 11 | #include // std::ptrdiff_t 12 | 13 | namespace boost 14 | { 15 | 16 | using std::iterator; 17 | 18 | } // namespace boost 19 | 20 | #endif // BOOST_ITERATOR_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/alias.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_ALIAS_HPP_INCLUDED 3 | #define BOOST_MPL_ALIAS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace { 18 | namespace mpl = boost::mpl; 19 | } 20 | 21 | #endif // BOOST_MPL_ALIAS_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/config.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/config.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_ 11 | #define BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_ 12 | 13 | #include 14 | 15 | #ifdef BOOST_HAS_PRAGMA_ONCE 16 | #pragma once 17 | #endif 18 | 19 | #endif // BOOST_DETAIL_WINAPI_CONFIG_HPP_INCLUDED_ 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/utility/explicit_operator_bool.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_EXPLICIT_OPERATOR_BOOL_HPP 10 | #define BOOST_UTILITY_EXPLICIT_OPERATOR_BOOL_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/explicit_operator_bool.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/Eigen/src/misc/lapacke_mangling.h: -------------------------------------------------------------------------------- 1 | #ifndef LAPACK_HEADER_INCLUDED 2 | #define LAPACK_HEADER_INCLUDED 3 | 4 | #ifndef LAPACK_GLOBAL 5 | #if defined(LAPACK_GLOBAL_PATTERN_LC) || defined(ADD_) 6 | #define LAPACK_GLOBAL(lcname,UCNAME) lcname##_ 7 | #elif defined(LAPACK_GLOBAL_PATTERN_UC) || defined(UPPER) 8 | #define LAPACK_GLOBAL(lcname,UCNAME) UCNAME 9 | #elif defined(LAPACK_GLOBAL_PATTERN_MC) || defined(NOCHANGE) 10 | #define LAPACK_GLOBAL(lcname,UCNAME) lcname 11 | #else 12 | #define LAPACK_GLOBAL(lcname,UCNAME) lcname##_ 13 | #endif 14 | #endif 15 | 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/apc.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/apc.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_APC_HPP 11 | #define BOOST_DETAIL_WINAPI_APC_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_APC_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/dll.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/dll.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_DLL_HPP 11 | #define BOOST_DETAIL_WINAPI_DLL_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_DLL_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/tls.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/tls.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_TLS_HPP 11 | #define BOOST_DETAIL_WINAPI_TLS_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_TLS_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/preprocessor.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org/libs/preprocessor for documentation. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_HPP 15 | # define BOOST_PREPROCESSOR_HPP 16 | # 17 | # include 18 | # 19 | # endif 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/wait.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/wait.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_WAIT_HPP 11 | #define BOOST_DETAIL_WINAPI_WAIT_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_WAIT_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/crypt.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/crypt.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_CRYPT_HPP 11 | #define BOOST_DETAIL_WINAPI_CRYPT_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_CRYPT_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/jobs.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/jobs.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_JOBS_HPP_ 11 | #define BOOST_DETAIL_WINAPI_JOBS_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_JOBS_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/time.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/time.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_TIME_HPP_ 11 | #define BOOST_DETAIL_WINAPI_TIME_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_TIME_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/event.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/event.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_EVENT_HPP_ 11 | #define BOOST_DETAIL_WINAPI_EVENT_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_EVENT_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/memory.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/memory.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_MEMORY_HPP 11 | #define BOOST_DETAIL_WINAPI_MEMORY_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_MEMORY_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/mutex.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/mutex.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_MUTEX_HPP_ 11 | #define BOOST_DETAIL_WINAPI_MUTEX_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_MUTEX_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/pipes.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/pipes.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_PIPES_HPP_ 11 | #define BOOST_DETAIL_WINAPI_PIPES_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_PIPES_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/shell.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/shell.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_SHELL_HPP_ 11 | #define BOOST_DETAIL_WINAPI_SHELL_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_SHELL_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/system.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/system.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_SYSTEM_HPP 11 | #define BOOST_DETAIL_WINAPI_SYSTEM_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_SYSTEM_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/thread.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/thread.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_THREAD_HPP 11 | #define BOOST_DETAIL_WINAPI_THREAD_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_THREAD_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/timers.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/timers.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_TIMERS_HPP 11 | #define BOOST_DETAIL_WINAPI_TIMERS_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_TIMERS_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/bcrypt.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/bcrypt.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_BCRYPT_HPP_ 11 | #define BOOST_DETAIL_WINAPI_BCRYPT_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_BCRYPT_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/limits.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/limits.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_LIMITS_HPP_ 11 | #define BOOST_DETAIL_WINAPI_LIMITS_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_LIMITS_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/dbghelp.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/dbghelp.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_DBGHELP_HPP 11 | #define BOOST_DETAIL_WINAPI_DBGHELP_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_DBGHELP_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/handles.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/handles.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_HANDLES_HPP 11 | #define BOOST_DETAIL_WINAPI_HANDLES_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_HANDLES_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/process.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/process.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_PROCESS_HPP_ 11 | #define BOOST_DETAIL_WINAPI_PROCESS_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_PROCESS_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/config/workaround.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/logical.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LOGICAL_HPP_INCLUDED 3 | #define BOOST_MPL_LOGICAL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | #include 19 | #include 20 | 21 | #endif // BOOST_MPL_LOGICAL_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/language.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LANGUAGE_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LANGUAGE_H 10 | #define BOOST_PREDEF_LANGUAGE_H 11 | #endif 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/range/detail/less.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2019 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_RANGE_DETAIL_LESS 9 | #define BOOST_RANGE_DETAIL_LESS 10 | 11 | namespace boost { 12 | namespace range { 13 | namespace detail { 14 | 15 | struct less { 16 | template 17 | bool operator()(const T& lhs, const U& rhs) const { 18 | return lhs < rhs; 19 | } 20 | }; 21 | 22 | } /* detail */ 23 | } /* range */ 24 | } /* boost */ 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | ## This file should be placed in the root directory of your project. 2 | ## Then modify the CMakeLists.txt file in the root directory of your 3 | ## project to incorporate the testing dashboard. 4 | ## # The following are required to uses Dart and the Cdash dashboard 5 | ## ENABLE_TESTING() 6 | ## INCLUDE(CTest) 7 | set(CTEST_PROJECT_NAME "Eigen3.3") 8 | set(CTEST_NIGHTLY_START_TIME "00:00:00 UTC") 9 | 10 | set(CTEST_DROP_METHOD "http") 11 | set(CTEST_DROP_SITE "manao.inria.fr") 12 | set(CTEST_DROP_LOCATION "/CDash/submit.php?project=Eigen3.3") 13 | set(CTEST_DROP_SITE_CDASH TRUE) 14 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/config/compiler/compaq_cxx.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Tru64 C++ compiler setup (now HP): 9 | 10 | #define BOOST_COMPILER "HP Tru64 C++ " BOOST_STRINGIZE(__DECCXX_VER) 11 | 12 | #include 13 | 14 | // 15 | // versions check: 16 | // Nothing to do here? 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/debugapi.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/debugapi.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_DEBUGAPI_HPP 11 | #define BOOST_DETAIL_WINAPI_DEBUGAPI_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_DEBUGAPI_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/handle_info.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/handle_info.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_HANDLE_INFO_HPP_ 11 | #define BOOST_DETAIL_HANDLE_INFO_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_HANDLE_INFO_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/security.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/security.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_SECURITY_HPP 11 | #define BOOST_DETAIL_WINAPI_SECURITY_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_SECURITY_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/config/msvc.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | 18 | // BOOST_MSVC is defined here: 19 | #include 20 | 21 | #endif // BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/less.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LESS_HPP_INCLUDED 3 | #define BOOST_MPL_LESS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME less 18 | #define AUX778076_OP_TOKEN < 19 | #include 20 | 21 | #endif // BOOST_MPL_LESS_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/plus.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_PLUS_HPP_INCLUDED 3 | #define BOOST_MPL_PLUS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME plus 18 | #define AUX778076_OP_TOKEN + 19 | #include 20 | 21 | #endif // BOOST_MPL_PLUS_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/MatrixFunction.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | std::complex expfn(std::complex x, int) 7 | { 8 | return std::exp(x); 9 | } 10 | 11 | int main() 12 | { 13 | const double pi = std::acos(-1.0); 14 | 15 | MatrixXd A(3,3); 16 | A << 0, -pi/4, 0, 17 | pi/4, 0, 0, 18 | 0, 0, 0; 19 | 20 | std::cout << "The matrix A is:\n" << A << "\n\n"; 21 | std::cout << "The matrix exponential of A is:\n" 22 | << A.matrixFunction(expfn) << "\n\n"; 23 | } 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/math/tools/numerical_differentiation.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Nick Thompson 2018. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | #ifndef BOOST_MATH_TOOLS_NUMERICAL_DIFFERENTIATION_HPP 6 | #define BOOST_MATH_TOOLS_NUMERICAL_DIFFERENTIATION_HPP 7 | #include 8 | #include 9 | 10 | BOOST_HEADER_DEPRECATED(""); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/limits/map.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_MAP_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_MAP_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_MAP_SIZE) 18 | # define BOOST_MPL_LIMIT_MAP_SIZE 20 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_MAP_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/limits/set.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_SET_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_SET_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_SET_SIZE) 18 | # define BOOST_MPL_LIMIT_SET_SIZE 20 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_SET_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/minus.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_MINUS_HPP_INCLUDED 3 | #define BOOST_MPL_MINUS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME minus 18 | #define AUX778076_OP_TOKEN - 19 | #include 20 | 21 | #endif // BOOST_MPL_MINUS_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/times.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_TIMES_HPP_INCLUDED 3 | #define BOOST_MPL_TIMES_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME times 18 | #define AUX778076_OP_TOKEN * 19 | #include 20 | 21 | #endif // BOOST_MPL_TIMES_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/range/iterator_range.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Range library 2 | // 3 | // Copyright Neil Groves 2009. 4 | // Use, modification and distribution is subject to the Boost Software 5 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | // For more information, see http://www.boost.org/libs/range/ 9 | // 10 | #ifndef BOOST_RANGE_ITERATOR_RANGE_HPP_INCLUDED 11 | #define BOOST_RANGE_ITERATOR_RANGE_HPP_INCLUDED 12 | 13 | #include "boost/range/iterator_range_core.hpp" 14 | #include "boost/range/iterator_range_io.hpp" 15 | 16 | #endif // include guard 17 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/semaphore.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/semaphore.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_SEMAPHORE_HPP_ 11 | #define BOOST_DETAIL_WINAPI_SEMAPHORE_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_SEMAPHORE_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/limits/list.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_LIST_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_LIST_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_LIST_SIZE) 18 | # define BOOST_MPL_LIMIT_LIST_SIZE 20 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_LIST_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /docs/source/developer/index.rst: -------------------------------------------------------------------------------- 1 | =================== 2 | Contributors Guide 3 | =================== 4 | 5 | Welcome to the Cornac project! We appreciate your interest 6 | in contributing to our open-source recommender system package. 7 | 8 | This document serves as a guide to help you get started with contributing to Cornac. 9 | We value and welcome contributions from developers of all experience levels. 10 | Whether you are new to open source or an experienced contributor, you can help us improve Cornac. 11 | 12 | .. toctree:: 13 | :glob: 14 | :maxdepth: 2 15 | :caption: Contributing 16 | 17 | gettingstarted 18 | contributing 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/basic_types.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/basic_types.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_BASIC_TYPES_HPP 11 | #define BOOST_DETAIL_WINAPI_BASIC_TYPES_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_BASIC_TYPES_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/overlapped.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/overlapped.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_ 11 | #define BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/thread_pool.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/thread_pool.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_THREAD_POOL_HPP 11 | #define BOOST_DETAIL_WINAPI_THREAD_POOL_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_THREAD_POOL_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/config/intel.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | 18 | // BOOST_INTEL_CXX_VERSION is defined here: 19 | #include 20 | 21 | #endif // BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/divides.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_DIVIDES_HPP_INCLUDED 3 | #define BOOST_MPL_DIVIDES_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME divides 18 | #define AUX778076_OP_TOKEN / 19 | #include 20 | 21 | #endif // BOOST_MPL_DIVIDES_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/greater.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_GREATER_HPP_INCLUDED 3 | #define BOOST_MPL_GREATER_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME greater 18 | #define AUX778076_OP_TOKEN > 19 | #include 20 | 21 | #endif // BOOST_MPL_GREATER_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/int.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INT_HPP_INCLUDED 3 | #define BOOST_MPL_INT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #define AUX_WRAPPER_VALUE_TYPE int 20 | #include 21 | 22 | #endif // BOOST_MPL_INT_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/config/platform/cloudabi.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Nuxi, https://nuxi.nl/ 2015. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #define BOOST_PLATFORM "CloudABI" 7 | 8 | #define BOOST_HAS_DIRENT_H 9 | #define BOOST_HAS_STDINT_H 10 | #define BOOST_HAS_UNISTD_H 11 | 12 | #define BOOST_HAS_CLOCK_GETTIME 13 | #define BOOST_HAS_EXPM1 14 | #define BOOST_HAS_GETTIMEOFDAY 15 | #define BOOST_HAS_LOG1P 16 | #define BOOST_HAS_NANOSLEEP 17 | #define BOOST_HAS_PTHREADS 18 | #define BOOST_HAS_SCHED_YIELD 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/environment.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/environment.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_ENVIRONMENT_HPP_ 11 | #define BOOST_DETAIL_WINAPI_ENVIRONMENT_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_ENVIRONMENT_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/error_codes.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/error_codes.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_ERROR_CODES_HPP_ 11 | #define BOOST_DETAIL_WINAPI_ERROR_CODES_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_ERROR_CODES_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/heap_memory.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/heap_memory.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_HEAP_MEMORY_HPP_ 11 | #define BOOST_DETAIL_WINAPI_HEAP_MEMORY_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_HEAP_MEMORY_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/show_window.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/show_window.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_SHOW_WINDOW_HPP_ 11 | #define BOOST_DETAIL_WINAPI_SHOW_WINDOW_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_SHOW_WINDOW_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/equal_to.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_EQUAL_TO_HPP_INCLUDED 3 | #define BOOST_MPL_EQUAL_TO_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME equal_to 18 | #define AUX778076_OP_TOKEN == 19 | #include 20 | 21 | #endif // BOOST_MPL_EQUAL_TO_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/long.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LONG_HPP_INCLUDED 3 | #define BOOST_MPL_LONG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #define AUX_WRAPPER_VALUE_TYPE long 20 | #include 21 | 22 | #endif // BOOST_MPL_LONG_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/MatrixSine.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | MatrixXd A = MatrixXd::Random(3,3); 9 | std::cout << "A = \n" << A << "\n\n"; 10 | 11 | MatrixXd sinA = A.sin(); 12 | std::cout << "sin(A) = \n" << sinA << "\n\n"; 13 | 14 | MatrixXd cosA = A.cos(); 15 | std::cout << "cos(A) = \n" << cosA << "\n\n"; 16 | 17 | // The matrix functions satisfy sin^2(A) + cos^2(A) = I, 18 | // like the scalar functions. 19 | std::cout << "sin^2(A) + cos^2(A) = \n" << sinA*sinA + cosA*cosA << "\n\n"; 20 | } 21 | -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- 1 | name: Release Drafter 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | pull_request: 8 | types: [opened, reopened, synchronize] 9 | 10 | permissions: 11 | contents: read 12 | 13 | jobs: 14 | update_release_draft: 15 | permissions: 16 | contents: write 17 | pull-requests: write 18 | runs-on: ubuntu-latest 19 | steps: 20 | - name: Draft release 21 | uses: release-drafter/release-drafter@v5.25.0 22 | id: release_drafter 23 | with: 24 | config-name: draft-config.yml 25 | env: 26 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/file_mapping.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/file_mapping.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_FILE_MAPPING_HPP 11 | #define BOOST_DETAIL_WINAPI_FILE_MAPPING_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_FILE_MAPPING_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/local_memory.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/local_memory.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_LOCAL_MEMORY_HPP 11 | #define BOOST_DETAIL_WINAPI_LOCAL_MEMORY_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_LOCAL_MEMORY_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/limits/vector.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_VECTOR_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_VECTOR_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_VECTOR_SIZE) 18 | # define BOOST_MPL_LIMIT_VECTOR_SIZE 20 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_VECTOR_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/random/detail/config.hpp: -------------------------------------------------------------------------------- 1 | /* boost random/detail/config.hpp header file 2 | * 3 | * Copyright Steven Watanabe 2009 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | * 8 | * See http://www.boost.org for most recent version including documentation. 9 | * 10 | * $Id$ 11 | */ 12 | 13 | #include 14 | 15 | #if (defined(BOOST_NO_OPERATORS_IN_NAMESPACE) || defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)) \ 16 | && !defined(BOOST_MSVC) 17 | #define BOOST_RANDOM_NO_STREAM_OPERATORS 18 | #endif 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/access_rights.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/access_rights.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_ACCESS_RIGHTS_HPP 11 | #define BOOST_DETAIL_WINAPI_ACCESS_RIGHTS_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_ACCESS_RIGHTS_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/config/use_preprocessed.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_USE_PREPROCESSED_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_USE_PREPROCESSED_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | // #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS 18 | 19 | #endif // BOOST_MPL_AUX_CONFIG_USE_PREPROCESSED_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/less_equal.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LESS_EQUAL_HPP_INCLUDED 3 | #define BOOST_MPL_LESS_EQUAL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME less_equal 18 | #define AUX778076_OP_TOKEN <= 19 | #include 20 | 21 | #endif // BOOST_MPL_LESS_EQUAL_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/limits/unrolling.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_UNROLLING_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_UNROLLING_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_UNROLLING) 18 | # define BOOST_MPL_LIMIT_UNROLLING 4 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_UNROLLING_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/preprocessor/punctuation/comma.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_PUNCTUATION_COMMA_HPP 15 | # define BOOST_PREPROCESSOR_PUNCTUATION_COMMA_HPP 16 | # 17 | # /* BOOST_PP_COMMA */ 18 | # 19 | # define BOOST_PP_COMMA() , 20 | # 21 | # endif 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/type_traits/detail/template_arity_spec.hpp: -------------------------------------------------------------------------------- 1 | // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION 2 | 3 | // Copyright Aleksey Gurtovoy 2002-2004 4 | // 5 | // Distributed under the Boost Software License, Version 1.0. 6 | // (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | // 10 | // This header is deprecated and no longer used by type_traits: 11 | // 12 | #if defined(__GNUC__) || defined(_MSC_VER) 13 | # pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated") 14 | #endif 15 | 16 | # define BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(i, name) /**/ 17 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/error_handling.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/error_handling.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_ERROR_HANDLING_HPP 11 | #define BOOST_DETAIL_WINAPI_ERROR_HANDLING_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_ERROR_HANDLING_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/get_last_error.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/get_last_error.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_GET_LAST_ERROR_HPP 11 | #define BOOST_DETAIL_WINAPI_GET_LAST_ERROR_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_GET_LAST_ERROR_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/waitable_timer.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/waitable_timer.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_WAITABLE_TIMER_HPP 11 | #define BOOST_DETAIL_WINAPI_WAITABLE_TIMER_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_WAITABLE_TIMER_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/limits/arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_METAFUNCTION_ARITY) 18 | # define BOOST_MPL_LIMIT_METAFUNCTION_ARITY 5 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/list/aux_/tag.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIST_AUX_TAG_HPP_INCLUDED 3 | #define BOOST_MPL_LIST_AUX_TAG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { namespace aux { 18 | 19 | struct list_tag; 20 | struct l_iter_tag; 21 | 22 | }}} 23 | 24 | #endif // BOOST_MPL_LIST_AUX_TAG_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/multiset/aux_/tag.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_MULTISET_AUX_TAG_HPP_INCLUDED 3 | #define BOOST_MPL_MULTISET_AUX_TAG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { namespace aux { 18 | 19 | struct multiset_tag; 20 | 21 | }}} 22 | 23 | #endif // BOOST_MPL_MULTISET_AUX_TAG_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/MatrixSinh.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | MatrixXf A = MatrixXf::Random(3,3); 9 | std::cout << "A = \n" << A << "\n\n"; 10 | 11 | MatrixXf sinhA = A.sinh(); 12 | std::cout << "sinh(A) = \n" << sinhA << "\n\n"; 13 | 14 | MatrixXf coshA = A.cosh(); 15 | std::cout << "cosh(A) = \n" << coshA << "\n\n"; 16 | 17 | // The matrix functions satisfy cosh^2(A) - sinh^2(A) = I, 18 | // like the scalar functions. 19 | std::cout << "cosh^2(A) - sinh^2(A) = \n" << coshA*coshA - sinhA*sinhA << "\n\n"; 20 | } 21 | -------------------------------------------------------------------------------- /docs/source/api_ref/experiment.rst: -------------------------------------------------------------------------------- 1 | Experiment 2 | =========== 3 | 4 | .. automodule:: cornac.experiment 5 | 6 | Experiment 7 | ---------- 8 | .. automodule:: cornac.experiment.experiment 9 | :members: 10 | 11 | Result 12 | ------ 13 | .. automodule:: cornac.experiment.result 14 | :members: Result 15 | 16 | CVResult 17 | -------- 18 | .. automodule:: cornac.experiment.result 19 | :members: CVResult 20 | 21 | ExperimentResult 22 | ---------------- 23 | .. automodule:: cornac.experiment.result 24 | :members: ExperimentResult 25 | 26 | CVExperimentResult 27 | ------------------ 28 | .. automodule:: cornac.experiment.result 29 | :members: CVExperimentResult -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/file_management.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/file_management.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_FILE_MANAGEMENT_HPP 11 | #define BOOST_DETAIL_WINAPI_FILE_MANAGEMENT_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_FILE_MANAGEMENT_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/priority_class.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/priority_class.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_PRIORITY_CLASS_HPP_ 11 | #define BOOST_DETAIL_WINAPI_PRIORITY_CLASS_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_PRIORITY_CLASS_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/synchronization.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/synchronization.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_SYNCHRONIZATION_HPP 11 | #define BOOST_DETAIL_WINAPI_SYNCHRONIZATION_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_SYNCHRONIZATION_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/exception/errinfo_at_line.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_E7255CE26C1211DE85800C9155D89593 7 | #define UUID_E7255CE26C1211DE85800C9155D89593 8 | 9 | namespace 10 | boost 11 | { 12 | template class error_info; 13 | 14 | //Use with parsing errors exceptions, for example in a XML file parser. 15 | typedef error_info errinfo_at_line; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/not_equal_to.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_NOT_EQUAL_TO_HPP_INCLUDED 3 | #define BOOST_MPL_NOT_EQUAL_TO_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME not_equal_to 18 | #define AUX778076_OP_TOKEN != 19 | #include 20 | 21 | #endif // BOOST_MPL_NOT_EQUAL_TO_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/lapack/double.cpp: -------------------------------------------------------------------------------- 1 | // This file is part of Eigen, a lightweight C++ template library 2 | // for linear algebra. 3 | // 4 | // Copyright (C) 2009-2014 Gael Guennebaud 5 | // 6 | // This Source Code Form is subject to the terms of the Mozilla 7 | // Public License v. 2.0. If a copy of the MPL was not distributed 8 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 | 10 | #define SCALAR double 11 | #define SCALAR_SUFFIX d 12 | #define SCALAR_SUFFIX_UP "D" 13 | #define ISCOMPLEX 0 14 | 15 | #include "cholesky.cpp" 16 | #include "lu.cpp" 17 | #include "eigenvalues.cpp" 18 | #include "svd.cpp" 19 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/lapack/single.cpp: -------------------------------------------------------------------------------- 1 | // This file is part of Eigen, a lightweight C++ template library 2 | // for linear algebra. 3 | // 4 | // Copyright (C) 2009-2014 Gael Guennebaud 5 | // 6 | // This Source Code Form is subject to the terms of the Mozilla 7 | // Public License v. 2.0. If a copy of the MPL was not distributed 8 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 | 10 | #define SCALAR float 11 | #define SCALAR_SUFFIX s 12 | #define SCALAR_SUFFIX_UP "S" 13 | #define ISCOMPLEX 0 14 | 15 | #include "cholesky.cpp" 16 | #include "lu.cpp" 17 | #include "eigenvalues.cpp" 18 | #include "svd.cpp" 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/critical_section.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/critical_section.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_CRITICAL_SECTION_HPP 11 | #define BOOST_DETAIL_WINAPI_CRITICAL_SECTION_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_CRITICAL_SECTION_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/get_thread_times.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/get_thread_times.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_GET_THREAD_TIMES_HPP 11 | #define BOOST_DETAIL_WINAPI_GET_THREAD_TIMES_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_GET_THREAD_TIMES_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/greater_equal.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_GREATER_EQUAL_HPP_INCLUDED 3 | #define BOOST_MPL_GREATER_EQUAL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME greater_equal 18 | #define AUX778076_OP_TOKEN >= 19 | #include 20 | 21 | #endif // BOOST_MPL_GREATER_EQUAL_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/type_traits/array_traits.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard 2 | // Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | 10 | #ifndef BOOST_TT_ARRAY_TRAITS_HPP_INCLUDED 11 | #define BOOST_TT_ARRAY_TRAITS_HPP_INCLUDED 12 | 13 | #include 14 | 15 | #endif // BOOST_TT_ARRAY_TRAITS_HPP_INCLUDED 16 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/basic_bind.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_BASIC_BIND_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_BASIC_BIND_HPP_INCLUDED 4 | 5 | // Copyright Peter Dimov 2001 6 | // Copyright Aleksey Gurtovoy 2001-2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | #define BOOST_MPL_CFG_NO_UNNAMED_PLACEHOLDER_SUPPORT 19 | #include 20 | 21 | #endif // BOOST_MPL_AUX_BASIC_BIND_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/test/test_case.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_TEST_TEST_CASE_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_TEST_TEST_CASE_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #define MPL_TEST_CASE() void BOOST_PP_CAT(test,__LINE__)() 20 | 21 | #endif // BOOST_MPL_AUX_TEST_TEST_CASE_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/map/aux_/tag.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_MAP_AUX_TAG_HPP_INCLUDED 3 | #define BOOST_MPL_MAP_AUX_TAG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // Copyright David Abrahams 2003-2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | namespace boost { namespace mpl { namespace aux { 19 | 20 | struct map_tag; 21 | 22 | }}} 23 | 24 | #endif // BOOST_MPL_MAP_AUX_TAG_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/modulus.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_MODULUS_HPP_INCLUDED 3 | #define BOOST_MPL_MODULUS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME modulus 18 | #define AUX778076_OP_TOKEN % 19 | #define AUX778076_OP_ARITY 2 20 | #include 21 | 22 | #endif // BOOST_MPL_MODULUS_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/set/aux_/tag.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_SET_AUX_TAG_HPP_INCLUDED 3 | #define BOOST_MPL_SET_AUX_TAG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // Copyright David Abrahams 2003-2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | namespace boost { namespace mpl { namespace aux { 19 | 20 | struct set_tag; 21 | 22 | }}} 23 | 24 | #endif // BOOST_MPL_SET_AUX_TAG_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/concept/detail/backward_compatibility.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2009. Distributed under the Boost 2 | // Software License, Version 1.0. (See accompanying 3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | #ifndef BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP 5 | # define BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP 6 | 7 | namespace boost 8 | { 9 | namespace concepts {} 10 | 11 | # if defined(BOOST_HAS_CONCEPTS) && !defined(BOOST_CONCEPT_NO_BACKWARD_KEYWORD) 12 | namespace concept = concepts; 13 | # endif 14 | } // namespace boost::concept 15 | 16 | #endif // BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP 17 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/get_process_times.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/get_process_times.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_GET_PROCESS_TIMES_HPP 11 | #define BOOST_DETAIL_WINAPI_GET_PROCESS_TIMES_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_GET_PROCESS_TIMES_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/exception/errinfo_file_handle.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_F79E6EE26C1211DEB26E929155D89593 7 | #define UUID_F79E6EE26C1211DEB26E929155D89593 8 | 9 | #include 10 | 11 | namespace 12 | boost 13 | { 14 | template class weak_ptr; 15 | template class error_info; 16 | 17 | typedef error_info > errinfo_file_handle; 18 | } 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/at_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AT_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_AT_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct at_impl; 20 | template< typename Sequence, typename N > struct at; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_AT_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/back_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_BACK_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_BACK_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct back_impl; 20 | template< typename Sequence > struct back; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_BACK_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/size_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_SIZE_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_SIZE_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct size_impl; 20 | template< typename Sequence > struct size; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_SIZE_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/type_traits/alignment_traits.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_ALIGNMENT_TRAITS_HPP_INCLUDED 10 | #define BOOST_TT_ALIGNMENT_TRAITS_HPP_INCLUDED 11 | 12 | #include 13 | #include 14 | 15 | #endif // BOOST_TT_ALIGNMENT_TRAITS_HPP_INCLUDED 16 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/get_current_thread.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/get_current_thread.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_HPP 11 | #define BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/exception/detail/shared_ptr.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_837060E885AF11E68DA91D15E31AC075 7 | #define UUID_837060E885AF11E68DA91D15E31AC075 8 | 9 | #ifdef BOOST_EXCEPTION_MINI_BOOST 10 | #include 11 | namespace boost { namespace exception_detail { using std::shared_ptr; } } 12 | #else 13 | #include 14 | namespace boost { namespace exception_detail { using boost::shared_ptr; } } 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/integer/common_factor.hpp: -------------------------------------------------------------------------------- 1 | // Boost common_factor.hpp header file -------------------------------------// 2 | 3 | // (C) Copyright Daryle Walker 2001-2002. 4 | // Distributed under the Boost Software License, Version 1.0. (See 5 | // accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org for updates, documentation, and revision history. 9 | 10 | #ifndef BOOST_INTEGER_COMMON_FACTOR_HPP 11 | #define BOOST_INTEGER_COMMON_FACTOR_HPP 12 | 13 | #include 14 | #include 15 | 16 | #endif // BOOST_INTEGER_COMMON_FACTOR_HPP 17 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/has_size.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_HAS_SIZE_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_HAS_SIZE_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | namespace boost { namespace mpl { namespace aux { 20 | BOOST_MPL_HAS_XXX_TRAIT_DEF(size) 21 | }}} 22 | 23 | #endif // BOOST_MPL_AUX_HAS_SIZE_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/range_c/tag.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_RANGE_C_TAG_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_RANGE_C_TAG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { namespace aux { 18 | 19 | struct half_open_range_tag; 20 | struct r_iter_tag; 21 | 22 | }}} 23 | 24 | #endif // BOOST_MPL_AUX_RANGE_C_TAG_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/clear_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_CLEAR_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_CLEAR_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct clear_impl; 20 | template< typename Sequence > struct clear; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_CLEAR_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/empty_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_EMPTY_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_EMPTY_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct empty_impl; 20 | template< typename Sequence > struct empty; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_EMPTY_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/front_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_FRONT_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_FRONT_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct front_impl; 20 | template< typename Sequence > struct front; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_FRONT_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/shift_left.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_SHIFT_LEFT_HPP_INCLUDED 3 | #define BOOST_MPL_SHIFT_LEFT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // Copyright Jaap Suter 2003 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | #define AUX778076_OP_NAME shift_left 19 | #define AUX778076_OP_TOKEN << 20 | #include 21 | 22 | #endif // BOOST_MPL_SHIFT_LEFT_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/type_traits/same_traits.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Steve Cleary, Beman Dawes, Aleksey Gurtovoy, Howard Hinnant & John Maddock 2000. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | // 8 | // defines is_same: 9 | 10 | #ifndef BOOST_TT_SAME_TRAITS_HPP_INCLUDED 11 | #define BOOST_TT_SAME_TRAITS_HPP_INCLUDED 12 | 13 | #include 14 | 15 | #endif // BOOST_TT_SAME_TRAITS_HPP_INCLUDED 16 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/get_current_process.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/get_current_process.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_HPP 11 | #define BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/shift_right.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_SHIFT_RIGHT_HPP_INCLUDED 3 | #define BOOST_MPL_SHIFT_RIGHT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // Copyright Jaap Suter 2003 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | #define AUX778076_OP_NAME shift_right 19 | #define AUX778076_OP_TOKEN >> 20 | #include 21 | 22 | #endif // BOOST_MPL_SHIFT_RIGHT_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/lapack/complex_double.cpp: -------------------------------------------------------------------------------- 1 | // This file is part of Eigen, a lightweight C++ template library 2 | // for linear algebra. 3 | // 4 | // Copyright (C) 2009-2014 Gael Guennebaud 5 | // 6 | // This Source Code Form is subject to the terms of the Mozilla 7 | // Public License v. 2.0. If a copy of the MPL was not distributed 8 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 | 10 | #define SCALAR std::complex 11 | #define SCALAR_SUFFIX z 12 | #define SCALAR_SUFFIX_UP "Z" 13 | #define REAL_SCALAR_SUFFIX d 14 | #define ISCOMPLEX 1 15 | 16 | #include "cholesky.cpp" 17 | #include "lu.cpp" 18 | #include "svd.cpp" 19 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/lapack/complex_single.cpp: -------------------------------------------------------------------------------- 1 | // This file is part of Eigen, a lightweight C++ template library 2 | // for linear algebra. 3 | // 4 | // Copyright (C) 2009-2014 Gael Guennebaud 5 | // 6 | // This Source Code Form is subject to the terms of the Mozilla 7 | // Public License v. 2.0. If a copy of the MPL was not distributed 8 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 | 10 | #define SCALAR std::complex 11 | #define SCALAR_SUFFIX c 12 | #define SCALAR_SUFFIX_UP "C" 13 | #define REAL_SCALAR_SUFFIX s 14 | #define ISCOMPLEX 1 15 | 16 | #include "cholesky.cpp" 17 | #include "lu.cpp" 18 | #include "svd.cpp" 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/directory_management.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/directory_management.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_DIRECTORY_MANAGEMENT_HPP 11 | #define BOOST_DETAIL_WINAPI_DIRECTORY_MANAGEMENT_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_DIRECTORY_MANAGEMENT_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/stack_backtrace.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/stack_backtrace.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_ 11 | #define BOOST_DETAIL_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/O1_size_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_O1_SIZE_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_O1_SIZE_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct O1_size_impl; 20 | template< typename Sequence > struct O1_size; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_O1_SIZE_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/char.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_CHAR_HPP_INCLUDED 3 | #define BOOST_MPL_CHAR_HPP_INCLUDED 4 | 5 | // Copyright Eric Niebler 2008 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Source$ 14 | // $Date: 2008-06-14 08:41:37 -0700 (Sat, 16 Jun 2008) $ 15 | // $Revision: 24874 $ 16 | 17 | #include 18 | 19 | #define AUX_WRAPPER_VALUE_TYPE char 20 | #include 21 | 22 | #endif // BOOST_MPL_CHAR_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/count_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_COUNT_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_COUNT_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct count_impl; 20 | template< typename Sequence, typename T > struct count; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_COUNT_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/random/detail/enable_warnings.hpp: -------------------------------------------------------------------------------- 1 | /* boost random/detail/enable_warnings.hpp header file 2 | * 3 | * Copyright Steven Watanabe 2009 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | * 8 | * See http://www.boost.org for most recent version including documentation. 9 | * 10 | * $Id$ 11 | * 12 | */ 13 | 14 | // No #include guard. This header is intended to be included multiple times. 15 | 16 | #ifdef BOOST_MSVC 17 | #pragma warning(pop) 18 | #endif 19 | 20 | #if defined(BOOST_GCC) && BOOST_GCC >= 40600 21 | #pragma GCC diagnostic pop 22 | #endif 23 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/type_traits/reference_traits.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright David Abrahams Steve Cleary, Beman Dawes, Howard 2 | // Hinnant & John Maddock 2000-2002. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | 10 | #ifndef BOOST_TT_REFERENCE_TRAITS_HPP_INCLUDED 11 | #define BOOST_TT_REFERENCE_TRAITS_HPP_INCLUDED 12 | 13 | #include 14 | 15 | #endif // BOOST_TT_REFERENCE_TRAITS_HPP_INCLUDED 16 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/get_current_thread_id.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/get_current_thread_id.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_ID_HPP 11 | #define BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_ID_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_ID_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/get_system_directory.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/get_system_directory.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_GET_SYSTEM_DIRECTORY_HPP_ 11 | #define BOOST_DETAIL_WINAPI_GET_SYSTEM_DIRECTORY_HPP_ 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_GET_SYSTEM_DIRECTORY_HPP_ 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/page_protection_flags.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/page_protection_flags.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_PAGE_PROTECTION_FLAGS_HPP 11 | #define BOOST_DETAIL_WINAPI_PAGE_PROTECTION_FLAGS_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_PAGE_PROTECTION_FLAGS_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/exception/errinfo_nested_exception.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef UUID_45CC9A82B77511DEB330FC4956D89593 7 | #define UUID_45CC9A82B77511DEB330FC4956D89593 8 | 9 | namespace 10 | boost 11 | { 12 | namespace exception_detail { class clone_base; } 13 | template class error_info; 14 | class exception_ptr; 15 | typedef error_info errinfo_nested_exception; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/pop_back_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_POP_BACK_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_POP_BACK_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct pop_back_impl; 20 | template< typename Sequence > struct pop_back; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_POP_BACK_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/has_tag.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_HAS_TAG_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_HAS_TAG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | namespace boost { namespace mpl { namespace aux { 20 | BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(has_tag, tag, false) 21 | }}} 22 | 23 | #endif // BOOST_MPL_AUX_HAS_TAG_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/template_arity_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_TEMPLATE_ARITY_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_TEMPLATE_ARITY_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { namespace aux { 18 | 19 | template< typename F > struct template_arity; 20 | 21 | }}} 22 | 23 | #endif // BOOST_MPL_AUX_TEMPLATE_ARITY_FWD_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/range/iterator_range_hash.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Range library 2 | // 3 | // Copyright Neil Groves 2014 4 | // Use, modification and distribution is subject to the Boost Software 5 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | // For more information, see http://www.boost.org/libs/range/ 9 | // 10 | #include 11 | #include 12 | 13 | namespace boost 14 | { 15 | 16 | template 17 | std::size_t hash_value(const iterator_range& rng) 18 | { 19 | return boost::hash_range(rng.begin(), rng.end()); 20 | } 21 | 22 | } // namespace boost 23 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/get_current_process_id.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/get_current_process_id.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_ID_HPP 11 | #define BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_ID_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_GET_CURRENT_PROCESS_ID_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/has_type.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_HAS_TYPE_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_HAS_TYPE_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | namespace boost { namespace mpl { namespace aux { 20 | BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(has_type, type, true) 21 | }}} 22 | 23 | #endif // BOOST_MPL_AUX_HAS_TYPE_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/pop_front_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_POP_FRONT_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_POP_FRONT_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct pop_front_impl; 20 | template< typename Sequence > struct pop_front; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_POP_FRONT_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/type_traits/detected.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017-2018 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, 6 | Version 1.0. (See accompanying file LICENSE_1_0.txt 7 | or copy at http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | #ifndef BOOST_TT_DETECTED_HPP_INCLUDED 11 | #define BOOST_TT_DETECTED_HPP_INCLUDED 12 | 13 | #include 14 | #include 15 | 16 | namespace boost { 17 | 18 | template class Op, class... Args> 19 | using detected_t = typename 20 | detail::detector::type; 21 | 22 | } /* boost */ 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Description 2 | 3 | 4 | 5 | ### In which platform does it happen? 6 | 7 | 8 | 9 | 10 | 11 | ### How do we replicate the issue? 12 | 13 | 14 | 15 | 16 | 17 | 18 | ### Expected behavior (i.e. solution) 19 | 20 | 21 | 22 | 23 | ### Other Comments -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/has_begin.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_HAS_BEGIN_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_HAS_BEGIN_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | namespace boost { namespace mpl { namespace aux { 20 | BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(has_begin, begin, true) 21 | }}} 22 | 23 | #endif // BOOST_MPL_AUX_HAS_BEGIN_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/bitxor.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_BITXOR_HPP_INCLUDED 3 | #define BOOST_MPL_BITXOR_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // Copyright Jaap Suter 2003 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | #define AUX778076_OP_NAME bitxor_ 19 | #define AUX778076_OP_PREFIX bitxor 20 | #define AUX778076_OP_TOKEN ^ 21 | #include 22 | 23 | #endif // BOOST_MPL_BITXOR_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/erase_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_ERASE_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_ERASE_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct erase_impl; 20 | template< typename Sequence, typename First, typename Last > struct erase; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_ERASE_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/preprocessor/facilities/empty.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP 15 | # define BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP 16 | # 17 | # include 18 | # 19 | # /* BOOST_PP_EMPTY */ 20 | # 21 | # define BOOST_PP_EMPTY() 22 | # 23 | # endif 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/srw_lock.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/srw_lock.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_SRW_LOCK_HPP 11 | #define BOOST_DETAIL_WINAPI_SRW_LOCK_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | // Deprecated 21 | #define BOOST_DETAIL_WINAPI_SRWLOCK_INIT BOOST_WINAPI_SRWLOCK_INIT 22 | 23 | #endif // BOOST_DETAIL_WINAPI_SRW_LOCK_HPP 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/erase_key_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_ERASE_KEY_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_ERASE_KEY_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct erase_key_impl; 20 | template< typename Sequence, typename Key > struct erase_key; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_ERASE_KEY_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/get_tag.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_GET_TAG_HPP_INCLUDED 3 | #define BOOST_MPL_GET_TAG_HPP_INCLUDED 4 | 5 | // Copyright Sergey Krivonos 2017 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | 18 | #define BOOST_MPL_GET_TAG_DEF(TAG) \ 19 | namespace boost { namespace mpl { \ 20 | template \ 21 | struct get_##TAG { \ 22 | typedef typename T::TAG type; \ 23 | }; \ 24 | }} 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/insert_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INSERT_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_INSERT_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct insert_impl; 20 | template< typename Sequence, typename Pos_or_T, typename T > struct insert; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_INSERT_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/push_back_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_PUSH_BACK_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_PUSH_BACK_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct push_back_impl; 20 | template< typename Sequence, typename T > struct push_back; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_PUSH_BACK_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | # Minimal makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line, and also 5 | # from the environment for the first two. 6 | SPHINXOPTS = 7 | SPHINXBUILD = sphinx-build 8 | SOURCEDIR = source 9 | BUILDDIR = build 10 | 11 | # Put it first so that "make" without argument is like "make help". 12 | help: 13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 14 | 15 | .PHONY: help Makefile 16 | 17 | # Catch-all target: route all unknown targets to Sphinx using the new 18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 19 | %: Makefile 20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/character_code_conversion.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/character_code_conversion.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_CHARACTER_CODE_CONVERSION_HPP 11 | #define BOOST_DETAIL_WINAPI_CHARACTER_CODE_CONVERSION_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #endif // BOOST_DETAIL_WINAPI_CHARACTER_CODE_CONVERSION_HPP 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/winapi/init_once.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Andrey Semashev 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. 5 | * See http://www.boost.org/LICENSE_1_0.txt 6 | * 7 | * This header is deprecated, use boost/winapi/init_once.hpp instead. 8 | */ 9 | 10 | #ifndef BOOST_DETAIL_WINAPI_INIT_ONCE_HPP 11 | #define BOOST_DETAIL_WINAPI_INIT_ONCE_HPP 12 | 13 | #include 14 | #include 15 | 16 | #ifdef BOOST_HAS_PRAGMA_ONCE 17 | #pragma once 18 | #endif 19 | 20 | #define BOOST_DETAIL_WINAPI_INIT_ONCE_STATIC_INIT BOOST_WINAPI_INIT_ONCE_STATIC_INIT 21 | 22 | #endif // BOOST_DETAIL_WINAPI_INIT_ONCE_HPP 23 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/config/gcc.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_GCC_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_GCC_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if defined(__GNUC__) && !defined(__EDG_VERSION__) 18 | # define BOOST_MPL_CFG_GCC ((__GNUC__ << 8) | __GNUC_MINOR__) 19 | #else 20 | # define BOOST_MPL_CFG_GCC 0 21 | #endif 22 | 23 | #endif // BOOST_MPL_AUX_CONFIG_GCC_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/push_front_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_PUSH_FRONT_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_PUSH_FRONT_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct push_front_impl; 20 | template< typename Sequence, typename T > struct push_front; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_PUSH_FRONT_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef/library/c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LIBRARY_C_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LIBRARY_C_H 10 | #define BOOST_PREDEF_LIBRARY_C_H 11 | #endif 12 | 13 | #include 14 | 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/range.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Range library 2 | // 3 | // Copyright Thorsten Ottosen 2003-2004. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | // For more information, see http://www.boost.org/libs/range/ 9 | // 10 | 11 | #ifndef BOOST_RANGE_HPP_27_07_04 12 | #define BOOST_RANGE_HPP_27_07_04 13 | 14 | #if defined(_MSC_VER) 15 | # pragma once 16 | #endif 17 | 18 | #include 19 | #include 20 | #include 21 | #include 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/aux_/test/data.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_TEST_DATA_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_TEST_DATA_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | enum enum_ {}; 20 | struct UDT {}; 21 | struct incomplete; 22 | class abstract { public: virtual ~abstract() = 0; }; 23 | using boost::noncopyable; 24 | 25 | #endif // BOOST_MPL_AUX_TEST_DATA_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/sequence_tag_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_SEQUENCE_TAG_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_SEQUENCE_TAG_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | struct nested_begin_end_tag; 20 | struct non_sequence_tag; 21 | 22 | template< typename Sequence > struct sequence_tag; 23 | 24 | }} 25 | 26 | #endif // BOOST_MPL_SEQUENCE_TAG_FWD_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/Eigen/MoreVectorization: -------------------------------------------------------------------------------- 1 | // This file is part of Eigen, a lightweight C++ template library 2 | // for linear algebra. 3 | // 4 | // 5 | // This Source Code Form is subject to the terms of the Mozilla 6 | // Public License v. 2.0. If a copy of the MPL was not distributed 7 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 8 | 9 | #ifndef EIGEN_MOREVECTORIZATION_MODULE_H 10 | #define EIGEN_MOREVECTORIZATION_MODULE_H 11 | 12 | #include 13 | 14 | namespace Eigen { 15 | 16 | /** 17 | * \defgroup MoreVectorization More vectorization module 18 | */ 19 | 20 | } 21 | 22 | #include "src/MoreVectorization/MathFunctions.h" 23 | 24 | #endif // EIGEN_MOREVECTORIZATION_MODULE_H 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/atomic_count.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_DETAIL_ATOMIC_COUNT_HPP_INCLUDED 2 | #define BOOST_DETAIL_ATOMIC_COUNT_HPP_INCLUDED 3 | 4 | // MS compatible compilers support #pragma once 5 | 6 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) 7 | # pragma once 8 | #endif 9 | 10 | // 11 | // boost/detail/atomic_count.hpp - thread/SMP safe reference counter 12 | // 13 | // Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd. 14 | // 15 | // Distributed under the Boost Software License, Version 1.0. 16 | // See accompanying file LICENSE_1_0.txt or copy at 17 | // http://www.boost.org/LICENSE_1_0.txt 18 | 19 | #include 20 | 21 | #endif // #ifndef BOOST_DETAIL_ATOMIC_COUNT_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/quick_allocator.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_DETAIL_QUICK_ALLOCATOR_HPP_INCLUDED 2 | #define BOOST_DETAIL_QUICK_ALLOCATOR_HPP_INCLUDED 3 | 4 | // MS compatible compilers support #pragma once 5 | 6 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) 7 | # pragma once 8 | #endif 9 | 10 | // 11 | // detail/quick_allocator.hpp 12 | // 13 | // Copyright (c) 2003 David Abrahams 14 | // Copyright (c) 2003 Peter Dimov 15 | // 16 | // Distributed under the Boost Software License, Version 1.0. 17 | // See accompanying file LICENSE_1_0.txt or copy at 18 | // http://www.boost.org/LICENSE_1_0.txt 19 | // 20 | 21 | #include 22 | 23 | #endif // #ifndef BOOST_DETAIL_QUICK_ALLOCATOR_HPP_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/math/common_factor.hpp: -------------------------------------------------------------------------------- 1 | // Boost common_factor.hpp header file -------------------------------------// 2 | 3 | // (C) Copyright Daryle Walker 2001-2002. 4 | // Distributed under the Boost Software License, Version 1.0. (See 5 | // accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // See http://www.boost.org for updates, documentation, and revision history. 9 | 10 | #ifndef BOOST_MATH_COMMON_FACTOR_HPP 11 | #define BOOST_MATH_COMMON_FACTOR_HPP 12 | 13 | #include 14 | #include 15 | 16 | BOOST_HEADER_DEPRECATED(""); 17 | 18 | 19 | #endif // BOOST_MATH_COMMON_FACTOR_HPP 20 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/bitwise.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_BITWISE_HPP_INCLUDED 3 | #define BOOST_MPL_BITWISE_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // Copyright Jaap Suter 2003 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | 24 | #endif // BOOST_MPL_BITWISE_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/contains_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_CONTAINS_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_CONTAINS_FWD_HPP_INCLUDED 4 | 5 | // Copyright Eric Friedman 2002 6 | // Copyright Aleksey Gurtovoy 2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | namespace boost { namespace mpl { 19 | 20 | template< typename Tag > struct contains_impl; 21 | template< typename Sequence, typename T > struct contains; 22 | 23 | }} 24 | 25 | #endif // BOOST_MPL_CONTAINS_FWD_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/limits/string.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_STRING_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_STRING_HPP_INCLUDED 4 | 5 | // Copyright Eric Niebler 2009 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id: string.hpp 49239 2009-04-01 09:10:26Z eric_niebler $ 14 | // $Date: 2009-04-01 02:10:26 -0700 (Wed, 1 Apr 2009) $ 15 | // $Revision: 49239 $ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_STRING_SIZE) 18 | # define BOOST_MPL_LIMIT_STRING_SIZE 32 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_STRING_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/void_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_VOID_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_VOID_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2001-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN 20 | 21 | struct void_; 22 | 23 | BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE 24 | BOOST_MPL_AUX_ADL_BARRIER_DECL(void_) 25 | 26 | #endif // BOOST_MPL_VOID_FWD_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/config/platform/beos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // BeOS specific config options: 9 | 10 | #define BOOST_PLATFORM "BeOS" 11 | 12 | #define BOOST_NO_CWCHAR 13 | #define BOOST_NO_CWCTYPE 14 | #define BOOST_HAS_UNISTD_H 15 | 16 | #define BOOST_HAS_BETHREADS 17 | 18 | #ifndef BOOST_DISABLE_THREADS 19 | # define BOOST_HAS_THREADS 20 | #endif 21 | 22 | // boilerplate code: 23 | #include 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/math/complex/fabs.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_MATH_COMPLEX_FABS_INCLUDED 7 | #define BOOST_MATH_COMPLEX_FABS_INCLUDED 8 | 9 | #ifndef BOOST_MATH_HYPOT_INCLUDED 10 | # include 11 | #endif 12 | 13 | namespace boost{ namespace math{ 14 | 15 | template 16 | inline T fabs(const std::complex& z) 17 | { 18 | return ::boost::math::hypot(z.real(), z.imag()); 19 | } 20 | 21 | } } // namespaces 22 | 23 | #endif // BOOST_MATH_COMPLEX_FABS_INCLUDED 24 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/order_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_ORDER_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_ORDER_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // Copyright David Abrahams 2003-2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | namespace boost { namespace mpl { 19 | 20 | template< typename Tag > struct order_impl; 21 | template< typename AssociativeSequence, typename Key > struct order; 22 | 23 | }} 24 | 25 | #endif // BOOST_MPL_ORDER_FWD_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /docs/source/user/index.rst: -------------------------------------------------------------------------------- 1 | User Guide 2 | ========== 3 | 4 | Welcome to the Cornac User Guide. This guide aims to get you started in 5 | recommender systems using Cornac, a Python library friendly to most users. 6 | 7 | Cornac is a robust Python library tailored to normal users, alongside 8 | data scientists and engineers. Cornac aims to equip you with the tools to 9 | build, evaluate, and fine-tune recommender systems to meet your needs. 10 | 11 | .. toctree:: 12 | :glob: 13 | :maxdepth: 2 14 | :caption: Getting Started 15 | 16 | install 17 | quickstart 18 | iamadeveloper 19 | iamaresearcher 20 | 21 | .. toctree:: 22 | :glob: 23 | :maxdepth: 2 24 | :caption: Additional Guides 25 | 26 | owndata 27 | example-foodrecce 28 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/insert_range_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INSERT_RANGE_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_INSERT_RANGE_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | namespace boost { namespace mpl { 18 | 19 | template< typename Tag > struct insert_range_impl; 20 | template< typename Sequence, typename Pos, typename Range > struct insert_range; 21 | 22 | }} 23 | 24 | #endif // BOOST_MPL_INSERT_RANGE_FWD_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/size_t.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_SIZE_T_HPP_INCLUDED 3 | #define BOOST_MPL_SIZE_T_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #define AUX_WRAPPER_VALUE_TYPE std::size_t 20 | #define AUX_WRAPPER_NAME size_t 21 | #define AUX_WRAPPER_PARAMS(N) std::size_t N 22 | 23 | #include 24 | 25 | #endif // BOOST_MPL_SIZE_T_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /docs/source/_static/custom.css: -------------------------------------------------------------------------------- 1 | html[data-theme="light"] { 2 | --pst-color-primary: #A3361F; 3 | --pst-color-secondary: #BE181E; 4 | --pst-color-primary-bg: #95736d; 5 | --pst-color-secondary-bg: #94dfff; 6 | --pst-color-inline-code-links: #1F70A3; 7 | } 8 | 9 | html[data-theme="dark"] { 10 | --pst-color-primary: #c15f63; 11 | --pst-color-secondary: #18BEB8; 12 | --pst-color-primary-bg: #95736d; 13 | --pst-color-secondary-bg: #0082ba; 14 | --pst-color-inline-code-links: #c4c8ff; 15 | } 16 | 17 | html { 18 | --pst-font-size-h1: 2.5rem; 19 | --pst-font-size-h2: 1.8rem; 20 | --pst-font-size-h3: 1.3rem; 21 | --pst-font-size-h4: 1.2rem; 22 | --pst-font-size-h5: 1.1rem; 23 | --pst-font-size-h6: 1.05rem; 24 | } -------------------------------------------------------------------------------- /docs/source/api_ref/eval_methods.rst: -------------------------------------------------------------------------------- 1 | Evaluation Methods 2 | ================== 3 | 4 | .. automodule:: cornac.eval_methods 5 | 6 | Base Method 7 | ----------- 8 | .. automodule:: cornac.eval_methods.base_method 9 | :members: 10 | 11 | Cross Validation 12 | ---------------- 13 | .. automodule:: cornac.eval_methods.cross_validation 14 | :members: 15 | 16 | Propensity Stratified Evaluation 17 | -------------------------------- 18 | .. automodule:: cornac.eval_methods.propensity_stratified_evaluation 19 | :members: 20 | 21 | Ratio Split 22 | ----------- 23 | .. automodule:: cornac.eval_methods.ratio_split 24 | :members: 25 | 26 | Stratified Split 27 | ---------------- 28 | .. automodule:: cornac.eval_methods.stratified_split 29 | :members: 30 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/sort.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_SORT_HPP_INCLUDED 3 | #define BOOST_MPL_SORT_HPP_INCLUDED 4 | 5 | // Copyright Eric Friedman 2002-2003 6 | // Copyright Aleksey Gurtovoy 2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | #include 19 | #include 20 | 21 | namespace boost { namespace mpl { 22 | 23 | BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(3, sort) 24 | 25 | }} 26 | 27 | #endif // BOOST_MPL_SORT_HPP_INCLUDED 28 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/predef.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_H 10 | #define BOOST_PREDEF_H 11 | #endif 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | #include 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/detail/lightweight_mutex.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED 2 | #define BOOST_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED 3 | 4 | // MS compatible compilers support #pragma once 5 | 6 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) 7 | # pragma once 8 | #endif 9 | 10 | // 11 | // boost/detail/lightweight_mutex.hpp - lightweight mutex 12 | // 13 | // Copyright (c) 2002, 2003 Peter Dimov and Multi Media Ltd. 14 | // 15 | // Distributed under the Boost Software License, Version 1.0. 16 | // See accompanying file LICENSE_1_0.txt or copy at 17 | // http://www.boost.org/LICENSE_1_0.txt 18 | // 19 | 20 | #include 21 | 22 | #endif // #ifndef BOOST_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/has_key_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_HAS_KEY_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_HAS_KEY_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // Copyright David Abrahams 2003-2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | namespace boost { namespace mpl { 19 | 20 | template< typename Tag > struct has_key_impl; 21 | template< typename AssociativeSequence, typename Key > struct has_key; 22 | 23 | }} 24 | 25 | #endif // BOOST_MPL_HAS_KEY_FWD_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/blas/complex_single.cpp: -------------------------------------------------------------------------------- 1 | // This file is part of Eigen, a lightweight C++ template library 2 | // for linear algebra. 3 | // 4 | // Copyright (C) 2009 Gael Guennebaud 5 | // 6 | // This Source Code Form is subject to the terms of the Mozilla 7 | // Public License v. 2.0. If a copy of the MPL was not distributed 8 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 | 10 | #define SCALAR std::complex 11 | #define SCALAR_SUFFIX c 12 | #define SCALAR_SUFFIX_UP "C" 13 | #define REAL_SCALAR_SUFFIX s 14 | #define ISCOMPLEX 1 15 | 16 | #include "level1_impl.h" 17 | #include "level1_cplx_impl.h" 18 | #include "level2_impl.h" 19 | #include "level2_cplx_impl.h" 20 | #include "level3_impl.h" 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/comparison.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_COMPARISON_HPP_INCLUDED 3 | #define BOOST_MPL_COMPARISON_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | 24 | #endif // BOOST_MPL_COMPARISON_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/key_type_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_KEY_TYPE_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_KEY_TYPE_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // Copyright David Abrahams 2003-2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | namespace boost { namespace mpl { 19 | 20 | template< typename Tag > struct key_type_impl; 21 | template< typename AssociativeSequence, typename T > struct key_type; 22 | 23 | }} 24 | 25 | #endif // BOOST_MPL_KEY_TYPE_FWD_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/Eigen/src/Core/functors/TernaryFunctors.h: -------------------------------------------------------------------------------- 1 | // This file is part of Eigen, a lightweight C++ template library 2 | // for linear algebra. 3 | // 4 | // Copyright (C) 2016 Eugene Brevdo 5 | // 6 | // This Source Code Form is subject to the terms of the Mozilla 7 | // Public License v. 2.0. If a copy of the MPL was not distributed 8 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 | 10 | #ifndef EIGEN_TERNARY_FUNCTORS_H 11 | #define EIGEN_TERNARY_FUNCTORS_H 12 | 13 | namespace Eigen { 14 | 15 | namespace internal { 16 | 17 | //---------- associative ternary functors ---------- 18 | 19 | 20 | 21 | } // end namespace internal 22 | 23 | } // end namespace Eigen 24 | 25 | #endif // EIGEN_TERNARY_FUNCTORS_H 26 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/blas/complex_double.cpp: -------------------------------------------------------------------------------- 1 | // This file is part of Eigen, a lightweight C++ template library 2 | // for linear algebra. 3 | // 4 | // Copyright (C) 2009 Gael Guennebaud 5 | // 6 | // This Source Code Form is subject to the terms of the Mozilla 7 | // Public License v. 2.0. If a copy of the MPL was not distributed 8 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 9 | 10 | #define SCALAR std::complex 11 | #define SCALAR_SUFFIX z 12 | #define SCALAR_SUFFIX_UP "Z" 13 | #define REAL_SCALAR_SUFFIX d 14 | #define ISCOMPLEX 1 15 | 16 | #include "level1_impl.h" 17 | #include "level1_cplx_impl.h" 18 | #include "level2_impl.h" 19 | #include "level2_cplx_impl.h" 20 | #include "level3_impl.h" 21 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/type_traits/conversion_traits.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright 2000 John Maddock (john@johnmaddock.co.uk) 3 | // Copyright 2000 Jeremy Siek (jsiek@lsc.nd.edu) 4 | // Copyright 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi) 5 | // 6 | // Use, modification and distribution are subject to the Boost Software License, 7 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 8 | // http://www.boost.org/LICENSE_1_0.txt). 9 | // 10 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 11 | 12 | #ifndef BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED 13 | #define BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED 14 | 15 | #include 16 | 17 | #endif // BOOST_TT_CONVERSION_TRAITS_HPP_INCLUDED 18 | -------------------------------------------------------------------------------- /cornac/utils/external/boost/mpl/value_type_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_VALUE_TYPE_FWD_HPP_INCLUDED 3 | #define BOOST_MPL_VALUE_TYPE_FWD_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2003-2004 6 | // Copyright David Abrahams 2003-2004 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. 9 | // (See accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | // 12 | // See http://www.boost.org/libs/mpl for documentation. 13 | 14 | // $Id$ 15 | // $Date$ 16 | // $Revision$ 17 | 18 | namespace boost { namespace mpl { 19 | 20 | template< typename Tag > struct value_type_impl; 21 | template< typename AssociativeSequence, typename T > struct value_type; 22 | 23 | }} 24 | 25 | #endif // BOOST_MPL_VALUE_TYPE_FWD_HPP_INCLUDED 26 | -------------------------------------------------------------------------------- /cornac/utils/external/eigen/unsupported/doc/examples/PolynomialUtils1.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | Vector4d roots = Vector4d::Random(); 10 | cout << "Roots: " << roots.transpose() << endl; 11 | Eigen::Matrix polynomial; 12 | roots_to_monicPolynomial( roots, polynomial ); 13 | cout << "Polynomial: "; 14 | for( int i=0; i<4; ++i ){ cout << polynomial[i] << ".x^" << i << "+ "; } 15 | cout << polynomial[4] << ".x^4" << endl; 16 | Vector4d evaluation; 17 | for( int i=0; i<4; ++i ){ 18 | evaluation[i] = poly_eval( polynomial, roots[i] ); } 19 | cout << "Evaluation of the polynomial at the roots: " << evaluation.transpose(); 20 | } 21 | -------------------------------------------------------------------------------- /cornac/models/amr/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_amr import AMR -------------------------------------------------------------------------------- /cornac/models/c2pf/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_c2pf import C2PF -------------------------------------------------------------------------------- /cornac/models/cdl/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_cdl import CDL -------------------------------------------------------------------------------- /cornac/models/cdr/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_cdr import CDR -------------------------------------------------------------------------------- /cornac/models/coe/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_coe import COE -------------------------------------------------------------------------------- /cornac/models/ctr/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_ctr import CTR -------------------------------------------------------------------------------- /cornac/models/cvae/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_cvae import CVAE -------------------------------------------------------------------------------- /cornac/models/fm/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | 17 | from .recom_fm import FM -------------------------------------------------------------------------------- /cornac/models/gcmc/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_gcmc import GCMC -------------------------------------------------------------------------------- /cornac/models/hft/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_hft import HFT -------------------------------------------------------------------------------- /cornac/models/hpf/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_hpf import HPF -------------------------------------------------------------------------------- /cornac/models/ibpr/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_ibpr import IBPR -------------------------------------------------------------------------------- /cornac/models/mcf/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_mcf import MCF -------------------------------------------------------------------------------- /cornac/models/mmmf/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_mmmf import MMMF -------------------------------------------------------------------------------- /cornac/models/pcrl/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_pcrl import PCRL -------------------------------------------------------------------------------- /cornac/models/pmf/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_pmf import PMF -------------------------------------------------------------------------------- /cornac/models/sbpr/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_sbpr import SBPR -------------------------------------------------------------------------------- /cornac/models/svd/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_svd import SVD -------------------------------------------------------------------------------- /cornac/models/vbpr/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_vbpr import VBPR -------------------------------------------------------------------------------- /cornac/models/vmf/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_vmf import VMF -------------------------------------------------------------------------------- /cornac/models/wmf/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The Cornac Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================ 15 | 16 | from .recom_wmf import WMF --------------------------------------------------------------------------------