I will definitely look like a stupid to ask but I will.
I am just wondering if it is possible to solve some NLP or AI or Machine learning problems in Elm. for example, decide what can be a good response from an already defined set or list, for a request?
If yes, please guide me where should I start, or show me something if you have already done.
It doesn’t look like the are any Elm packages for this right now (try searching here), but there’s no reason that one couldn’t be implemented in Elm.
You could also look at using an existing JS library through ports if you’re intent on using Elm for this.
It’s worth noting that Elm isn’t quite as performant as vanilla JS, so you might want to look elsewhere if you’re looking to implement something computationally complex.
I am not implementing something complex, Just looking to train some data and then return it based on the best match.
Let’s say, I have data in a List composed of Strings (almost 100 sentences). Now I want to search for a specific words in the list. I want Elm to give me only those values which matches best.
Not sure, if I can do something like this in Elm to train a module to return only the best matches.
I know there has been exploration of data visualization with SVG in Elm packages, but I’d love to see the package ecosystem expand to cover data analysis as well! I think the tasks that @ahmadsherzai is describing could be an excellent fit for Elm!
When I was a student a decade ago, I remember implementing things like Hidden Markov Model’s, clustering, and Support-Vector Machines in languages where visualization was much more difficult, and I think it would have been great to be able to pair these algorithms with a nice SVG that shows the clusters or regressions that come out!
I know the WebGL have techniques to get good performance for their physics simulations, so I’d be curious where we hit limits when it comes to data analysis. I suspect a lot of useful analyses can be implemented without any vector unpacking tricks, and you’d still get performance that’s more than enough for cases like @ahmadsherzai is describing!
I looked into this area a bunch in November, but ended up feeling like I wasn’t enough of a domain expert to really do this overall project justice. I was going to talk about my findings at Oslo Elm Day and ask the community to help take the next steps!
Thank you Evan for the reply and THANK YOU FOR THE AWESOME LANGUAGE!
I would love to see someone starts working on these packages, ASAP. Please mention if we have data experts in our community.