Skip to content

Latest commit

 

History

History
54 lines (27 loc) · 1.55 KB

README.md

File metadata and controls

54 lines (27 loc) · 1.55 KB

LTR Multiview package

The detailed description of the Polynomial Regression via Latent Tensor Reconstruction(LTR) solver is in ltr_user_guide_10.pdf which is located in the docs subdirectory, LTR user guide

Requirements

The application of the LTR assumes the Python interpreter, version at least 3.7, and the Numpy package, version at least 1.20.

To run the examples also requires the matplotlib and scikit-learn packages. All these packages can be freely downloaded and installed from pypi.org.

Installation

The LTR package might be installed by the following procedures.

Directly from the github

pip3 install git+https://github.com/aalto-ics-kepaco/LTR_multiview.git#egg=LTR_multiview

Downloading from github

mkdir ltrpath

cd ltrpath

git clone https://github.com/aalto-ics-kepaco/LTR_Multiview

After downloading the LTR package it can be installed by the following command:

pip3 install ltrpath/LTR_Multiview

Before installing the LTR package the latest version of the Python packages pip and build need to be installed.

pip3 install --upgrade pip

pip3 install --upgrade build

The LTR can be imported as

import ltr_multiview as ltr

and the solver object can be constructed by

cmodel = ltr.ltr_solver_cls(norder=2, rank=10)

Further details about the application of the LTR package can be found within the PDF document in Section \ref{sec:basic_class}, and in Section \ref{sec:methods_paramaters}, and in the example files, in the directory of examples.