Lurker News

Comments (102) 30 threads

howmayiannoyyou4 replies#
Terrific!

Keep pursuing this and ignore critics. What you're doing is important b/c ML is just out of reach of a big percentage of developers and technical lay people. It will take time to get your approach right, but it will make a difference.
As a suggestion - provide more real-world examples (eg. business, sports, etc) so that users can tinker with your samples as pathway toward learning.
Please don't give up on this. Great job.

nidhaloff3 replies#
Hi thanks a lot. I received positive interactions on github from the community, however, your comment is the first encouraging feedback I ve got here :D so, I appreciate it.

I will take your suggestion into consideration. You are right, there should be more real-world examples that will help users get started and see how this can be useful.
The thing is, I started the project two weeks ago, so it still relatively new. I ve been coding day n night because the idea got me excited. I published the first stable release this week. However, there are new features that will be implemented in the next releases.

musingsole1 reply#
If the project is only 2 weeks old, all the more reason to ignore any critics. Particularly here where people are likely to criticize a baby in the crib for not working on coding projects outside of naptime.
reagent_finder1 reply#
Well, I mean that baby doesn't have a functional colon yet so putting semicolons everywhere just makes perfect sense.

Continue this thread — 1 reply

nurettin#
What you're doing is creating a declarative syntax for applying machine learning tasks directly to data. This makes it learnable by machines, effectively teaching them how to do their own machine learning experiments. I think this project is greater than the sum of its parts.
nidhaloff#
Someone posted this tool earlier in the comments too. I was surprised since I never heard of it and find it great!

However, I think it is only for building deep learning models and does not have any general ML support or am I missing something? If yes then that fact makes it very different from igel as a tool

gavinray2 replies#
Agreed here. I am not involved in the ML space but have briefly toyed with PyTorch/TF/Sklearn.

I see the value in having a CSV data dump and going "I wonder what happens if I run it through X." then a CLI command to find out.
Would be neat if there was an adapter for SQLite too IMO.

rmbeard1 reply#
Combining it with bash and psql + csvkit + xsv will give you a powerful combination for data ingestion, wrangling and training all on the command line this would seem to have clear benefits for fast development and prototyping.
nidhaloff#
Hi, can you please explain more, or you can open an issue and explain the expected functionality there
nidhaloff#
Hi, can you explain how you imagine the functionality with SQLite and why SQLite specifically
crehn1 reply#
Totally agree. I sense ML in general can benefit tremendously from buttery-smooth UX, something it has typically lagged behind on.

Keep it up Nidhal, you’re doing a tremendous service. Don’t let the snobs get to you.

nidhaloff#
Thank you. I appreciate it
ApolloRising1 reply#
I agree, I think this is great, and something I will try to use shortly.
nidhaloff#
Thanks. Stay tuned, a lot is coming soon
mk_chan1 reply#
I find it difficult to believe anyone who can use the models listed on the repository effectively would have any difficulty using scikit themselves.

Abstracting scikit out into a configuration file only very slightly simplifies the actual code involved but I can see this being useful for some non technical users who don't care about the code and just know the ML terms.

nidhaloff1 reply#
It's not about that someone will have difficulty using sklearn. It's more about how clean the approach is if you have all your configs in a yaml file and you can change things very easily/quickly and rerun an experiment. I'm working with data & ML models everyday and it became overwhelming when my codebase is large and I want to change small things and re-run an experiment. Also It would be great to not lose much time writing that code in the first place (although it's easy to do), if you want a quick and dirty draft. The thing is, it is much cleaner if you have your preprocessing methods and model definition in one file. However, there are other features that will be integrated soon, like a simple gui built in python
iamflimflam1#
This is a good point, something that I've been struggling with in my own personal projects is keeping track of parameters as I tweak and play with hyper-parameters and model structures.

A few parameters are fine, you can pull them out into constants, but you quickly end up with a lot of variables to keep track of.

zatel3 replies#
This is so cool!

I know the answer is to just write what I'm describing myself but does anyone know of an existing way to find the best SciKitLearn algorithm for a particular problem. Like if I want to find the regression fit is there a way to just pass in the data and have it trained,tested on all of the regression algorithms in SKLearn? My current workflow is to just pick a handful of algorithms that sound like they should be good for the problem at hand and try each one of them manually. Igel seems like a step towards making this sort of thing possible if another tool doesn't exist already.

