Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:48
    MichaelBetser opened #5643
  • 17:18
    Lazzzer starred dotnet/machinelearning
  • 02:56

    michaelgsharp on master

    updating version after release … (compare)

  • 02:56
    michaelgsharp closed #5642
  • 01:31
    gionnani commented #5463
  • 01:28
    gionnani commented #5463
  • 00:14
    codecov[bot] commented #5641
  • 00:07
    codecov[bot] commented #5641
  • Mar 03 22:47
    codecov[bot] commented #5642
  • Mar 03 22:42
    codecov[bot] commented #5642
  • Mar 03 22:25
    pgovind synchronize #5641
  • Mar 03 21:23
    michaelgsharp review_requested #5642
  • Mar 03 21:23
    michaelgsharp review_requested #5642
  • Mar 03 21:23
    michaelgsharp review_requested #5642
  • Mar 03 21:23
    michaelgsharp review_requested #5642
  • Mar 03 21:23
    michaelgsharp opened #5642
  • Mar 03 20:02
    pgovind edited #5641
  • Mar 03 20:01
    pgovind review_requested #5641
  • Mar 03 20:01
    pgovind review_requested #5641
Qamar Shahzad
@Qamar0343
in google when we type email its giving suggestion , how we can implement suggestion like gmail in c#.
which library of AI we can use in c# to achieve suggestion like gmail..
Praveen Raghuvanshi
@praveenraghuvanshi1512
I haven't tried it with ML.Net but generatlly it works on trie data structure... it's more of a matching than recommendation... otherwise you can use bing API's
Qamar Shahzad
@Qamar0343
i dont want to go any third party some one said we can achieve this in c# AI.
i will check this
and if need help i will disturb you again
Praveen Raghuvanshi
@praveenraghuvanshi1512
np...anytime
Qamar Shahzad
@Qamar0343
hello bro
i have one question
@praveenraghuvanshi1512 you know any tool in c# , we can you to analyze the web page like PageSpeedTest in google
i dont want to use third party any AI related stuff available in c# ,for analyzing the web site page and return the result @praveenraghuvanshi1512
Praveen Raghuvanshi
@praveenraghuvanshi1512
Sorry, I have no knowledge on this.
Qamar Shahzad
@Qamar0343
ok bro
raizam
@raizam

Hi, I've been hacking on ml-net in the last couple days in order to get 2 requirements working:

  • a custom IDataView constructed from c# IEnumerable<T> where T: struct.
  • Add support for c# enums types, which turns into ml.net key types if base enum's integer is unsigned

I'm trying to acheive this without forking ml-net itself which is not an easy task, as I have to constantly avoid ml-net's default c# <-> DataViewCollumn auto binder which is not compatible with my requirements.
My question is the following: Is it possible to customize the c# to IDataView binder? I'd like to set a global Transform.CustomMapping<InputT, OutputT> but without InputT and convert things manually.

Eric Erhardt
@eerhardt

a custom IDataView constructed from c# IEnumerable<T> where T: struct.

Can you explain a bit more on why you'd want/need to do this?

Add support for c# enums types

i'd assume inside ML.NET's code would be the easiest to accomplish this. but it may be possible without forking

raizam
@raizam

Can you explain a bit more on why you'd want/need to do this?

I'm storing all the training data in a fixed compact memory space, which is accessed using an index with getters/setters, it would be wasteful to convert each entry to a GC instance

i'd assume inside ML.NET's code would be the easiest to accomplish this. but it may be possible without forking

it would be nice to be able to override the ML's binder globally, as I would like to implement some specific convention based mapping without attributes. but if the first problem is solved (structs) then I wouldn't mind wrapping my structs into structs that conforms ML's attributes

