%global __brp_check_rpaths %{nil} %global packname DMTL %global packver 0.1.2 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} Version: 0.1.2 Release: 1%{?dist}%{?buildtag} Summary: Tools for Applying Distribution Mapping Based Transfer Learning License: GPL-3 URL: https://cran.r-project.org/package=%{packname} Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz BuildRequires: R-devel >= 3.6 Requires: R-core >= 3.6 BuildArch: noarch BuildRequires: R-CRAN-caret >= 6.0.86 BuildRequires: R-CRAN-randomForest >= 4.6.14 BuildRequires: R-CRAN-glmnet >= 4.1 BuildRequires: R-CRAN-ks >= 1.11.7 BuildRequires: R-CRAN-kernlab >= 0.9.29 Requires: R-CRAN-caret >= 6.0.86 Requires: R-CRAN-randomForest >= 4.6.14 Requires: R-CRAN-glmnet >= 4.1 Requires: R-CRAN-ks >= 1.11.7 Requires: R-CRAN-kernlab >= 0.9.29 %description Implementation of a transfer learning framework employing distribution mapping based domain transfer. Uses the renowned concept of histogram matching (see Gonzalez and Fittes (1977) , Gonzalez and Woods (2008) ) and extends it to include distribution measures like kernel density estimates (KDE; see Wand and Jones (1995) , Jones et al. (1996)