Skip to content

Instantly share code, notes, and snippets.

View chrislusf's full-sized avatar
🏠
Working from home

Chris Lu chrislusf

🏠
Working from home
View GitHub Profile
@ceshine
ceshine / avazu_ftrl_concurrent.go
Last active August 5, 2021 11:07
Kaggle Avazu Challenge: FTRL-Proximal with L1 & L2 implemented in Go (Concurrent/Multi-threaded)
// Based on tinrtgu's Python script here:
// https://www.kaggle.com/c/avazu-ctr-prediction/forums/t/10927/beat-the-benchmark-with-less-than-1mb-of-memory
package main
import (
"encoding/csv"
"os"
"strconv"
"hash/fnv"
"math"