Thursday, September 9, 2021

Machine Learning for Beginners Resources

Uniqtech guide to Machine Learning. This guide explains the difference between machine learning, traditional programming, machine learning workflow, even machine learning jokes, basic neural network, data cleaning data preprocessing, train_test_split() explained, activation functions, evaluation metric evaluation model, introduction to scikit learn patterns code snippets. It also includes: getting started with R programming, getting started with Natural Language Processing (NLP),  famous people in Machine Learning. 

All Uniqtech flash cards to Machine Learning 

Machine Learning training loop explained

Also check out the Uniqtech Guide for Computer Vision 

Getting started with Computer Vision Uniqtech Guide

Wednesday, September 8, 2021

Debugging R programming RStudio

 R Programming error R installation error rtools not installed.

Starting with R 4.0.0 (released April 2020), R for Windows uses a toolchain bundle called rtools40.

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

4.1.0 doesn't have Rtools40

Sunday, May 9, 2021

Coding for Good, Coding as a Service resources

 Did you know that being a developer you are at an unique position to help the society? There are many public service opportunities to contribute your skills

  • Code for America. Join your local Code for America chapters called Brigades. Perhaps not a perfect analogy, it is sort of like Americorp but for coding. They need engineers, product managers and data scientists. In fact, the talents at CoA are very impressive.
  • The federal government now has Chief Information Officer, as well as innovation fellowships for those mid-career in tech.
  • You can definitely volunteer through coding
  • Stanford CS for Good class and Social Entrepreneurship classes teach how to best using code for social good
  • Join a public sector themed Civic Hack, hackathons for those want to do CS for Good.

Saturday, April 24, 2021

Coding resources for women, female engineers, women coders and allies

  • Women Who Code
    • Tracks: Cloud, Data Science,
  • DjangoGirls : "Django Girls is a non-profit organization and a community that empowers and helps women to organize free, one-day programming workshops by providing tools, resources and support. We are a volunteer run organization with hundreds of people contributing to bring more amazing women into the world of technology. We are making technology more approachable by creating resources designed with empathy. During each of our events, 30-60 women build their first web application using HTML, CSS, Python and Django."
  • Female Founder Conference (YC) for startup founders. Women Founder Conference
  • Outco coding interview prep, teaching. Example Uber technical interview challenge
  • Women in Machine Learning Data Science WiMLDS
  • General resources
    • Towards Data Science publication on Medium
  • Girl Geek Dinner
  • Girls Develop It
  • Grace Hopper Conference
  • Girl Geeks
  • ngGirls for Angular

Sunday, February 14, 2021

Developing apps for airtable using Airtable Blocks

The airtable smart sheets now has an app platform called Airtable Blocks, which allows developers to add custom code, and build apps quickly. 

For example, one cool demo is quickly create Google Street view for real estate housing addresses. This could be useful for real estate agents to quickly present a view of the listing to prospective buyers. Perfect for COVID virtual tours.

See the platform manager, engineer explain Airtable Blocks.

You can also fork existing apps by using the Remix functionality, to quickly build on top of sample apps.

Monday, January 18, 2021

Debug Google Cloud Error - Failed to enable API please make sure you have the IAM permission to enable API

 If you are not expecting this message,  and think you have the permission to enable API read on. Before using Google Cloud services, generally we will have to enable the API by searching for it and toggle enable. This is great for permission and cost management. 

Failed to enable API please make sure you have the IAM permission to enable API

If you have the right permissions but still run into this issue, these problems could be the culprit:

  • Your account does not have billing enabled yet. Set up billing. And often Google offers a generous free quota or trial. This may change though.
  • Select the right project to work on. Double check top left of the Cloud console shows the project you are expecting.
  • Your access needs to be owner role or have the ability to create resources.
  • You can check this in the IAM dashboard. 

Friday, January 8, 2021

Modern JavaScript ECMAScript ES6

 ES6, modern JavaScript in year 2020 and 2021, is short for ECMAScript version 6. It is pronounced Ehk, Ma, Script 6. It is a standard, spec drafted by an European consortium for web technology and advancement, by convention. Developers call modern javascript ES6 to distinguish from the old ways, and signal that new conventions are involved: arrow function, and semicolons are optional. One can write a book on ES6. This blog post focuses on getting started quickly, with the basics, know just enough to be effective.

undefined : refers to the variable exists but is not defined yet.

null : exists and hasn't been explicitly set.

primitive type : means there's no method attached to it the data type. Not to be confused with the objects that usually work on primitive types. A good example of primitive type is booleans true false. There's no distinguishing float vs int just number - the unified type for all numbers. Every thing is a double 64 bits.

Implication of the number type is, there are only 64 bits so large numbers don't fit. Can use exponent notation as work around. No float also means not accurate in calculation, no floating point precision. 

promise : is a first class citizen, is native to modern javascript. It is the new pattern to use, instead of callbacks (event driven, could result in callback hell, code can be unorganized,indented). A great use case is to retrieve data from APIs. Promise is an object.

let promise = myfunction(request)

Instead to get a callback, ask the function for a promise.

You might also seen fetch() being used, but that's also the slightly older way. fetch() is native to javascript and supports promise. 

Promise can have states, status PENDING, FULFILLED (successfully resolved), REJECTED (error). Can check the promise object for states.                

Instead of constantly checking the status, we can use then() and catch() in conjunction with promise to handle next steps. 

then() accepts a function as input. Will call the function when the promise preceding it is fulfilled. 

Callbacks : the old event driven way could cause nested, or long sequence code, or a callback calling another callback, hard to manage, read, not sustainable. 

var variableName : var is familiar syntax, if omitted var then a global variable is created.  If you haven't given the variable a value at declaration, it will be undefined. If the system has to make a placeholder, the initial value is null. 

Eventloop :  The javascript event loop constantly check if the stack is empty, if yes, it will check if there's anything on the queue to be put on the stack.

Date :  new Date() generate the current date time stamp. 

Return default disable automatic browser behavior like event propagation, prevent default

Commonly used JavaScript functions:

vanilla javascript functions 





charAt opposite of indexof

ES6 include template strings

Machine Learning for Beginners Resources

Uniqtech guide to Machine Learning. This guide explains the difference between machine learning, traditional programming, machine learning w...