Hayk Jomardyan
@jomardyan
Hi, for Stock Chart Pattern analysis , which model i have to chose ? Any advise ?
raizam
@raizam
to me sounds like a combinaison of clustering + classification would be a good fit
but I'm still a newbie :)
Eric Erhardt
@eerhardt
@raizam - check out https://docs.microsoft.com/en-us/dotnet/api/microsoft.ml.idataview?view=ml-dotnet for an example how to implement IDataView. My recommendation would be to implement it for a specific struct first, to get an understanding of the different pieces, before trying to implement it for a general IEnumerable<T> where T : struct. You seem to have a specific example in mind (I'm storing all the training data in a fixed compact memory space, which is accessed using an index with getters/setters), so I'd try doing it for that struct specifically
raizam
@raizam
@eerhardt yes that example was my starting point, I have a generic IDataView implementation almost ready
Ghost
@ghost~5c87d13ed73408ce4fba69e3
Hello! Is there any example or tutorial for interactive learning? I would like to do image classification, but I want the user to label the images on the go from scratch and keep improving the model as the user keeps labelling new images...
jigarhshah17
@jigarhshah17
So, for 25 + regression model and I have need to 25+ regression prediction engine exe so adding new model I have create one more exe am I right? if i am wrong tell me how to do it?
John Brandes
@John0x
Hey :)
Is there a way to use Ml.net for text generation? Something like GPT2?
Mark Whiting
@whitmark
If ML.net requires .Net Core 3.1 or later, what is the best way to train and save a ML.net model from a .Net Framework 4.8 app? Can I format and submit ML.Net CLI commands from the app?
1 reply
kennywangjin
@kennywangjin
Hi, i am using ML.net with aspnetcore 3.1 to classify images. Everything works fine when i develop on local machine. but it fails if i publish program to remote server. error shows that IIS has difficulty to load tensorflow.dll file. can anyone help me?
1 reply
Haiping
@Oceania2018
A blog of Comprehensive Introduction to TensorFlow AutoGraph for .NET: https://medium.com/scisharp/tensorflow-autograph-for-net-a89f1e97a4a5 , please take a look if you're interested in .NET deep learning.
jucchytil
@jucchytil
I have working code that trains a LightGBM regression model in ML.NET using the RegressionExperiment.Execute command. (dang this is cool). My laptop has a Nvidia GeForce GTX 960M video card that contains 640 CUD 5.0 cores. Is it possible to configure ML.NET to utilize these CUDA cores so I increase my runs/minute training rate?
jucchytil
@jucchytil
Doh. 640 CUDA 5.0 cores
evo11x
@evo11x
how to get the Train parameters for the bestRun from AutoML ? I can get the best trainer name, but not it's parameters which were used by AutoML
not the metrics, the trainer parameters
evo11x
@evo11x
How to format the CSV data with arrays to be accepted by Visual Studio Model Builder? Because my data saved with mlContext.Data.SaveAsText(trainData, stream) cannot be loaded by Model Builder
Jostein Kjønigsen
@josteink
Hey everyone. Im trying to build classification model using ML.net, but after setting up the model and calling .CrossValidate(), I'm getting this error:
 System.ArgumentOutOfRangeException : Schema mismatch for score column 'Score': expected vector of two or more items of type Single, got Vector<Single, 1>
I'm not quite sure where that mapping/property is defined, and how it should be setup properly, and where to fix it :)
SUDALV
@SUDALV92
Hello, i'm trying to understand if ML.NET can solve my problem. My problem is: i have some user-generated input texts (posts in a social network), these posts contains some values which can be parsed. But since it is user-generated, it is not strongly-formatted and users also makes mistakes etc. Can i use ML.NET for parsing here somehow?
lqdev
@lqdev:lqdev.tech
[m]
@josteink I think the reason you're getting that error is because you only have one class. Take a look at your dataset and make sure that you have more than one class.
Jostein Kjønigsen
@josteink
@lqdev:lqdev.tech One class as in ... one prediction target?
jostein
@jostein:matrix.kjonigsen.net
[m]
Oooh. Matrix. Even better.
lqdev
@lqdev:lqdev.tech
[m]
josteink (Jostein Kjønigsen) yup. That's right. So for example. If you're trying to predict Spam / Not Spam, you can't just have all instances belong to only one of the categories. You need rows that contain examples of both.
jostein
@jostein:matrix.kjonigsen.net
[m]
Seems my error was just that. I had data with little variation, and when doing cross-validate it managed to create a slice with only one score
Thanks for the help
lqdev
@lqdev:lqdev.tech
[m]
Great!
lqdev
@lqdev:lqdev.tech
[m]
@SUDALV92 depends on what you're trying to do. If you just need a parser, I don't think ML NET would help you there. But if you're building auto correction / predictive text ML NET may be able to help with that
Thomas
@thoron

Hi all! I have a question which perhaps someone could point me in the right direction.
I am trying to write a custom IDataView to do Transform on. The issue I am encounting is when
attempting to extract the GetColumn<float[]>("Score") column.

ArgumentOutOfRangeException: requested column not active. Arg_ParamName_Name

My question is how do I retrieve to Score column? It appears to be in the OutputSchema I have however do not specific implementation for retrieving it in my DataView.

Eric Erhardt
@eerhardt
@thoron - when you create a cursor for an IDataView, you need to tell it which columns you are going to retrieve. This is done by the IDataView.GetRowCursor method. When you are creating a cursor for the underlying IDataView that you are reading the "Score" column from, make sure to pass the "Score" column in to GetRowCursor
2 replies
            var textColumn = transformedDataView.Schema["Text"];
            var tokensColumn = transformedDataView.Schema["TokenizedText"];

            using (var cursor = transformedDataView.GetRowCursor(
                new[] { textColumn, tokensColumn }))
Michael Sharp
@michaelgsharp
@thoron there is also a very simple example of creating an IDataView. It is a simplified example, but it should still be able to help somewhat. Did you create the IDataView from scratch?
1 reply