Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

Category: Reddit MachineLearning

[D] Two questions about deep q learning

[D] Two questions about deep q learning

https://i.redd.it/9eifb59zaoe31.png

I have two questions(In bold)

I want to use two neural networks to calculate the Q value for my current state(A board game). I use a sigmoid function. I correct the action with the highest value max Q that I obtain in the target network(The rest target is set to original output of the DQN). Is this the correct approach or should I correct all output values in one iteration? Second question: How do I calculate my target value r+ b mac Q(s(prime….). Should I use fixed reward values? **Do I have to use reward values so that I can not surpass the possible output range of sigmoid function?(**Like 0,4 or 0,2) Thank you

submitted by /u/Kralex68
[link] [comments]

[D] Benefits of ML in signal processing

There is plenty of research on ML in signal processing. The majority of it, so it seams to me, is about showing feasibility of ML-based receivers (end-to-end or individual functional blocks of). To me, we are past that – pretty much everybody realizes that ML-based OFDM receiver is possible and can probably achieve comparable performance to that of a conventional receiver. Furthermore, even if/when someone manages to show some (probably marginal) performance gain, that would probably have academic value, but not much beyond that.

To me, there are two fundamental questions, for which I haven’t found answers in the literature and would really appreciate some pointers:

  1. Can ML-based receiver achieve comparable performance with comparable complexity (to these of a conventional receiver)?
  2. Beyond (probably marginal) performance gains, what can be commercial benefits of switching from a conventional receiver to an ML-based one?

Thanks!

submitted by /u/OkRice10
[link] [comments]

[P] Interpreting recurrent neural networks

[P] Interpreting recurrent neural networks

Feature importance along an ALS patient’s time series. The border between the red shade (output increasing features) and the blue shade (output decreasing features) represents the model’s output for each timestamp.

I’ve been working on interpreting recurrent neural networks, having made some changes on the SHAP package to adapt them to this type of model, on PyTorch. In order to share this, I’ve recently posted an article on Medium explaining the core concepts and showing examples of how it works on multivariate time series data. You can read it here: https://towardsdatascience.com/interpreting-recurrent-neural-networks-on-multivariate-time-series-ebec0edb8f5a

Also, feel free to ask me any questions, or to give some suggestions, if you’re interested in this topic 🙂

submitted by /u/AndreCNF
[link] [comments]

[D] Biggest batch size that should be used: Biggest even number that the GPU memory can handle, or biggest power of 2 that the GPU memory can handle? Also why do GPUs love power of 2s?

I have heard that GPUs love power of 2s, and that’s why embeddings and batch sizes are often seen as some power of 2, (64, 128, 256, 512, 1024, etc).

But I never have seen a concrete explanation for why this is.

Also, should a max batch size to be considered the biggest even number that the GPU memory can handle, or the biggest power of 2 that the GPU memory can handle?

submitted by /u/BatmantoshReturns
[link] [comments]

[D] George Hotz: Comma.ai, OpenPilot, and Autonomous Vehicles

[D] George Hotz: Comma.ai, OpenPilot, and Autonomous Vehicles

George Hotz is the founder of Comma.ai, a machine learning based vehicle automation company. He is an outspoken personality in the field of AI and technology in general. He first gained recognition for being the first person to carrier-unlock an iPhone, and since then has done quite a few interesting things at the intersection of hardware and software. This conversation is part of the Artificial Intelligence podcast.

Video: https://www.youtube.com/watch?v=iwcYp-XT7UI

Audio: https://lexfridman.com/george-hotz

https://i.redd.it/oaw3sobo4ne31.png

Outline:

0:00 – Introduction

1:00 – Simulation

6:36 – Hacking

26:45 – Comma.ai and autonomous vehicles

1:49:12 – Hard work

1:50:20 – Merging with AI

1:56:50 – Winning

submitted by /u/UltraMarathonMan
[link] [comments]

[D] Confused about OpenAI Gym: Which listed actions are correct?

On:

https://github.com/openai/gym/blob/master/gym/envs/atari/atari_env.py

There seems to be a common list for every atari environment.

But if you use something like:

print(env.env.get_action_meanings())

It lists only a subsection of these options.

Could I use the same architecture for multiple games by using the “maximum” possible actions? Would the environment accept that?

submitted by /u/ReasonablyBadass
[link] [comments]

[P] Fitting (almost) any PyTorch module with just one line, including easy BERT fine-tuning

Hi everyone,

My name is Dima and I wanted to tell you about an open-source library we work on called TamnunML.

Our goal is to provide an easy to use library (with sklearn interface) for complex model training and fine-tuning. For example, with tamnun you can train any pytorch module like this:

“`python from torch import nn from tamnun.core import TorchEstimator

module = nn.Linear(128, 2) clf = TorchEstimator(module, task_type=’classification’).fit(train_X, train_y) “`

or, you can fine tune BERT on your task as easy as: “`python from tamnun.bert import BertClassifier, BertVectorizer from sklearn.pipeline import make_pipeline

clf = make_pipeline(BertVectorizer(), BertClassifier(num_of_classes=2)).fit(train_X, train_y) predicted = clf.predict(test_X) “`

At the moment tamnun supports training (almost) any pytorch module using just a “fit” method, easy BERT fine-tuning and model distillation.

You can read more about how to train (almost) any pytroch module with tamnun here

The library github page.

The introduction to TamnunML of the library we published in our blog.

submitted by /u/sudo_su_
[link] [comments]