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.

Author: torontoai

[P] How we used USE and FAISS to enhance ElasticSearch results

I just wrote an article (quite long) about how we’ve build a semantic similarity index alongside the ElasticSearch and used both to provide smarter search results.

Tools used:

Link to the article: https://blog.onebar.io/building-a-semantic-search-engine-using-open-source-components-e15af5ed7885

I hope, this would be helpful as a practical “how-to” for anyone, trying to build a semantic search engine for their project.

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

[N] Pytorch hackathon at Facebook. Aug 8th – Aug 9th. Application only.

https://www.eventbrite.com/e/pytorch-summer-hackathon-in-menlo-park-registration-63756668913

The eventbrite website will give you a welcome message, but you have to wait until your application is reviewed by Facebook staff and give you a confirmation message. Space is limited and not all applicants will be admitted into the hackathon.

Btw, to anyone who got in, the official website send via email is officially up now (it was down earlier this week), you can use it to find teammates.

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

[P] FP Growth

[P] FP Growth

I have the following table:

https://i.redd.it/5szak6k1mhe31.png

I need to perform fp growth so that the ‘Student’ tuple in ‘Category’ and ‘Profession’ are considered separately and I can get the pattern [10-20], [Student], [Student]. The code i am using gives me support along with the patterns and it considers ‘Student’ in all the columns as same, how can extract only the patterns from this code and also get the pattern mentioned above?

I have the following code:

dataset = [[’10-20′, ‘Student’, ‘Student’, ‘Chicago’],

[’30-40′, ‘Adult’, ‘Unemployed’, ‘Chicago’],

[’30-40′, ‘Adult’, ‘Finance’, ‘Washington’],

[’10-20′, ‘Student’, ‘Student’, ‘Boston’]]

import pandas as pd

from mlxtend.preprocessing import TransactionEncoder

te = TransactionEncoder()

te_ary = te.fit(dataset).transform(dataset)

df = pd.DataFrame(te_ary, columns=te.columns_)

df

print(df)

from mlxtend.frequent_patterns import fpgrowth

print(fpgrowth(df, min_support=0.2))

print(fpgrowth(df, min_support=0.2, use_colnames=True))

Current output:

support itemsets

0 0.50 (Student)

1 0.50 (Chicago)

2 0.50 (10-20)

3 0.50 (Adult)

4 0.50 (30-40)

5 0.25 (Unemployed)

6 0.25 (Washington)

7 0.25 (Finance)

8 0.25 (Boston)

9 0.25 (Chicago, Student)

10 0.50 (10-20, Student)

11 0.25 (10-20, Chicago)

12 0.25 (10-20, Chicago, Student)

13 0.25 (Chicago, Adult)

14 0.50 (30-40, Adult)

15 0.25 (30-40, Chicago)

16 0.25 (30-40, Chicago, Adult)

17 0.25 (30-40, Unemployed)

18 0.25 (Unemployed, Adult)

19 0.25 (Chicago, Unemployed)

20 0.25 (30-40, Unemployed, Adult)

21 0.25 (30-40, Chicago, Unemployed)

22 0.25 (Chicago, Unemployed, Adult)

23 0.25 (30-40, Chicago, Unemployed, Adult)

24 0.25 (Washington, 30-40)

25 0.25 (Washington, Adult)

26 0.25 (Washington, 30-40, Adult)

27 0.25 (Washington, Finance)

28 0.25 (30-40, Finance)

29 0.25 (Finance, Adult)

30 0.25 (Washington, 30-40, Finance)

31 0.25 (Washington, Finance, Adult)

32 0.25 (30-40, Finance, Adult)

33 0.25 (Washington, 30-40, Finance, Adult)

34 0.25 (10-20, Boston)

35 0.25 (Student, Boston)

36 0.25 (10-20, Student, Boston)

>>>

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

[Discussion]Good GAN intro tutorials.

