HTML Regression full DOM example code

HTML Regression full DOM example code

HTML Regression full DOM example

HTML Regression full DOM example in whatever

<body>
	<div class="container-fluid">

		<h3 style="margin-top: 30px;"> Linear Regression JS </h3>

		<br/>

		<!-- Input for independent variable -->
		<div class="input-group mb-3">
			<span class="input-group-text">X</span>
			<input type="text" class="form-control" placeholder="Input Values... Comma delimited: E.g. 1, 2, 3" id="x_values">
		</div>

		<!-- Input for dependent variable -->
		<div class="input-group mb-3">
			<span class="input-group-text">Y</span>
			<input type="text" class="form-control" placeholder="Label Values... Comma delimited: E.g. 1, 2, 3"  id="y_values">
		</div>

		<button class="btn btn-outline-success" onclick = "developModel()">Develop Model </button>

		<!-- To display the linear regression (line of best fit) equation -->
		<h6 id="regressionEquation" style="margin-top: 20px; margin-bottom: 8px;"> </h6>

		<!-- To plot the predictions v true values (dependent variables)-->
		<canvas id="regressionChart"></canvas>

	</div>
</body>
By Manish Salunke In whatever -

Tags:

whatever

Sponsors

themeforest
pluralsight
Invest in you. Online courses as low as $11.99