Skip to content

Instantly share code, notes, and snippets.

View Orbifold's full-sized avatar
🍀
Happy. Thinking. Understanding.

Francois Vanderseypen Orbifold

🍀
Happy. Thinking. Understanding.
View GitHub Profile
@Orbifold
Orbifold / node2vec-weighted.ipynb
Last active September 26, 2019 16:46
Node2Vec for weighted graphs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Orbifold
Orbifold / Node2Vec.ipynb
Last active September 21, 2019 05:31
The wonderful Stellargraph shows explicitly how node2vec works via a random walk on graphs to generate 'word' sequences one can use for word2vec.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Orbifold
Orbifold / Analyzing sentiment.ipynb
Last active August 25, 2019 14:37
Analyzing sentiment using TensorFlow RC0 and NLTK.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Orbifold
Orbifold / GraphFrames.ipynb
Last active August 16, 2019 06:27
GraphFrames.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Orbifold
Orbifold / Logistic_Regression_Titanic.ipynb
Last active August 11, 2019 09:24
Most basic example of Using MLlib on Spark.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Orbifold
Orbifold / QuiverPublisher.js
Created June 9, 2019 17:07
Script to publish Quiver markdown notebooks to WordPress.
// You need to export first a notebook from Quiver (https://happenapps.com) to markdown.
// Use the directory path below to publish all the markdown files and the images to a WordPress site.
// Make sure you install lodash, wordpress and fs-extra.
// Set the ur, username and password of WordPress and run `node QuiverPublisher.js'.
// Note that images are deleted and recreated since the overwrite flag of the xmlrpc wp-method does not work.
const wordpress = require('wordpress');
const fs = require('fs-extra');
const _ = require('lodash');
const path = require('path');
@Orbifold
Orbifold / MathematicaLSTM.nb
Last active August 16, 2019 14:29
Learning to add with LSTM
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 11.3' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
@Orbifold
Orbifold / TensorFlow hello world.md
Created September 1, 2018 12:57
TensorFlow hello world
	import tensorflow as tf


	import numpy as np
	x_input = np.array([[1,2,3,4,5]])
	y_input = np.array([[10]])
@Orbifold
Orbifold / Pytorch hello world.md
Created September 1, 2018 12:49
Pytorch hello world
	import torch


	batch_size = 32
	input_shape = 5
	output_shape = 10