Machine Learning Blogs

machine-learning-7-1-1-696x492

Machine Learning is Fun!

Deep Learning

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money, BlackFriday.fm to check latest news, ads and sales in BlackFriday shopping season.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

 

Resources:

Pattern Recognition and Machine Learning

Machine Learning with R

Machine Learning Map

Machine Learning Algorithms Pros and Cons

Mathematical Decision Making: Predictive Models and Optimization

Advertisements
Posted in CS Research&Application, Uncategorized | Tagged , | Leave a comment

Web Development Basics (10-29-2017)

447567-the-best-web-hosting-services-for-2014

– Past:SOAP ( HTTP + XML )

– Present:REST ( HTTP + JSON )

– Future:gRPC + Protocol Buffers

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money, BlackFriday.fm to check latest news, ads and sales in BlackFriday shopping season.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

Posted in CS Research&Application, Uncategorized | Tagged | Leave a comment

Best iOS and Android libraries every mobile developer should know

opensource-300x173

iOS

AFNetwork (network)

UALogger (logging)

JSONModel (model object mapping, from json to class)

JsonDB (json DB store, query and manipulation)

Fabric (Crashlytics, collect crash report)

DFImageManger (image preheating, caching and loading)

DeepLinkKit (deep link)

HCSStarRatingView (star rating)

CleverTap (data collection, analysis, push notification)

UICKeyChainStore (resolve keychain pain)

Google-Mobile-Ads (ads)

FBAudiceNetwork (ads)

Toast (android toast like view)

SVProgressHUD (progress hud)

UITextField+Shake (UITextField category with shake effect)

NSString-Email (NSString category to check string is email or not)

Xcode’s memory debugging facilities: Visual Memory Debugger, Zombies Instrument, Address Sanitizer, Thread Sanitizer and malloc diagnostics

AppCode (much better than Xcode in coding)

 

Android

Glide (image loading, caching)

Genymotion Android Emulator (much faster than Android Studio Emulator)

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money, BlackFriday.fm to check latest news, ads and sales in BlackFriday shopping season.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

 

 

Posted in CS Research&Application, iOS, Uncategorized | Tagged , , | Leave a comment

Best Practice for Coding

wpid-Programming-Wallpaper-3

1. Annotation always write before the code

2. Remove the console.log message and the redundant code once done.

3. For Javascript, prefer console.debug() when you have to have temporary logging in the code.

4. killall python

5. If need more data export and import, install MongoDB locally is better than using mLab.

 

To be continue …

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

Posted in CS Research&Application, Intern&Job, IT, Uncategorized | Tagged , , | Leave a comment

Web Basics

447567-the-best-web-hosting-services-for-2014
1. authentication: who you are
authorization: what you can do

cookie: more physical

session: context (teaching – learning, lecturing)
session cookie (bank login)
persistent cookie (remember me option)
token – certificate

2. multi-thread

context thread
thread pool
blocking I/O
single thread
non-blocking I/O (then go to end of queue)
3. Semantic Versioning
breaking . feature . fix (1.3.1)
~ (tilde): update to the latest fix version
^ (caret): update to the latest feature and fix versions
4. Socket vs Port
A socket represents a single connection between two network applications.
A port represents an endpoint or “channel” for network communications.
5. NoSQL is not schema free, but dynamic schema (implicit structure/schema, row and column, match to code expectation)

6. Reactive Programming

a sequence of data stream
cancellable (subscription)
used in both frontend and backend, stream data is like audio, video, stock ticket info, twitter tweets, IoT data, etc.
Pull vs Push
Pull: consumer, function, iterators, active
Push: producer, Promises, Observables, passive
Observable: play from beginning for every subscriber
Subject: on live, no replay
7. SQL vs NoSQL
MySQL (Netflix user info, movie info, payment)
need transaction (transfer money), strong consistency (no same name in system), well structured
MongoDB (Comments)
more flexible, frequent write
S3 (movie data)
huge size, no need mutation
replica (whole data)
shard (partial data)

 

8. Apache Benchmark (A/B test)
ab -c 100 -n 1000 https://www.google.com/
9. Code Editor
Brackets (friendly to front end development)
10. ECMAScript 6 equivalents in ES5 (link)
11. Regular Expression
online tool: RegExr
12. 在 2016 年学 JavaScript 是一种什么样的体验?(link)

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.Follow me @Yaoli0615 at Twitter to get latest tech updates.

Posted in CS Research&Application, IT, Uncategorized | Tagged , | Leave a comment

How the Web Works

447567-the-best-web-hosting-services-for-2014How the Web Works: A Primer for Newcomers to Web Development (or anyone, really)

https://medium.freecodecamp.org/how-the-web-works-a-primer-for-newcomers-to-web-development-or-anyone-really-b4584e63585c

How the Web Works Part II: Client-Server Model & the Structure of a Web Application

https://medium.freecodecamp.org/how-the-web-works-part-ii-client-server-model-the-structure-of-a-web-application-735b4b6d76e3

How the Web Works Part III: HTTP & REST

https://medium.freecodecamp.org/how-the-web-works-part-iii-http-rest-e61bc50fa0a

 

A Beginner-Friendly Introduction to Containers, VMs and Docker

https://medium.freecodecamp.org/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b

Linux namespace and control group.

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

Posted in CS Research&Application, Uncategorized | Tagged , , , | Leave a comment

Advanced Algorithm Research Notes

daie-algorithms

1. KMP

Problem: find a substring in a string

brute force: start from every position in str1 and compare with str2, time is O(n*m).

optimization idea: position 1 and position 2 comparison is independent.

prefix without last one and prefix without first one in str2.

application: check tree T1 in T2, serialize and find substring.

2. Manacher

problem:longest palindrome substring (最长回文子串)in O(n)

idea:最右回文覆盖(边界),回文中心,过程绑定在某些不回退的变量

explanation:

“abc121def” => “#a#b#c#1#2#1#d#e#f”

3. 完美洗牌算法

4. 矩阵快速幂

1) 严格固定(状态转移方程)

2) F(k) = F(1) * |k * k| ^ (n -k)

application: Fibonacci Series

idea: brute force solution => optimized solution (Recursion => Memorized Search => DP

1) 试法(recursion)

2)确定维数(参数个数)process(array, index, aim) => dp[index][aim]

3)初始状态(不依赖任何其他位置)

4)结果位置

5)任意点的依赖位置

5. 蓄水池算法

6. BFPRT

Problem: find nth smallest element in an array.

Solution idea: not randomly pick the initial value.

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.
Follow me @Yaoli0615 at Twitter to get latest tech updates.

 

Resources:

Core Java Volume I–Fundamentals (10th Edition) (Core Series)

Core Java, Volume II–Advanced Features (10th Edition) (Core Series)

Test-Driven Java Development

Java Concurrency in Practice

Java: An Introduction to Problem Solving and Programming (7th Edition)

Java 9 for Programmers (Deitel Developer Series)

Java SE8 for the Really Impatient: A Short Course on the Basics (Java Series)

Core Java for the Impatient

Java: The Beginners Guide for every non-programmer which will attend you trough your learning process

Java Deep Learning Essentials

Machine Learning in Java

Learning Reactive Programming With Java 8

Java 9 Programming By Example

Thinking in Java (4th Edition)

The Java EE Architect’s Handbook, Second Edition: How to be a successful application architect for Java EE applications

Java Artificial Intelligence: Made Easy, w/ Java Programming

Posted in CS Research&Application, Uncategorized | Tagged | Leave a comment