nidhaloff2 replies#
Hi, we should be careful with the feature you are talking about. The results from all machine learning algorithm can be very misleading and probably some models will overfit the data.

So, if you throw some data and fit all machine learning models on it and then compare the performance. You will probably receive misleading values since different models require different tuning approaches. It's not as easy as you said it, you can't just feed data (also depends on the data) to models and expect to get the best model at the output.
One approach I can think of here is to integrate cross validation and hyperparameter tuning with your suggestion. However, I can imagine that this can be computationally expensive. I will take it into consideration as an enhancement for the tool. Thanks for your feedback

craftinator#
Hey, I really appreciate your answer to this question. As I was reading the question, red flags started popping up in my mind about the risk of overfitting when using the ensemble approach, and I think your response was spot on for how an ML researcher would go about it! Most ML professionals I've talked to have been really against making a user friendly ML suite because of how easy it is to misuse these algorithms.
zatel#
Thank you for explaining this more indepth. I should have been more specific with my original comment, I did intend cross validation and hyper parameter tuning as inclusing to the automatic feature I was describing.

These operations certainly are computationally expensive, a recent hyperparameter tuning operation locked up my laptop for 3 days but this seems to be the case for any similar operation. The only approaches I've come across so far to overcome it are things like converting the data to smaller sizes (which seems outside the scope of this tool) and some way to batch the data so that it can be "paused" and resumed as needed. Thank you again for creating Igel.

dint1 reply#
Triage is built for this: training and evaluating giant grids of models & hyperparameters using cross-validation. Similar to igel, it abstracts ML to config files and a CLI.

It's designed for use in a public policy context, so it works best with: - binary classification problems (ex: the evaluation module is designed for binary classification metrics) - problems that have a temporal component (the cross validation system makes some assumptions about this)
https://dssg.github.io/triage/

zatel#
Thank you for sharing this.
zatel#
thank you, this is the keyword I think I was missing in my searches and now I feel silly for not thinking of it.
alphachloride1 reply#
I think it can be a useful tool for automation of very standardized ML tasks. However:

It's a command line tool that is also intended for non-technical folks. I sense a contradiction.
That doesn't even speak to the requirement of understanding all these ML algorithms so I can specify them in the config file, or understanding YAML format, or data curation. At this point it would be easier to write the python code - especially scikit-learn which is a very well-documented library.

nidhaloff2 replies#
Hi, I want to clear up some points. First, it is not intended for non technical folks, this was never claimed! However, even if it was, we are currently working on a gui, where (non technical)users can run it by writing a simple cmd in the terminal.

Second, I'm a technical user, in fact this is my daily work and we build this tool for reasons that were mentioned in the docs/readme, so you can check it out.
Third, you mentioned understanding YAML Format. Really? I mean yaml is the most understandable format any person can understand. I can never imagine that a person cannot learn yaml in 30 min at most.
Finally, yes sklearn is great and well documented but did you checked how many libraries are out there that represent basically a wrapper to make it easier/abstracter to write sklearn code? you ll be surprised.
As discussed in the official repo & docs, it is a much cleaner approach to gather your preprocessing & model definition parameters/configs in one human readable file/place, where you can manipulate it easily. Re-run experiments, generate drafts, building proof of concepts as fast as possible, than to write code. At the end of the day, we all have different opinions, you can still write code of course. The tools are there to help.

Planktonne1 reply#
The README says "The goal of the project is to provide machine learning for everyone, both technical and non technical users"; that definitely sounds as though it's intended for non-technical users.
nidhaloff1 reply#
Well, "both technical and non technical users" right?

Continue this thread — 1 reply

alphachloride#
I am only going off on the README, as the other user pointed out, which addresses technical and non-technical people.

So yes, this tool can have great utility. It adds an abstraction layer and removes busywork for repetitive programming tasks. However, the utility will be for users acquainted with command line. Users who know what a config file is, or data types, lists, and key-value relationships assumed by the YAML spec. Users will also have to know the different algorithms so they can populate the config. All of these things require technical knowledge.
All of the above things are what us technical users take for granted, so a claim to cater to non-technical users must be evaluated from their perspective.
I am not belittling your work - this is a good project, but currently targeting an audience too broad.

Load more comments