I’ll be teaching a tutorial on GAN with tensor flow. While I’m well versed in the math. I really want to make it easy enough for undergrads that may never have heard about GAN (let’s assume they know Python/Keras and some ML).

Do you have any favorite tutorials out there, either blog post or video.

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

[D] Research management best practice

Just wonder what are the best practices or role models for research management as a group? Research group activities include properly selecting research direction, balancing risk and feasibility, converting research findings into product, optimizing organizational structures, and performance measure etc., but these activities could easily go wild and out-of-control in practice due to the volatile nature of research. Which organization demonstrated most successful research management in history, and are there any key patterns a research group needs to follow in order to reach higher productivity?

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

Idea: MLOps Composer. Interested in the community’s opinion! [Project]

I have an idea that solves a frustration I got while working on various machine learning projects which I think is quite common. I’m curious what others think before I start building the solution. I’m curious to hear all your suggestions and feedback as I want to create a tool that can be beneficial for as many people in ML as possible. First let me describe the problem and then propose my solution.

During several machine learning endeavors, we often quickly ran into scaling and operation issues: frequently it felt as though keeping (preprocessing) pipelines working correctly for different datasets, optimizing hyperparameters (cost-) effectively and managing tests and deployments was taking much more time than the actual development of the individual pieces. Lots of glue code and extremely precise documentation was necessary to keep experiments easily reproducible. Although individual processes were often relatively simple to grasp, properly managing them to work in concert (in various ways) was extremely time-consuming and tedious.

As a solution to this problem I came up with an idea for an application: what if you could manage the different components of the pipelines (let’s call them modules) and hook them up in a GUI similar to Apple’s Quartz Composer. Several commonly used modules can directly be used (so even without any coding experience!), but the user can also write their own Python scripts that can be interacted with using the application. A simple associated Python library aims to create some consistency in input and outputs of Python scripts which enables them to be used in the GUI. The application would also enable users to easily manage deployments of training sessions, tests and inference endpoints on various cloud providers, local compute, or other computers over SSH. Hyperparameter tuning can also be done through modules. Basically the entire process from raw data to usable models for inference can be streamlined in visual pipelines.

I have seen similar tools, but they are often not as extensive as my idea, and sometimes suffer from vendor lock-in issues (such as with Google AutoML). If I’d build this application I might even do so open source, which would also speed up development.

As said, I’m extremely curious what y’all think. I am interested to hear suggestions, comments or similar ideas. Thanks a lot in advance!

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

[D] How to create a neural network for the game Ult. tic tac toe?

Hello I want to create a neural network for the game Ult. Tic tac Toe. It is my first neural network that I will create. Is my approach good? I want to have 90 inputs to the layer(81 representing the sub boards and 9 the global boards, -1 for occupied by O, 0 for empty and 1 for occupied by X). I want to include one or two hidden layers with 40 nodes each(Sigmoid function). The output layer has 1 output node ranging from [-1,1] representing 1 that X will win and -1 that O will win.

I want to play the neural network against itself. I want to have a dataset of 50 games. Then I want to interpolate each board state with the probability of winning. For example X won in 20 rounds, initial board has target output of 0 the next states 0.05, 0.1,0.15……, then backpropagate. What do you think?

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

[D] Financial assistance for attending ICCV as a speaker

Hi,

I recently got a paper accepted at ICCV as an oral presentation. I’m super stoked about this but unfortunately struggling to find money to pay for my trip.

I was a post-doc when I worked on the project and submitted the work. I have now left to industry. My present company won’t pay for me to attend for reasons. The previous grant I was employed on is “running low” on its travel budget so they will not assist. If I were still a post-doc, I don’t think this would be an issue..

My ex-boss said she would look for some money, maybe her discretionary fund but I’m not hopeful. This leaves with me self-funding the entire trip, which is looking around $2000.

Are there any avenues I can explore for help? Have others been in this situation and managed to salvage some money?

Thanks!

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