Skip to content

Instantly share code, notes, and snippets.

View csala's full-sized avatar

Carles Sala csala

View GitHub Profile
@csala
csala / Pythia-CLA.md
Last active January 9, 2020 16:57
Pythia-CLA

PYTHIA CONTRIBUTOR LICENSE AGREEMENT

This Contributor License Agreement ("Agreement") is between the contributor specified below ("you") and Pythia Consulting S.L., a corporation from Sabadell, with a principal place of business at Carrer Estació, 56, 1er, 2a, Sabadell, 08202, Barcelona, Spain ("we" or "us"). This Agreement applies to all Contributions (as defined below) submitted by you to an open source project owned or managed by us (each, a "Project").

  1. Definitions: The terms "you" or "your" mean the copyright owner or the individual or legal entity authorized by the copyright owner that is granting the licenses under this Agreement.
@csala
csala / DAI-LAB-CLA.md
Last active January 9, 2020 16:15
MIT DATA TO AI LABORATORY CONTRIBUTOR LICENSE AGREEMENT

MIT DAI-LAB CONTRIBUTOR LICENSE AGREEMENT

This Contributor License Agreement ("Agreement") is between the contributor specified below ("you") and The Data To AI Laboratory from the Massachusetts Institute of Technology, located at 32 Vassar Street, Office D712, Boston, Massachusetts, 02139, USA ("we" or "us"). This Agreement applies to all Contributions (as defined below) submitted by you to an open source project owned or managed by us (each, a "Project").

  1. Definitions: The terms "you" or "your" mean the copyright owner or the individual or legal entity authorized by the copyright owner that is granting the licenses under this Agreement.
id: c8ed65df-aa68-4ee0-bbb5-c5f76a40bcf8
schema: https://metadata.datadrivendiscovery.org/schemas/v0/pipeline.json
created: "2019-02-06T00:00:00.000000Z"
context: TESTING
name: K-fold split of tabular datasets
description: |
K-fold split of tabular datasets for cross-validation.
inputs:
- name: folds
- name: full dataset
$ pip install scikit-image==0.14.3
Collecting scikit-image==0.14.3
Using cached https://files.pythonhosted.org/packages/73/fd/5f4f2a3819967fb87e3a6fc56470b6b0dd134ddca0f66b1b0b0a825af2d1/scikit_image-0.14.3-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
ERROR: Exception:
Traceback (most recent call last):
File "/Users/dailab/scikit-image/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 178, in main
status = self.run(options, args)
File "/Users/dailab/scikit-image/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 352, in run
resolver.resolve(requirement_set)
File "/Users/dailab/scikit-image/lib/python3.6/site-packages/pip/_internal/resolve.py", line 131, in resolve
@csala
csala / CLA-MIT.md
Last active March 15, 2019 11:03 — forked from ManuelAlvarezC/cla.md
Contributor License Agreement - MIT License

Individual Contributor License Agreement (CLA)

Thank you for submitting your contributions to this project.

By signing this CLA, you agree that the following terms apply to all of your past, present and future contributions to the project.

License.

You hereby represent that all present, past and future contributions are governed by the

@csala
csala / btb_mlblocks_example.py
Created November 2, 2018 19:53
BTB and MLBlocks usage example
# -*- coding: utf-8 -*-
import json
from collections import defaultdict
import mlblocks
import numpy as np
from mlblocks.datasets import load_iris
from btb import HyperParameter
from btb.tuning import GP
@csala
csala / gist:f6b1cab98d7d0a9110f6285c0d8af824
Created April 27, 2018 07:23 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@csala
csala / gist:ff7c250e0a15d06ddaa2
Created January 9, 2016 13:35
oslo.config install error
Getting distribution for 'oslo.config==1.2.1'.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 2288, in main
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
@csala
csala / Output.log
Last active August 29, 2015 14:01
Test service for issue #238
zato@zatodev1404:~$ tail -fn0 quickstart/server1/logs/server.log | grep TEST_LOG
2014-05-23 16:55:08,225 - INFO - 23446:Dummy-13 - test-random-log.ws:22 - TEST_LOG: Entering test-random-log.ws
2014-05-23 16:55:08,226 - INFO - 23446:Dummy-13 - test-random-log.ws:22 - TEST_LOG: test-random-log.ws handle
2014-05-23 16:55:08,227 - INFO - 23446:Dummy-13 - test-random-log.ws:22 - TEST_LOG: test-random-log.ws took 2 ms
2014-05-23 16:55:08,228 - INFO - 23444:Dummy-20 - test-random-log.first-step:22 - TEST_LOG: Entering test-random-log.first-step
2014-05-23 16:55:08,228 - INFO - 23444:Dummy-20 - test-random-log.first-step:22 - TEST_LOG: test-random-log.first-step handle
2014-05-23 16:55:08,230 - INFO - 23444:Dummy-20 - test-random-log.first-step:22 - TEST_LOG: test-random-log.first-step took 1 ms
2014-05-23 16:55:14,040 - INFO - 23446:Dummy-14 - test-random-log.ws:22 - TEST_LOG: Entering test-random-log.ws
2014-05-23 16:55:14,040 - INFO - 23446:Dummy-14 - test-random-log.ws:22 - TEST_LOG: test-random-log.ws handle
201