# \#scholar

**URL:** https://forum.elixirforum.com/tag/scholar/3660.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Elixir For Finance (self-published)](https://forum.elixirforum.com/t/elixir-for-finance-self-published/76385)

<div class="topic-metadata">

**Author:** [@akoutmos](https://forum.elixirforum.com/u/akoutmos)\
**Replies:** 27\
**Last updated:** [August 27, 2026, 6:09pm UTC](https://forum.elixirforum.com/t/elixir-for-finance-self-published/76385 "2026-08-27T18:09:02Z")

</div>

@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir for analyzing financial data. This book leans on many of the latest computatio…

---

## [\`Scholar.Linear.LogisticRegression.predict(model, test\_X)\` returns only zeroes](https://forum.elixirforum.com/t/scholar-linear-logisticregression-predict-model-test-x-returns-only-zeroes/66009)

<div class="topic-metadata">

**Author:** [@Pistrie](https://forum.elixirforum.com/u/Pistrie)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 7:57am UTC](https://forum.elixirforum.com/t/scholar-linear-logisticregression-predict-model-test-x-returns-only-zeroes/66009 "2024-09-11T07:57:57Z")

</div>

Here is the relevant livebook snippet: ▶ annotated livebook snippet I’m pretty sure I did it correctly. Can someone spot a mistake of mine, or is this a problem with Scholar? Thanks :slight\_smile:

---

## [How to execute Incremental PCA or similar batch tasks in Nx/Scholar?](https://forum.elixirforum.com/t/how-to-execute-incremental-pca-or-similar-batch-tasks-in-nx-scholar/59039)

<div class="topic-metadata">

**Author:** [@bultas](https://forum.elixirforum.com/u/bultas)\
**Replies:** 3\
**Last updated:** [July 30, 2024, 10:14am UTC](https://forum.elixirforum.com/t/how-to-execute-incremental-pca-or-similar-batch-tasks-in-nx-scholar/59039 "2024-07-30T10:14:54Z")

</div>

Hello, and thank you for the excellent libraries like Nx, Scholar, Axon.. We are in the process of transitioning some of our work from Python to Elixir. It’s heartening to see that many of our tasks can be accomplished…

---

## [Scholar.Preprocessing.one\_hot\_encode does not work?](https://forum.elixirforum.com/t/scholar-preprocessing-one-hot-encode-does-not-work/65194)

<div class="topic-metadata">

**Author:** [@aos](https://forum.elixirforum.com/u/aos)\
**Replies:** 3\
**Last updated:** [July 28, 2024, 8:12pm UTC](https://forum.elixirforum.com/t/scholar-preprocessing-one-hot-encode-does-not-work/65194 "2024-07-28T20:12:40Z")

</div>

Hey all. I’m working through some of my old torch into Nx. I ran into a particular problem that I’m hoping someone can shed some light on. I’m attempting to one-hot encode a Nx.tensor, but using Scholar I get an error. …

---

## [ML Classification with string input, and turning strings to Tensors](https://forum.elixirforum.com/t/ml-classification-with-string-input-and-turning-strings-to-tensors/62975)

<div class="topic-metadata">

**Author:** [@tegmentum](https://forum.elixirforum.com/u/tegmentum)\
**Replies:** 13\
**Last updated:** [April 26, 2024, 4:43pm UTC](https://forum.elixirforum.com/t/ml-classification-with-string-input-and-turning-strings-to-tensors/62975 "2024-04-26T16:43:06Z")

</div>

Hey all, i’m trying to train a classification model (Trying EXGBoost and KNN) To predict a packaging type based on order content. My data is numerical (total volume, item count, total weight), but one important piece of…

---

## [Is cosine distance wrong?](https://forum.elixirforum.com/t/is-cosine-distance-wrong/58887)

<div class="topic-metadata">

**Author:** [@woohaaha](https://forum.elixirforum.com/u/woohaaha)\
**Replies:** 2\
**Last updated:** [October 12, 2023, 3:37am UTC](https://forum.elixirforum.com/t/is-cosine-distance-wrong/58887 "2023-10-12T03:37:17Z")

</div>

I’m using embeddings with pgvector but when using cosine distance the results weren’t matching expectations so I decided to make sure my test example would work with Scholar, but the results are off in Scholar as well wh…

---

## [Silhouette score of Scholar.Cluster.KMeans.fit/2 output](https://forum.elixirforum.com/t/silhouette-score-of-scholar-cluster-kmeans-fit-2-output/56623)

<div class="topic-metadata">

**Author:** [@kip](https://forum.elixirforum.com/u/kip)\
**Replies:** 0\
**Last updated:** [June 22, 2023, 5:41am UTC](https://forum.elixirforum.com/t/silhouette-score-of-scholar-cluster-kmeans-fit-2-output/56623 "2023-06-22T05:41:22Z")

</div>

I’m working to do color clustering (aka color palette, common colors, dominant colors) of images. One very useful technique is k-means clustering which is implemented in Scholar. After k-means clustering I’d like to be…

---

## [Livebook -- Linear Regression on Video Game Sales Data](https://forum.elixirforum.com/t/livebook-linear-regression-on-video-game-sales-data/55147)

<div class="topic-metadata">

**Author:** [@djaouen](https://forum.elixirforum.com/u/djaouen)\
**Replies:** 0\
**Last updated:** [April 9, 2023, 5:09am UTC](https://forum.elixirforum.com/t/livebook-linear-regression-on-video-game-sales-data/55147 "2023-04-09T05:09:05Z")

</div>

Hi, all! I recently started to work translating a linear regression example I did in Python on video game sales data to Elixir and Scholar (which was recently uploaded to Hex). You can find the Python Colab notebook he…
