NLP Framework Comparison

Conslusion

SpaCy for take-and-use in production. NLTK to try new things.

ref en

en backup

in cn

cn backup

Markdown MD In Case Of

Open Links in New Tabs

using md

For Kramdown, e.g. Jekyll:

[clickable-text](link-url){:target="_blank"}

In general, the format in Kramdown is {: attribute1="value1" attribute2="value2"}

For pandoc:

[clickable-text](link-url){target="_blank"}

In general, the format in Kramd......

Machine Learning ML Books

Favoured

MLAPP (Kevin Murphy), Machine Learning - A Probablistic Perspective, is more comprehensive, insightful and interesting, and contains more "real" examples/problems. However, the presents are kinda out of order, which can be difficult to follow for a first book.

Python Code Cookbook

See also:

Learning Python, the Language

Pandas

Get column_nr in pandas/numpy.

if isinstance(X, pd.DataFrame):

X_is_df = True

row_nr = X.shape[0]

column_nr = X.shape[1]

if isinstance(X.columns, pd.core.index.MultiIndex):

df_columns_is_multi_index = True

else:

......

Boot Partitions, Install Multi-OS

See also: easy2boot, Automatic-Unattended-Install-of-Ubuntu.

When installing Ubuntu, it will decide what kind of partition to use:

Ubuntu decicison tree for using entire disk:

? installer booted in EFI mode or BIOS mode?

* EFI

: use gpt and never make biosboot

* BIOS

? is the disk larg......

Steps to Check Netwok Interface Card (NIC) Configurations

Check the physical NIC is connected.

lspci

Note: The NIC will be shown regardless if drivers are installed, this is a PCI feature. Ref.

Then check if it is recognized as network interfaces:

ifconfig -a

Check if it is up:

ifconfig