dotnet / dotnet/machinelearning

LdSvmTrainer slow behaviour when loading from a remote database

Open
#7,380 5 comments 1 reaction 0 assignees View on GitHub
area-Trainers untriaged
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

**System Information (please complete the following information):**
- OS & Version: Windows 10
- ML.NET Version: 4.0.0
- .NET Version: 9

**Describe the bug**
When using DatabaseLoader from a remote database, the loading time and overall running time is much longer then other trainers.
As well the memory does not fills up quickly in comparison to different trainers

**To Reproduce**
Run LdSvmTrainer on a large dataset with hundreds of columns and millions of rows, should leave memory footprint. but it just consumes more and more data from the network sql and not fills up the memory, also takes about 100 times longer then lgbm / ff.

Run a different trainer (lgbm/ff) on the same dataset and see the memory footprint.

**Expected behavior**
LdSvmTrainer shoud load the entire data onto memory, similar to other ml.net trainers and then work on them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.