# LWPR in Julia

**URL:** https://discourse.julialang.org/t/lwpr-in-julia/7578
**Category:** Machine Learning
**Created:** [December 6, 2017, 7:37pm UTC](https://discourse.julialang.org/t/lwpr-in-julia/7578 "2017-12-06T19:37:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)
#### Post date: [December 6, 2017, 7:37pm UTC](https://discourse.julialang.org/t/lwpr-in-julia/7578/1 "2017-12-06T19:37:27Z")

</div>

I’m considering playing around with Locally Weighted Projection Regression (LWPR), and I was curious if anyone was aware of any Julia implementations of the algorithm (Google, alas, is not).

I’m aware of [SLMC | InfWeb](http://wcms.inf.ed.ac.uk/ipab/slmc/research/software-lwpr) (C implementation with Python bindings) and might consider using it through PyCall, but this seems like a great opportunity for a nice Julia implementation. Perhaps I’ll just have to write one 😉

---

<div class="post-metadata">

### Author: ![Nikos\_Gianniotis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nikos_gianniotis/32/11487_2.png) [@Nikos\_Gianniotis](https://discourse.julialang.org/u/Nikos_Gianniotis)
#### Post date: [May 15, 2024, 8:09am UTC](https://discourse.julialang.org/t/lwpr-in-julia/7578/2 "2024-05-15T08:09:01Z")

</div>

Dear @rdeits , long shot, but have you perhaps have found anything better since then? I’m also considering of writing my own LWPR in Julia 😉

---

<div class="post-metadata">

### Author: ![matnbo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matnbo/32/220166_2.png) [@matnbo](https://discourse.julialang.org/u/matnbo)
#### Post date: [May 16, 2024, 7:24pm UTC](https://discourse.julialang.org/t/lwpr-in-julia/7578/3 "2024-05-16T19:24:36Z")

</div>

In complement to LWPR, you may be interested by LWPLSR that is also presented in [Schaal et al. 2002](https://doi.org/10.1023/A:1015727715131): an implementation (with a faster PLS algorithm than the Nipals used in Schaal et al.) is given [here](https://github.com/mlesnoff/Jchemo.jl) (function [lwplsr](https://mlesnoff.github.io/Jchemo.jl/stable/api/#Jchemo.lwplsr-Tuple%7BAny,%20Any%7D)), allowing KNN-LWPSR that is useful for large datasets.
