likely.js
function buildModelWithBias(inputArray, bias, rowLabels, colLabels)
{
	var model = new Model($M(inputArray), rowLabels, colLabels);
	model.estimated = train(sylvester.Matrix.create(inputArray), bias);
	
	return model
}
function buildModelWithBias(inputArray, bias, rowLabels, colLabels)
{
	var model = new Model($M(inputArray), rowLabels, colLabels);
	model.estimated = train(sylvester.Matrix.create(inputArray), bias);
	
	return model
}
function buildModelWithBias ( inputArray , bias , rowLabels , colLabels ) { var model = new Model ( $M ( inputArray ) , rowLabels , colLabels ) ; model . estimated = train ( sylvester . Matrix . create ( inputArray ) , bias ) ; return model }
Builds a complete model from the input array with bias

@param inputArray A two dimensional array of the input, where each cell is the rating given to Col by Row
@param bias A two dimensional matrix of the bias of the inputArray
@param [optional] rowLabels A one dimensional array of string labels for each row of inputArray
@param [optional] colLabels A one dimensional array of string labels for each column of inputArray
@returns Model An instance of a Model object
Builds a complete model from the input array with bias