# \#machine-learning

**URL:** https://discourse.julialang.org/tag/machine-learning/259.md?match_all_tags=true&page=4&tags%5B%5D=machine-learning

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 5

---

## [LIBSVM.jl with imbalanced dataset](https://discourse.julialang.org/t/libsvm-jl-with-imbalanced-dataset/94635)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [February 14, 2023, 4:36pm UTC](https://discourse.julialang.org/t/libsvm-jl-with-imbalanced-dataset/94635 "2023-02-14T16:36:47Z")

</div>

I am trying to use LIBSVM.jl with an imbalanced dataset. Providing weights for each class doesn’t seem to affect the result: using CSV using DataFrames using LIBSVM df = CSV.read("svm.csv", DataFrame) X = \[df.x1 df.x…

---

## [Uplift model similar to PyLift or R's Lift Package?](https://discourse.julialang.org/t/uplift-model-similar-to-pylift-or-rs-lift-package/94268)

<div class="topic-metadata">

**Author:** [@Billpete002](https://discourse.julialang.org/u/Billpete002)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 4:36am UTC](https://discourse.julialang.org/t/uplift-model-similar-to-pylift-or-rs-lift-package/94268 "2023-02-14T04:36:53Z")

</div>

Hi, I am looking for a package that works similarly to PyLift or R’s lift package. The idea is that I have two models: Self-service and the other is Sales-Assisted. I used Catboost.jl and examined manually that leads go…

---

## [Enabling broadcasting for named tuples alt. broadcast? broadcasted? broadcastable? BroadcastStyle?](https://discourse.julialang.org/t/enabling-broadcasting-for-named-tuples-alt-broadcast-broadcasted-broadcastable-broadcaststyle/94468)

<div class="topic-metadata">

**Author:** [@Euhan](https://discourse.julialang.org/u/Euhan)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 11:59am UTC](https://discourse.julialang.org/t/enabling-broadcasting-for-named-tuples-alt-broadcast-broadcasted-broadcastable-broadcaststyle/94468 "2023-02-13T11:59:44Z")

</div>

Like many before me (if my googling serves me right), I found myself in need of broadcasting over named tuples. In this case it is in the hope that I can get MLUtils.jl to handle batches that are (you guessed it) named t…

---

## [Lead Scoring Not Wasting Everyone's Time](https://discourse.julialang.org/t/lead-scoring-not-wasting-everyones-time/94131)

<div class="topic-metadata">

**Author:** [@Billpete002](https://discourse.julialang.org/u/Billpete002)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 10:30am UTC](https://discourse.julialang.org/t/lead-scoring-not-wasting-everyones-time/94131 "2023-02-06T10:30:45Z")

</div>

Hi, I’ve created a lead scoring model for sales. The model performs well and passed every check. Now I have a list of probabilities to convert - The sales team doesn’t want to receive low probability leads nor do they w…

---

## [XGBoost rewrite using Metal.jl](https://discourse.julialang.org/t/xgboost-rewrite-using-metal-jl/94056)

<div class="topic-metadata">

**Author:** [@roh\_codeur](https://discourse.julialang.org/u/roh_codeur)\
**Replies:** 0\
**Last updated:** [February 4, 2023, 5:41pm UTC](https://discourse.julialang.org/t/xgboost-rewrite-using-metal-jl/94056 "2023-02-04T17:41:31Z")

</div>

Hi Is anyone working on porting XGBoost to Metal.jl? Looks like official XGBoost lib don’t plan to support Apple M1 mac GPU (Apple Sillicon) thanks Roh

---

## [Forecasting time series data with neural ordinary differential equations in Julia](https://discourse.julialang.org/t/forecasting-time-series-data-with-neural-ordinary-differential-equations-in-julia/92977)

<div class="topic-metadata">

**Author:** [@dmjalal90](https://discourse.julialang.org/u/dmjalal90)\
**Replies:** 27\
**Last updated:** [January 31, 2023, 11:50pm UTC](https://discourse.julialang.org/t/forecasting-time-series-data-with-neural-ordinary-differential-equations-in-julia/92977 "2023-01-31T23:50:03Z")

</div>

Dear all, I am a new user of Julia and following a tutorial on NeuralODE (please see the tutorial: Experiments with Neural ODEs in Julia). How can I forecast ENSO data (time series data in a CSV file) using the above t…

---

## [R2 utility function for glm GeneralizedLinearModel](https://discourse.julialang.org/t/r2-utility-function-for-glm-generalizedlinearmodel/93694)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 6\
**Last updated:** [January 28, 2023, 3:36pm UTC](https://discourse.julialang.org/t/r2-utility-function-for-glm-generalizedlinearmodel/93694 "2023-01-28T15:36:19Z")

</div>

Hello, good afternoon. There are a r2 utility function for glm GeneralizedLinearModel? r2 only works with LinearModel. Also, the coefficients from sklearn had some value differences from glm. Someone knows if sklear d…

---

## [Incorrect Infeasibility Status While Using MIPVerify](https://discourse.julialang.org/t/incorrect-infeasibility-status-while-using-mipverify/93033)

<div class="topic-metadata">

**Author:** [@Ahmed\_Anwar](https://discourse.julialang.org/u/Ahmed_Anwar)\
**Replies:** 2\
**Last updated:** [January 20, 2023, 12:26pm UTC](https://discourse.julialang.org/t/incorrect-infeasibility-status-while-using-mipverify/93033 "2023-01-20T12:26:12Z")

</div>

Hello Everyone, I am trying to use MIPVerify library for neural network verification against adversarial attacks. My goal is to replace the ReLU function by a trainable mask that depends on the input image. Therefore fo…

---

## [How to onehot encode batches of sequences?](https://discourse.julialang.org/t/how-to-onehot-encode-batches-of-sequences/33237)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 2\
**Last updated:** [January 17, 2023, 12:37am UTC](https://discourse.julialang.org/t/how-to-onehot-encode-batches-of-sequences/33237 "2023-01-17T00:37:40Z")

</div>

Is there a recommended way to one-hot encode a batch of sequences? More precisely, I am modelling sequences from an alphabet with q letters. A sequence of length N can be one-hot encoded as a q x N one-hot matrix (e.g.,…

---

## [\[ANN\] Jchemo.jl - A Julia package for Chemometrics](https://discourse.julialang.org/t/ann-jchemo-jl-a-julia-package-for-chemometrics/91714)

<div class="topic-metadata">

**Author:** [@matnbo](https://discourse.julialang.org/u/matnbo)\
**Replies:** 0\
**Last updated:** [December 15, 2022, 8:42pm UTC](https://discourse.julialang.org/t/ann-jchemo-jl-a-julia-package-for-chemometrics/91714 "2022-12-15T20:42:34Z")

</div>

I would like to announce a new Julia package for chemometrics. Jchemo.jl provides functions for data exploration and predictions in chemometrics or other domains, with focus on high dimensional data. The package was …

---

## [Arpeggeo® Technologies](https://discourse.julialang.org/t/arpeggeo-technologies/90111)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [December 8, 2022, 1:32am UTC](https://discourse.julialang.org/t/arpeggeo-technologies/90111 "2022-12-08T01:32:35Z")

</div>

I’m super excited to announce Arpeggeo®, the tech company I’ve founded after years of academic work to bridge industrial challenges in mining, energy and agriculture with our state-of-the-art GeoStats.jl technology. We …

---

## [MLJ Tuning and Hyperparameters , Regression](https://discourse.julialang.org/t/mlj-tuning-and-hyperparameters-regression/90546)

<div class="topic-metadata">

**Author:** [@Mr.Benz](https://discourse.julialang.org/u/Mr.Benz)\
**Replies:** 0\
**Last updated:** [November 20, 2022, 4:16pm UTC](https://discourse.julialang.org/t/mlj-tuning-and-hyperparameters-regression/90546 "2022-11-20T16:16:01Z")

</div>

I started with julia , new to data science. i have a quetion on MLJ tuning ang iteratied model. in a loop , Do we need to do TunedModel + IteratedModel +evaluate or IteratedModel +TunedModel +evaluate which is best wa…

---

## [Can I reconstruct a network using Flux.params in Flux.jl?](https://discourse.julialang.org/t/can-i-reconstruct-a-network-using-flux-params-in-flux-jl/90531)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 2\
**Last updated:** [November 20, 2022, 9:31am UTC](https://discourse.julialang.org/t/can-i-reconstruct-a-network-using-flux-params-in-flux-jl/90531 "2022-11-20T09:31:04Z")

</div>

Hi, I have a custom network nn. I can get the parameters p of nn by p = Flux.params(nn). Now, I’d like to reconstruct a neural network from the parameters. Is there any some ways to do the following? nn = NN() # con…

---

## [Batching in Geometric Flux](https://discourse.julialang.org/t/batching-in-geometric-flux/90120)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 6\
**Last updated:** [November 17, 2022, 11:03am UTC](https://discourse.julialang.org/t/batching-in-geometric-flux/90120 "2022-11-17T11:03:57Z")

</div>

Hi, can anyone shed me a light on how minibatching in GeometricFlux works? Particularly I am interested in running minibatch on a set of graphs with different edge matrices. Thanks for an answer, Tomas

---

## [Get WCSS (Within-Cluster Sum of Square) for optimal number of clusters in kmeans](https://discourse.julialang.org/t/get-wcss-within-cluster-sum-of-square-for-optimal-number-of-clusters-in-kmeans/90374)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 0\
**Last updated:** [November 16, 2022, 11:34pm UTC](https://discourse.julialang.org/t/get-wcss-within-cluster-sum-of-square-for-optimal-number-of-clusters-in-kmeans/90374 "2022-11-16T23:34:40Z")

</div>

I want to use kmeans for a clustering project, and I need to get the optimal number of clusters with the elbow method, is there a way to get the WCSS in the implementation of Clustering.jl to build something like this …

---

## [What is the difference (interpretation) between the partial R^2 and the SHAP value for a linear regression model?](https://discourse.julialang.org/t/what-is-the-difference-interpretation-between-the-partial-r-2-and-the-shap-value-for-a-linear-regression-model/90265)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 11:27pm UTC](https://discourse.julialang.org/t/what-is-the-difference-interpretation-between-the-partial-r-2-and-the-shap-value-for-a-linear-regression-model/90265 "2022-11-14T23:27:31Z")

</div>

Both calculate the contribution of a given variable to the output’s variability but… To calculate the coefficient of partial determination R2 for a given variable: We calculate the R2 with and without that variable and…

---

## [Flux - LSTM - Issue with input format for multiple features](https://discourse.julialang.org/t/flux-lstm-issue-with-input-format-for-multiple-features/55272)

<div class="topic-metadata">

**Author:** [@thomaszub](https://discourse.julialang.org/u/thomaszub)\
**Replies:** 9\
**Last updated:** [November 1, 2022, 7:52pm UTC](https://discourse.julialang.org/t/flux-lstm-issue-with-input-format-for-multiple-features/55272 "2022-11-01T19:52:54Z")

</div>

Hi community, I’m diving into machine learning in Julia and currently having some issues with the input format for a LSTM model. The target is to predict the current activity of a human based on motion data from a smart…

---

## [Coercing Data Type of Large Matrix](https://discourse.julialang.org/t/coercing-data-type-of-large-matrix/89494)

<div class="topic-metadata">

**Author:** [@nosewitz](https://discourse.julialang.org/u/nosewitz)\
**Replies:** 0\
**Last updated:** [October 29, 2022, 4:02pm UTC](https://discourse.julialang.org/t/coercing-data-type-of-large-matrix/89494 "2022-10-29T16:02:00Z")

</div>

I have a sparse matrix with dimensions 800 x 100,000 filled solely with binary data (1 or 0), when loading it into a table with MLJ, their type is determined to be count data. I am able to change it into the OrderedFacto…

---

## [\[ANN\] ConformalPrediction.jl: Uncertainty quantification through conformal prediction for machine learning models trained in MLJ](https://discourse.julialang.org/t/ann-conformalprediction-jl-uncertainty-quantification-through-conformal-prediction-for-machine-learning-models-trained-in-mlj/89348)

<div class="topic-metadata">

**Author:** [@pat-alt](https://discourse.julialang.org/u/pat-alt)\
**Replies:** 1\
**Last updated:** [October 27, 2022, 8:52am UTC](https://discourse.julialang.org/t/ann-conformalprediction-jl-uncertainty-quantification-through-conformal-prediction-for-machine-learning-models-trained-in-mlj/89348 "2022-10-27T08:52:55Z")

</div>

Very excited to announce ConformalPrediction.jl :tada: ConformalPrediction ConformalPrediction.jl is a package for Uncertainty Quantification (UQ) through Conformal Prediction (CP) in Julia. It is designed to wo…

---

## [Translate a 1d convolution from Keras to Julia?](https://discourse.julialang.org/t/translate-a-1d-convolution-from-keras-to-julia/88903)

<div class="topic-metadata">

**Author:** [@elii17](https://discourse.julialang.org/u/elii17)\
**Replies:** 3\
**Last updated:** [October 21, 2022, 2:18pm UTC](https://discourse.julialang.org/t/translate-a-1d-convolution-from-keras-to-julia/88903 "2022-10-21T14:18:15Z")

</div>

Hey ! I am trying to reproduce this python code in julia : (Supervised graph classification with Deep Graph CNN — StellarGraph 1.2.1 documentation). While the GNN part is completely fine, I am finding myself to struggle…

---

## [MLFlow Integration](https://discourse.julialang.org/t/mlflow-integration/88320)

<div class="topic-metadata">

**Author:** [@Nosferican](https://discourse.julialang.org/u/Nosferican)\
**Replies:** 3\
**Last updated:** [October 12, 2022, 4:48pm UTC](https://discourse.julialang.org/t/mlflow-integration/88320 "2022-10-12T16:48:10Z")

</div>

I found this project and was wondering if anyone is familiar with it and whether any Julia ML framework had plans to provide integration with it.

---

## [\[ANN\] BetaML v0.8: Model defininition, hyperparameters tuning and fitting in 2 lines](https://discourse.julialang.org/t/ann-betaml-v0-8-model-defininition-hyperparameters-tuning-and-fitting-in-2-lines/88119)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [October 3, 2022, 1:56pm UTC](https://discourse.julialang.org/t/ann-betaml-v0-8-model-defininition-hyperparameters-tuning-and-fitting-in-2-lines/88119 "2022-10-03T13:56:05Z")

</div>

Dear all, I’m pleased to announce BetaML v0.8. The Beta Machine Learning Toolkit is a package including many algorithms and utilities to implement machine learning workflows in Julia, with a detailed tutorial on its usa…

---

## [\[ANN\] EvoLinear.jl for Linear Boosting](https://discourse.julialang.org/t/ann-evolinear-jl-for-linear-boosting/87329)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 7\
**Last updated:** [September 20, 2022, 3:08am UTC](https://discourse.julialang.org/t/ann-evolinear-jl-for-linear-boosting/87329 "2022-09-20T03:08:31Z")

</div>

A new package implementing linear boosting has just been launched: EvoLinear.jl. It essentially covers the functionality provided by the gblinear learner found in XGBoost. Notably, it has L1 & L2 regularization, plus t…

---

## [Tabular MDP/Q-learning solver: Reward Matrix R(s, a, s') vs. R(s, a)](https://discourse.julialang.org/t/tabular-mdp-q-learning-solver-reward-matrix-r-s-a-s-vs-r-s-a/87457)

<div class="topic-metadata">

**Author:** [@Richard\_Wright](https://discourse.julialang.org/u/Richard_Wright)\
**Replies:** 0\
**Last updated:** [September 19, 2022, 4:52am UTC](https://discourse.julialang.org/t/tabular-mdp-q-learning-solver-reward-matrix-r-s-a-s-vs-r-s-a/87457 "2022-09-19T04:52:51Z")

</div>

Hello Folks, I am using the POMDP package along with the TabularTDLearning package In the first part of the problem I worked out a 3D transition matrix T(s’, a, s) and a 2D reward matrix R(s, a). Then formulated it as …

---

## [Senior Scientist, Decision Science @ Merck](https://discourse.julialang.org/t/senior-scientist-decision-science-merck/86284)

<div class="topic-metadata">

**Author:** [@thevolatilebit](https://discourse.julialang.org/u/thevolatilebit)\
**Replies:** 6\
**Last updated:** [September 16, 2022, 8:26pm UTC](https://discourse.julialang.org/t/senior-scientist-decision-science-merck/86284 "2022-09-16T20:26:53Z")

</div>

Decision science (dynamical modeling, optimisation, uncertainty quantification, and beyond) with :juliaheartpulsing:! https://jobs.merck.com/us/en/job/R197735/Senior-Scientist-Decision-Science

---

## [3 new Neural 3D Graphics Software Engineer positions at AMD](https://discourse.julialang.org/t/3-new-neural-3d-graphics-software-engineer-positions-at-amd/87288)

<div class="topic-metadata">

**Author:** [@claforte](https://discourse.julialang.org/u/claforte)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 9:17pm UTC](https://discourse.julialang.org/t/3-new-neural-3d-graphics-software-engineer-positions-at-amd/87288 "2022-09-15T21:17:55Z")

</div>

We use (and appreciate!) Julia in many of our research projects, and plan to open-source a lot of it soon. https://twitter.com/chrlaf/status/1570149341515612161?s=20&t=pOEjKRa6Vkk1KNoeRWlZwg

---

## [Best Practices for Using "Off-the-Shelf" ML Solutions?](https://discourse.julialang.org/t/best-practices-for-using-off-the-shelf-ml-solutions/86991)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 1\
**Last updated:** [September 12, 2022, 7:54am UTC](https://discourse.julialang.org/t/best-practices-for-using-off-the-shelf-ml-solutions/86991 "2022-09-12T07:54:25Z")

</div>

Hi folks! :wave: I am not a formal ML researcher (I couldn’t tell you how to build a Neural Network from scratch) but I know about ML models and when what species of models make sense for what problems. A question that…

---

## [Learning Surrogates or Flux](https://discourse.julialang.org/t/learning-surrogates-or-flux/86457)

<div class="topic-metadata">

**Author:** [@davide445](https://discourse.julialang.org/u/davide445)\
**Replies:** 7\
**Last updated:** [September 4, 2022, 6:55pm UTC](https://discourse.julialang.org/t/learning-surrogates-or-flux/86457 "2022-09-04T18:55:06Z")

</div>

Proceeding trough my Julia learning I have a specific goal, produce a realtime surrogate of the complex soft body dynamics produced from packages such as deal.ii or similar specialized FEM. This is just an example of de…

---

## [Which library supports a non-allocating neural network model](https://discourse.julialang.org/t/which-library-supports-a-non-allocating-neural-network-model/85591)

<div class="topic-metadata">

**Author:** [@jmair](https://discourse.julialang.org/u/jmair)\
**Replies:** 13\
**Last updated:** [August 17, 2022, 8:51am UTC](https://discourse.julialang.org/t/which-library-supports-a-non-allocating-neural-network-model/85591 "2022-08-17T08:51:10Z")

</div>

Hi all, I have been using Flux.jl to create a simple model. I do not need to take gradients; I only need to evaluate a loss for a given set of parameters. Currently I use a setup similiar to this: using BenchmarkTools …

---

## [Lux.jl Chain of Dense layers don't see speed up going from 32 bits -\> 16 bits](https://discourse.julialang.org/t/lux-jl-chain-of-dense-layers-dont-see-speed-up-going-from-32-bits-16-bits/85419)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 5\
**Last updated:** [August 7, 2022, 8:49am UTC](https://discourse.julialang.org/t/lux-jl-chain-of-dense-layers-dont-see-speed-up-going-from-32-bits-16-bits/85419 "2022-08-07T08:49:54Z")

</div>

using Lux, BenchmarkTools, Random const rng = Random.default\_rng() julia\> let model = Chain( Dense(23, 30, Lux.relu), Dense(30, 25, Lux.relu), Dense(25, 20, Lux.relu…

[Previous page](https://discourse.julialang.org/tag/machine-learning/259.md?match_all_tags=true&page=3&tags%5B%5D=machine-learning)

[Next page](https://discourse.julialang.org/tag/machine-learning/259.md?match_all_tags=true&page=5&tags%5B%5D=machine-learning)
