Skip to content

Instantly share code, notes, and snippets.

View isacmoura's full-sized avatar

Isac Moura isacmoura

View GitHub Profile
@regispires
regispires / h2o_utils.py
Last active November 9, 2021 03:21
Utility functions to work with the h2o machine learning framework
import h2o
def h2o_train(model, X_train, y_train, X_val=None, y_val=None):
print('h2o_train - training...')
X_y_train = np.c_[ X_train, y_train ]
frame_train = h2o.H2OFrame(X_y_train)
if X_val is not None and y_val is not None:
X_y_val = np.c_[ X_val, y_val ]
frame_val = h2o.H2OFrame(X_y_val)
@nportinari
nportinari / pesquisas-eleitorais.ipynb
Last active June 14, 2020 23:30
Pesquisas eleitorais
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rubencaro
rubencaro / install_elixir.md
Last active September 30, 2023 03:58
Elixir installation guide

Elixir installation guide

Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.

The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir and you are good to go.

Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to a specific version, you will need to compile it yourself. Then asdf is your best friend.