Skip to content

Instantly share code, notes, and snippets.

View Torenable's full-sized avatar

Richard Huang Torenable

View GitHub Profile
@Torenable
Torenable / xgb_tb.py
Last active January 3, 2021 03:33 — forked from tsu-nera/xgb_tb.py
xgboost visualization with tensorboard
'''
Updates:
1. Using tensorboardX to replace tensorboard_logger as I prefer tensorboardX's API
2. Log the tree growth process, which would be displayed under "IMAGES" tab in Tensorboard
'''
import pandas as pd
import xgboost as xgb
from sklearn.model_selection import train_test_split
@Torenable
Torenable / knime Batch execute
Last active March 11, 2021 19:23 — forked from semeltheone/knime Batch execute
Knime Execute Workflows from the Commandline
# Windows:
knime.exe -consoleLog -noexit -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile="PathToYourWorkflow.zip" -destFile="OutputPathToYourWorkflow.zip"
# Mac
/Applications/KNIME\ 3.5.3.app/Contents/MacOS/Knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile="PathToYourWorkflow.zip" -destFile="OutputPathToYourWorkflow.zip"
# Linux
knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile="PathToYourWorkflow.zip" -destFile="OutputPathToYourWorkflow.zip"
@Torenable
Torenable / graph_gist_template.adoc
Created November 17, 2016 17:00 — forked from jexp/graph_gist_template.adoc
CHANGEME: GraphGist Template. Fork to make your own, view source to see instruction comments

REPLACEME: TITLE OF YOUR GRAPHGIST

Introduction

@Torenable
Torenable / graphviz-build-system-for-sublime.md
Last active March 22, 2017 17:21 — forked from olange/graphviz-build-system-for-sublime.md
Graphviz (DOT) Build System for Sublime Text 2 and 3

To transform the currently opened Graphviz source file (in DOT Language) into a PNG:

{
    "cmd": [ "/usr/local/bin/dot", "-Tpng", "-o", "$file_base_name.png", "$file"],
    "selector": "source.dot"
}

Usage