Showing
4 changed files
with
4 additions
and
4 deletions
... | @@ -62,7 +62,7 @@ public class CosineRecommender implements Recommender { | ... | @@ -62,7 +62,7 @@ public class CosineRecommender implements Recommender { |
62 | rec = LenskitRecommender.build(config); | 62 | rec = LenskitRecommender.build(config); |
63 | irec = rec.getItemRecommender(); | 63 | irec = rec.getItemRecommender(); |
64 | } catch (RecommenderBuildException e) { | 64 | } catch (RecommenderBuildException e) { |
65 | - logger.error("Recommender RecommenderBuildException {}", e.getStackTrace()); | 65 | + logger.error("Recommender RecommenderBuildException {}", e); |
66 | } | 66 | } |
67 | } | 67 | } |
68 | 68 | ... | ... |
... | @@ -56,7 +56,7 @@ public class FunkSVDRecommender implements Recommender { | ... | @@ -56,7 +56,7 @@ public class FunkSVDRecommender implements Recommender { |
56 | rec = LenskitRecommender.build(config); | 56 | rec = LenskitRecommender.build(config); |
57 | irec = rec.getItemRecommender(); | 57 | irec = rec.getItemRecommender(); |
58 | } catch (RecommenderBuildException e) { | 58 | } catch (RecommenderBuildException e) { |
59 | - logger.error("Recommender RecommenderBuildException {}", e.getStackTrace()); | 59 | + logger.error("Recommender RecommenderBuildException {}", e); |
60 | } | 60 | } |
61 | } | 61 | } |
62 | 62 | ... | ... |
... | @@ -62,7 +62,7 @@ public class PearsonRecommender implements Recommender { | ... | @@ -62,7 +62,7 @@ public class PearsonRecommender implements Recommender { |
62 | rec = LenskitRecommender.build(config); | 62 | rec = LenskitRecommender.build(config); |
63 | irec = rec.getItemRecommender(); | 63 | irec = rec.getItemRecommender(); |
64 | } catch (RecommenderBuildException e) { | 64 | } catch (RecommenderBuildException e) { |
65 | - logger.error("Recommender RecommenderBuildException {}", e.getStackTrace()); | 65 | + logger.error("Recommender RecommenderBuildException {}", e); |
66 | } | 66 | } |
67 | } | 67 | } |
68 | 68 | ... | ... |
... | @@ -53,7 +53,7 @@ public class SlopeOneRecommender implements Recommender { | ... | @@ -53,7 +53,7 @@ public class SlopeOneRecommender implements Recommender { |
53 | rec = LenskitRecommender.build(config); | 53 | rec = LenskitRecommender.build(config); |
54 | irec = rec.getItemRecommender(); | 54 | irec = rec.getItemRecommender(); |
55 | } catch (RecommenderBuildException e) { | 55 | } catch (RecommenderBuildException e) { |
56 | - logger.error("Recommender RecommenderBuildException {}", e.getStackTrace()); | 56 | + logger.error("Recommender RecommenderBuildException {}", e); |
57 | } | 57 | } |
58 | } | 58 | } |
59 | 59 | ... | ... |
-
Please register or login to post a comment