Skip to content

Instantly share code, notes, and snippets.

View louisdorard's full-sized avatar

Louis Dorard louisdorard

View GitHub Profile
# %% [markdown]
# # Dataiku API Quickstart
#
# ## Load secrets
#
# * Option 1: from environment variables
# %%
DKU_DSS_URL = os.getenv("DKU_DSS_URL")
DKU_API_KEY = os.getenv("DKU_API_KEY")
@louisdorard
louisdorard / dataiku_snowflake_schema_read_access.sql
Created December 8, 2021 11:35
Script to grant Dataiku read access to all tables in a given schema in Snowflake
begin;
-- create variables for dataiku role and for database / schema where the tables are (needs to be uppercase for objects)
set role_name = 'DATAIKU_ROLE';
set database_name = 'FIVETRAN_DATABASE';
set schema_name = 'STRIPE';
use role sysadmin;
-- grant dataiku access to database
@louisdorard
louisdorard / dataiku_snowflake.sql
Created December 7, 2021 08:56
Dataiku <> Snowflake setup script
begin;
-- create variables for user / password / role / warehouse / database (needs to be uppercase for objects)
set role_name = 'DATAIKU_ROLE';
set user_name = 'DATAIKU_USER';
set user_password = 'REPLACEME';
set warehouse_name = 'DATAIKU_WAREHOUSE';
set database_name = 'DATAIKU_DATABASE';
set schema_name = 'DATAIKU_SCHEMA'; set stage_name = 'DATAIKU_STAGE';
@louisdorard
louisdorard / ML_Kickstart.md
Last active October 4, 2017 21:09
Program, learning objectives, requirements and instructor for the ML Kickstart training workshop at PAPIs '17

Machine Learning Kickstart — Training Workshop at PAPIs (Boston — 10/23/17)

Summary

Gain the skills to create ML models and use them in your applications, with open source libraries and cloud platforms. In this workshop, we'll demystify Machine Learning, you'll gain an understanding of its possibilities and limitations, and how to put it to work on real problems. You'll learn to create, evaluate and deploy ML models. We'll adopt a top-down, results-first and experimentation-driven approach.

Registration at papis.io/2017

Learning objectives

@louisdorard
louisdorard / papis2017-cfp-guidelines.md
Last active January 18, 2017 08:27
Guidelines for the PAPIs '17 Call for Proposals

(Note: this is a DRAFT, copied from PAPIs ’16)

Calls and key dates

The call for proposals has officially closed. However, there are slots available for lightning talks (5') on October 11, and we may have gaps in the program open up – feel free to submit your proposal and we'll let you know if an opportunity arises.

  1. June 18: Technical and Business Talks
  2. July 10: Tutorials and Research Presentations
  3. October 11-12: Main conference takes place in Boston
require 'rubygems'
require 'bundler/setup'
require 'benchmark'
require 'predicsis_ml_sdk'
PredicsisMlSdk.configure do |config|
config.logger = Logger.new(STDOUT)
config.logger.level = Logger::WARN
end
# -*- coding: utf-8 -*-
#
# Copyright (C) 2013 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@louisdorard
louisdorard / BML_course.md
Created July 19, 2014 08:58
Bootstrapping Machine Learning 3-day course details

Bootstrapping Machine Learning course

Baseline: Learn to use Machine Learning quickly with prediction services and APIs

Duration: 3 days

Who should take this course?

  • Companies looking to exploit the value of their data and to use them for decision making
  • Developers/hackers who want to acquire new skills and to learn to start building predictive apps
@louisdorard
louisdorard / Vagrantfile
Created July 27, 2013 17:35
An example Vagrant file with port forwarding, shared folder between host and guest, and shell script provisioning.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "lucid32"