Yaron Vazana

NLP, Algorithms, Machine Learning, Data Science, tutorials, tips and more

  • About
  • Blog
  • Projects
  • Medium

Contact Me

yaronv99 [at] gmail.com

Powered by Genesis

You are here: Home / Archives for Yaron

Visualizing Vectors using TensorBoard

August 11, 2018 by Yaron Leave a Comment

All machine learning algorithms require your data to be represented as vectors (usually they’re high dimensional).

Many times, visualizing those vectors in order to get insights, even before you run them through a machine learning process, is something which can tell you if you’re heading toward the right solution – or at least let you know if you don’t.

This python notebook contains a small script that can take a set of any n-dimensional vectors and “project” them onto a 2D/3D plain using Tensorboard.

After visualizing your vectors, you can explore and cluster them using PCA / TSNE

clustering using tensorboard

[Read more…]

Filed Under: Data Science, Python Tagged With: Data Science, doc2vec, word2vec

Training a Doc2Vec Model with Gensim

January 20, 2018 by Yaron 2 Comments

Representing unstructured documents as vectors can be done in many ways. One very common approach is to use the well-known word2vec algorithm, and generalize it to documents level, which is also known as doc2vec.

A great python library to train such doc2vec models, is Gensim. And this is what this tutorial will show.

Training Doc2Vec Model with Gensim

[Read more…]

Filed Under: Algorithms, Data Science, Python Tagged With: Data Science, doc2vec, python, word2vec

Scala Website Crawler

April 13, 2017 by Yaron Leave a Comment

All Machine Learning models require a large amount of data, both for training and for testing.

Getting the data, even before dealing with the ML stuff, can be hard and tedious, depending on the source you have and the accessibility of the data itself.

Crawling a website or a blog is a convenient way for getting the data you need. With a relatively small effort, you can generate a CSV file containing all the data, and analyze it easier using state of the art tools.

Scala Crawler

[Read more…]

Filed Under: Algorithms, Scala Tagged With: Crawler, Data Science, Scala

All About Cookie Theft Attacks

July 15, 2016 by Yaron Leave a Comment

Session hijacking attacks have been around since the mid-1990s. In 1994, HTTP version 0.9 beta was the first to be released with cookies support. Starting with HTTP 1.0, security vulnerabilities relating to session hijacking started to evolve into a permanent security risk.

Improved Web Servers, modernized HTTP 1.1 and featured browsers all contribute to this ongoing security problem, and as long as websites continue to use unencrypted communication or do not implement secured connections, session hijacking will continue to be a problem.

This article will cover a very common hacking technique called a “Cookie Theft Attack” or “Session Hijacking”. By the end of this article, you’ll understand the risks and security implications of giving information online and clicking unknown links. I will explain how hackers execute their attacks and what security breaches they’re looking for. In conclusion, I will discuss the best ways to prevent attacks and keep site visitors safe.

cookie theft attacks

[Read more…]

Filed Under: Security, Web Development Tagged With: cookies, security, web development, Websites

Moving Safely to ECMAScript 6

April 12, 2016 by Yaron Leave a Comment

Let’s face it, ECMAScript 6 (AKA ES6) is finally here.

And everyone is using it.

Really?

Well, not yet, but everyone definitely wants to, and probably you do too.

It’s good to know that after years of messy coding with almost 100% freedom, your JavaScript code is finally going to look better, and maybe run faster. Think about the enormous amount of best practices you’re already familiar with from other programming languages, now applied on your unorganized JavaScript code. You’ll also have a relatively moderated learning curve, so once you start your transition, it won’t be long until the new syntax will be the main language for your dev team.

This post will cover a few of ECMAScript benefits, what is takes to make the switch into ES6, and problems you might encounter during this process.

javascript es6

[Read more…]

Filed Under: Web Development Tagged With: ECMAScript 2015, ECMAScript 6, ES6, Javascript

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • …
  • 6
  • Next Page »

SUBSCRIBE TO BLOG

Subscribe to Blog

Subscribe to get the latest posts to your inbox

Recent Posts

  • Training an AutoEncoder to Generate Text Embeddings
  • Using Dockers for your Data Science Dev Environment
  • Identifying Real Estate Opportunities using Machine Learning
  • How to Create a Simple WhatsApp Chatbot in Python using Doc2vec
  • Average Word Vectors – Generate Document / Paragraph / Sentence Embeddings
  • Visualizing Vectors using TensorBoard
  • Training a Doc2Vec Model with Gensim
 

Loading Comments...