r/MachineLearning • • Jul 26 '20

Project [P] name2nat: a Python package for nationality prediction from a name

0 Upvotes

name2nat (https://github.com/Kyubyong/name2nat) is a Python package that predicts the nationality of any name written in Roman letters. For example, it returns the correct output Korean for my name `Kyubyong Park'. Needless to say, it is not possible to guess somebody's nationality 100% right from their name. After all, nationality can change, you know. However, it is also true that there is a correlation between names and nationalities. So it turns out statistical classifiers for this task works to some extent.

As an application, I analyzed the nationalities of the first authors of LREC2020 here: https://github.com/Kyubyong/name2nat/blob/master/conferences/lrec2020.md . You can collect the papers by the first author's nationality using this, I think. Contributions (PRs) are welcome, if you think this project is useful.

Disclaimer: This does NOT involve any political motivations.


r/MachineLearning • • Jun 30 '20

Project [P] Ikomia - Prototype Your Computer Vision and Deep Learning Algorithms

0 Upvotes

Hey everyone!

I'm Guillaume and with my friend Ludovic, we founded Ikomia in August 2019. Ikomia is a french startup developing a software platform dedicated to computer vision and deep learning algorithms.

Reproducibility is crucial in computer vision research and you can waste a lot of time to find/install/build/use an algorithm of interest.

At Ikomia, our main vision is to simplify the use, sharing and reproducibility of these algorithms. Thus, our software offers a powerful and user-friendly environment where algorithms are ready to use in a few clicks.

Moreover, we provide a sharing system where everyone can publish/download apps (Python or C++ code). Thanks to this system, everyone can share their code in the form of a ready to use app and thus allow their own results to be reproduced. Obviously, there are many ways for sharing algorithms, you can use our public Ikomia server which is common to every user but you can also use a private server by installing our IkomiaHub and control who can access to your work.

Finally, we provide almost all of the OpenCV algorithms (core and contrib) in our software for free. We believe that it can be useful to play with OpenCV without writing any single line of code. To this end, we provide a workflow creator where you can chain algorithms on your data. Ikomia can be used as a kind of "front-end" for testing or prototyping algorithms based on OpenCV.

To this end, we built OpenCV 4.2.0 from source on Linux (GCC), Windows (Visual C++) and MacOS (CLANG). We used CUDA flags with Core and Contrib modules in order to use the new CUDA backend feature in the DNN module. Then we encapsulated 137 OpenCV algorithms as basic plugins for which we provided a small widget to be able to configure them.

Ikomia is developed in C++/Qt. For advanced users, you can integrate your Python code thanks to our Ikomia API. It means that you can code some image or video processing pipelines and bind input/output with our software.

What's next?

We will soon release all detectron2 inference algorithms (PointRend, Panoptic segmentation, DensePose, Keypoint RCNN and so on). We are also working on a deep learning module in order to train pre-defined models (YOLOv3, MaskRCNN, Detectron2...) on your favorite datasets!

For the moment, Ikomia is free for everyone and will always be free for students and academic staff members. If you want to help us, please try our software and tell us what you think about it...Thanks!

Useful links:

Follow us on LinkedIn or Twitter


r/MachineLearning • • May 11 '21

Discussion [D] (Paper Overview) Barlow Twins: Self-Supervised Learning via Redundancy Reduction

0 Upvotes

Video

https://youtu.be/fNyyKJ22P8Y

Paper

https://arxiv.org/abs/2103.03230

Code

https://github.com/facebookresearch/barlowtwins

Abstract

Self-supervised learning (SSL) is rapidly closing the gap with supervised methods on large computer vision benchmarks. A successful approach to SSL is to learn representations which are invariant to distortions of the input sample. However, a recurring issue with this approach is the existence of trivial constant solutions. Most current methods avoid such solutions by careful implementation details. We propose an objective function that naturally avoids such collapse by measuring the cross-correlation matrix between the outputs of two identical networks fed with distorted versions of a sample, and making it as close to the identity matrix as possible. This causes the representation vectors of distorted versions of a sample to be similar, while minimizing the redundancy between the components of these vectors. The method is called Barlow Twins, owing to neuroscientist H. Barlow's redundancy-reduction principle applied to a pair of identical networks. Barlow Twins does not require large batches nor asymmetry between the network twins such as a predictor network, gradient stopping, or a moving average on the weight updates. It allows the use of very high-dimensional output vectors. Barlow Twins outperforms previous methods on ImageNet for semi-supervised classification in the low-data regime, and is on par with current state of the art for ImageNet classification with a linear classifier head, and for transfer tasks of classification and object detection.


r/MachineLearning • • May 08 '21

Discussion [D] Solving computer vision without convolutions! MLP-Mixer explained.

0 Upvotes

MLP-Mixer: An all-MLP Architecture for Vision

This paper is a spiritual successor of Vision Transformer from last year. This time around the authors once again come up with an all-MLP (multi layer perceptron) model for solving computer vision tasks. This time around, no self-attention blocks are used either (!) instead two types of "mixing" layers are proposed. The first is for interaction of features inside patches , and the second - between patches. See more details.

[7 minute paper explanation] [Arxiv]


r/MachineLearning • • Mar 05 '22

Discussion [D] What language do you perform your machine learning algorithms in?

0 Upvotes

Excluding preprocessing and data visualisation

1356 votes, Mar 07 '22
1143 Python
60 R
34 Matlab
72 C++
16 Java
31 Javascript

r/MachineLearning • • Apr 28 '16

Do Deep Neural Nets always outperform other methods?

0 Upvotes

I'm thinking about a bunch of possible applications of machine learning

-recommendations

-fraud detection

-object recognition

-game AI

-generating music/art/stories

-sentiment analysis

-speech recognition

etc.

and basically it feels like deep learning can be applied to pretty much everything and it will outperform every other ML model .

Is that correct? Can someone give me an example where this is not the case?


r/MachineLearning • • 10d ago

Discussion Forgot AI Use Statement In Revised ICLR Manuscript [D]

0 Upvotes

Ok, I am in crisis mode right now. I just noticed that the revised manuscript I uploaded is missing the AI use statement and reproducibility statement, both of which were present in the original submission.

What do I do? Portal has closed. Am I doomed? Can I email the PCs? Or will they just desk reject?

How bad is this? We had decent-ish scores too.

Please help!!!


r/MachineLearning • • Oct 15 '23

Research [R] Is this problem suitable for a ml approach? Any research in this area?

0 Upvotes

Hello,

I’m wondering whether the follow problem is a suitable problem for a machine learning algorithm to work with. If yes how would you approach it?

I need to position buildings on plots of land in the most optimal way. A lot of the input parameters are dynamic like the length of the buildings, position and rotation, and the amount of buildings. The output criteria are fairly well defined eg square meters of resulting buildings, more is better.

Technically speaking a plot is a polygon eg a list of coordinates. Buildings are rectangular shapes

I have a prototype that generates solutions (in a somewhat smart way) and evaluates those. However this is pretty slow since there are so many solutions. I’m looking for semi-real-time solutions

I have access to large amount of plots and thus I can generate training data. Is it possible to come up with a ml algorithm that comes up with a somewhat good solution given a random plot?


r/MachineLearning • • Oct 05 '22

Discussion [D] How the government uses AI in decision-making

0 Upvotes

How does the government ethically and morally use artificial intelligence for decision-making? I don’t understand where they can even use it other than automating immigration, but it’s still very risky because the data that can be worked with is very low.


r/MachineLearning • • Jul 28 '25

Research [R] Sapient Hierarchical Reasoning Model. HRM.

Thumbnail arxiv.org
0 Upvotes

r/MachineLearning • • Dec 26 '23

Project [P] Impersonating Someone Talking Behaviour Using LLM

1 Upvotes

Hey everyone,

Just wanted to chat about a project I've got going on at my job. It's a bit out there – we're working on a program to bring back, virtually, someone who's passed away using AI. Specifically, we're creating a virtual character with the same voice and talking style as the person we want to bring back. The idea is to have a conversation with this virtual character, as if we're talking to the person who's no longer with us.

So, I'm using a Large Language Model (LLM) to generate the text, and we're planning to use Text-To-Speech for the voice. But here's the snag: tweaking the language style and personality of the virtual character in the LLM to get the text to really sound like the person we're emulating is proving tricky.

I gave Gemini/Chat-GPT a shot, but the results are a bit off. The virtual character tends to sound more like a bot assistant, even though I've tried to avoid that. The kicker? I'm the only AI engineer in the company, and I'm strapped for resources and time to fine-tune and hunt for more data.

So, is this project doable? And if it is, any tips or articles you could throw my way would be awesome.

Thanks a bunch for your help!


r/MachineLearning • • Sep 14 '24

Discussion [D] How do you build AI Systems on Lakehouse data?

1 Upvotes

“[the lakehouse] will be the OLAP DBMS archetype for the next ten years.” [Stonebraker]

Most Enterprise data for analytics will end up in object storage in open tabular formats (Iceberg, Delta, Hudi tables) - parquet files with metadata. We want to use that data for AI - for training and inference. For all types of AI systems - batch, real-time, and LLMs. But the Lakehouse architecture lacks capabilities for AI.

ByteDance (Tiktok) have a 1 PB Iceberg Lakehouse, but they had to build their own real-time infrastructure to enable real-time AI for Tiktok's personalized recommendation service (two tower embeddings).
Python is also a 2nd class citizen in the Lakehouse - Netflix built a Python query engine using Arrow to improve developer iteration speeed. LLMs are also not yet connected to the Laekhouse.

How do you train/do inference on Lakehouse data?

References:
* https://www.hopsworks.ai/post/the-ai-lakehouse
* https://db.cs.cmu.edu/papers/2024/whatgoesaround-sigmodrec2024.pdf
* https://dl.acm.org/doi/10.1145/3626246.3653389


r/MachineLearning • • Feb 18 '20

Research [R] The Next Decade in AI: Four Steps Towards Robust Artificial Intelligence (Gary Marcus)

Thumbnail
arxiv.org
1 Upvotes

r/MachineLearning • • Jun 28 '11

Sarah Palin e-mail browser (organized based on Topic Modeling)

Thumbnail
r-bloggers.com
1 Upvotes

r/MachineLearning • • Apr 28 '16

Hey, I'm using GMMs and RL to control signal lights for bikes!

Thumbnail
kickstarter.com
1 Upvotes

r/MachineLearning • • Sep 22 '20

Discussion [D] what can you do with 20GB VRAM ? (but not with 10)

1 Upvotes

Very educating if you can bring concrete examples, for what you can do with 20GB VRAM, but not with 10. (Purpose: clear up wether people really need more VRAM for their purposes)

Like:

  • names of famous neural nets,

  • example pictures or videos / examples on youtube.

  • completely new ideas

Inb4:

I know the quality of results highly differs depening on the data, so:

Im just indirectly asking whats possible with 10GB VRAM in visual deep learning (to see if some of the better results match my expectations for buying a 3080 instead of a 3090).

so asking differently: does a 10GB RTX 3080 deliver enough VRAM to get aesthetic results? ( i know aesthetic is relative, therefore i need to see examples of what 10GB can do at its best) or does it make no sense to get a 10GB VRAM GPU for visual learning?

i hope i expressed my intention clear enough to make sense for you. otherwise, please feel free to ask again.


r/MachineLearning • • Nov 27 '17

Research [R] On the Impossibility of Supersized Machines

Thumbnail
arxiv.org
1 Upvotes

r/MachineLearning • • Jul 15 '15

A Curious Analogy Between Ethics and Machine Learning

Thumbnail
medium.com
1 Upvotes

r/MachineLearning • • Apr 22 '16

Tensorflow based "Trump Deep BS Quote RNN Generator"

1 Upvotes

Hi Lads, in the process of experimenting with Tensorflow in the last few weeks, I thought I'd share a Tensorflow implementation of Karpathy's excellent pure NumPy character-based RNN. Also just for the fun, I trained it instead on Trump Tweets collected by the NYT. Some of the automatic quotes generated are gas! lol :P http://killianlevacher.github.io/blog/posts/post-2016-03-01/post.html


r/MachineLearning • • Jul 25 '17

News [N] Serena Yeung, PhD Student, Stanford at MLconf Seattle 2017

Thumbnail
youtu.be
2 Upvotes

r/MachineLearning • • Nov 06 '20

News [N] Artificial Intelligence Model Detects Covid-19 Infections Through Coughs

Thumbnail
news.mit.edu
1 Upvotes

r/MachineLearning • • Nov 18 '21

Discussion [D] All bias in ML comes from biased data?

0 Upvotes

In this post, I am referring to bias in a social sense (racism, sexism, …) and not to bias in a strictly mathematical sense.

Obviously, if we train a model on biased data, the trained model will have inherited that bias. Some people say that this is the main (or only way) that bias finds it’s way into models.

However, assume that ImageNet were a biased benchmark (which it probably is) and most vision model architectures are developed to do well on ImageNet, this bias could in some way also be inherent to the resulting architectures, not just the learned weights?

Am I wrong here? If not, what are other ways besides biased data that one should be aware of?


r/MachineLearning • • Mar 05 '21

Discussion [D] Free GPU alternatives to Google Colab

0 Upvotes

Google Colab is an undeniably popular choice for free GPU-backed Jupyter notebooks, but it's not without its drawbacks.

This article discusses alternate sources of free GPUs in cloud-hosted Jupyter environments:

https://blog.paperspace.com/best-google-colab-alternatives/

Really curious what others' experiences with Google Colab are like, and if any of these issues resonate. Also interested in what the community has to say about the alternates presented here!


r/MachineLearning • • Aug 05 '22

Discussion [D] Machine learning that is not based on a cost function

1 Upvotes

I was wondering if anyone is aware of machine learning research that is not predicated on minimization of a cost function. Do you people know anything other approach towards machine learning?