Category Archives: javascript & node.js

javascript & node.js

  • Supervised vs. Unsupervised Learning

    Posted on 2015-04-22 by admin in javascript & node.js.

    Supervised Problems & Learning In supervised problems, specific purpose or target has been specified By supervised problems, for example, a teacher “supervises” the learner by carefully providing target information along with a set of examples. Supervised problem examples “Can we find groups of customers who have particularly high likelihoods of canceling their service soon after […]

    Continue Reading...
    No Comments.
  • Node.js 101

    Posted on 2014-09-14 by admin in javascript & node.js.

    1. Read-Eval-Print-Loop (REPL) Node provides an interactive language shell, known as the Read-Eval-Print-Loop, or REPL. REPL reads inputs from a user, evaluates the inputs as JavaScript codes, prints out the results, and then waits for more inputs. REPL is useful for debugging and for experimenting with small snippets of JavaScript codes. 1) Starting the REPL […]

    Post Tagged with , ,
    Continue Reading...
    No Comments.
  • Javascript Objects

    Posted on 2014-09-09 by admin in javascript & node.js.

    A JavaScript object is a collection of properties, and a property is an association between a name and a value. A property’s value can be a function, in which case the property is known as a method. Except number, string, boolean and undefined, everything in Javascript is object. When an object is set to a […]

    Continue Reading...
    No Comments.
  • Javascript Basic Datatypes

    Posted on 2014-09-05 by admin in javascript & node.js.

    Basic Datatypes number string boolean undefined null 1. number For numbers (e.g., int, long, float, double), there is only one datatype, number, in Javascript.

    2. string Immutable Sequencing

    string conversion When you use a number-like string as an operand in an arithmetic operation, the string is converted to a number behind the scenes. […]

    Continue Reading...
    No Comments.
  • Javascript Basic Syntax

    Posted on 2014-09-03 by admin in javascript & node.js.

    1. Basic rules JavaScript is case sensitive The variables firstName and firstname, are two different variables. The functions myFunction() and myfunction(), are two different functions. JavaScript uses the Unicode character set. It is highly recommended that you should use UTF-8 as encoding type. 2. Literals 1) What is “literals”? notation sets for representing a fixed […]

    Continue Reading...
    No Comments.