Skip to content

Machine learning codes, including self-training codes

Notifications You must be signed in to change notification settings

jehyunlee/code-snippet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code-Snippet for myself

This repository code-snippet is for frequently used code.
Some of them are open-sourced, and some are self-written. Below are the list of them with proper links.

  1. Work-snippet, a subset of Code-snippet
    0.0. Readme [Link]
    0.1. base : Korean Font + Figure Style + df2md() [Download]

  2. bash shell script
    1.1. basic syntax of bash shell [Link]
    1.2. copy and run multiple shells using nohup [Link]

  3. geocoding with folium, geopandas and geojson
    2.1. interactive geocoding with folium [Link]
    2.2. displaying data on map with administrative borders[Link]

    • html2png [Link]
    • read JSON from web [Link]
    • data validation (duplicated & missing ones) [Link]
    • map + admin. districts + data visualization with legend as independent png file [Link]

    2.3. tips of geopandas from Pycon 2019 tutorial [Lecture Link][1][2-1][2-2]

    • Korean font problem : try another encoding [Link]
    • Reading geometry data as text [Link]
    • About geocoding coordination system, epsg and proj [Link]
    • Geometry file type selection by driver [Link]
    • dissolve, agglomerating districts [Link]
    • pd.merge, map + data [Link]
  4. data visualization with matplotlib and seaborn.
    3.1. Multiple graphs in a frame [Link]
    3.2. Data distribution (bar plot) with text, for Categorical data [Link] and Numerical data [Link]
    3.3. Scatter plot on a Map [Link]
    3.4. Colors and Colormaps [Link]
    3.5. Add color function [Link]
    3.6. Violin plot with Raw data [Link], subplot control with gridspec [Link]
    3.7. 3D Rotation animation, using ax.view_init and ffmpeg [Link]
    3.8. Stacked Bar plot with relative values [Link]

  5. data analysis with pandas.
    4.1. Nice representation of pandas DataFrame to markdown [Link]
    4.2. Find address (raw and column) by value [Link]
    4.3. Create Timestamp from split data [Link]
    4.4. Find first data of each date [Link]
    4.5. Retrieving the name of a variable [Link]
    4.6. Creating unicode dictionary [Link]

  6. techniques of numpy.
    5.1. Numpy vectorization functions [Link]
    5.2. numpy.vectorize() [Link] and as decoration[Link]

  7. image processing with pillow, scikit-image, hyperspy and pyimagej.
    6.1. Read metadata from .dm3(TEM) and .tif(SEM), then export to .jpg. [Link]

  8. docker
    7.1. Installation of docker on windows 10 home [Link]
    7.2. Basic commands [Link]
    7.3. Build and Run commands [Link]
    7.4. Inspect commands [Link]
    7.5. User account settings [Link]
    7.6. Commit and Push [Link]

About

Machine learning codes, including self-training codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published