This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=============================================================================== | |
#region Using | |
// Simple File Logger Not Simple Function,Entirely Independent | |
//=============================================================================== | |
//This is an open source from Microsoft patterns & practices Enterprise Library Logging Application Block | |
//We have done lots of enhancement, | |
//=============================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function LinearRegression(data){ | |
var X = [], | |
y = []; | |
for (var i = 0; i < data.length; i ++){ | |
var tempX = []; | |
for(var j = 0; j < data[0]['x'].length; j++){ | |
tempX.push(data[i]['x'][j]); | |
} | |
X.push(tempX); | |
y.push([data[i].y]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* Webpack Configuration File | |
* | |
* This is a configuration file for Webpack module bundler. You should customize | |
* it to fit your project. | |
* | |
* To start the development server run: | |
* |