fstandhartinger / LightGbmDotNet

A .NET wrapper for the LightGBM machine learning library
MIT License
11 stars 2 forks source link

VB.NET #1

Closed saed23 closed 6 years ago

saed23 commented 6 years ago

Hi, Is it possible to use this library with VB.NET? If so, how? Thanks, Saed

fstandhartinger commented 6 years ago

Hi Saed, sure, you can just

Best regards Florian

saed23 commented 6 years ago

Thank you so much, Florian. Saed

fstandhartinger commented 6 years ago

You're welcome, Saed! :)

saed23 commented 6 years ago

I'm sorry for bothering you again. I successfully compiled the code but I am trying to find a script to read a text file directly as of type IEnumerable<IEnumerable> with no success. I really appreciate if you could provide me a sample code.

Best, Saed

On Tue, May 8, 2018 at 9:14 AM, Florian Standhartinger < notifications@github.com> wrote:

You're welcome, Saed! :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fstandhartinger/LightGbmDotNet/issues/1#issuecomment-387397874, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab2UwqrSZ0uDwOALGIyxIooWN6ExVP06ks5twZoxgaJpZM4TzRiY .

fstandhartinger commented 6 years ago

Hi Saed,

I am not exactly familiar with VB.NET, but maybe this might help you: https://stackoverflow.com/questions/5777038/vb-net-reading-a-csv-file-into-a-2d-array Or this: https://social.msdn.microsoft.com/Forums/en-US/7b0e28b4-c1ef-49d6-8f46-11b379428052/import-from-csv-file-to-two-dimensional-array?forum=vbgeneral

You might need to add double.Parse calls when reading the data from the file to make sure it becomes an enumerable of doubles, not strings or anything else.

Best regards Florian

saed23 commented 6 years ago

Hi Florian,

Thank you for your prompt response.

All the best, Saed

On Tue, May 8, 2018 at 2:47 PM, Florian Standhartinger < notifications@github.com> wrote:

Hi Saed,

I am not exactly familiar with VB.NET, but maybe this might help you: https://stackoverflow.com/questions/5777038/vb-net- reading-a-csv-file-into-a-2d-array Or this: https://social.msdn.microsoft.com/Forums/en-US/7b0e28b4- c1ef-49d6-8f46-11b379428052/import-from-csv-file-to-two- dimensional-array?forum=vbgeneral

You might need to add double.Parse calls when reading the data from the file to make sure it becomes an enumerable of doubles, not strings or anything else.

Best regards Florian

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fstandhartinger/LightGbmDotNet/issues/1#issuecomment-387503641, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab2UwsroHCSpb4jRvnRX1yBoFQwHAnHQks5twehAgaJpZM4TzRiY .