likely.js
function Model(inputMatrix, rowLabels, colLabels) {
	this.rowLabels = rowLabels;	// labels for the rows
	this.colLabels = colLabels; // labels for the columns
	this.input = inputMatrix;	// input data
	
	// estimated data, initialized to all zeros
	this.estimated = sylvester.Matrix.Zeros(this.input.rows(),this.input.cols());
}
function Model(inputMatrix, rowLabels, colLabels) {
	this.rowLabels = rowLabels;	// labels for the rows
	this.colLabels = colLabels; // labels for the columns
	this.input = inputMatrix;	// input data
	
	// estimated data, initialized to all zeros
	this.estimated = sylvester.Matrix.Zeros(this.input.rows(),this.input.cols());
}
function Model ( inputMatrix , rowLabels , colLabels ) { this . rowLabels = rowLabels ; // labels for the rows this . colLabels = colLabels ; // labels for the columns this . input = inputMatrix ; // input data // estimated data, initialized to all zeros this . estimated = sylvester . Matrix . Zeros ( this . input . rows ( ) , this . input . cols ( ) ) ; }
Model representation object. Contains both input and estimated values.
Model representation object . Contains both input and estimated values .