Home
last modified time | relevance | path

Searched refs:y_values (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/bluetooth/channel_sounding/src/
Ddistance_estimation.c50 static float linear_regression(float *x_values, float *y_values, uint8_t n_samples) in linear_regression() argument
62 y_mean += (y_values[i] - y_mean) / (i + 1); in linear_regression()
70 b_est_upper += (x_values[i] - x_mean) * (y_values[i] - y_mean); in linear_regression()
/Zephyr-latest/samples/modules/tflite-micro/hello_world/train/
Dtrain_hello_world_model.ipynb220 "y_values = np.sin(x_values).astype(np.float32)\n",
223 "plt.plot(x_values, y_values, 'b.')\n",
269 "y_values += 0.1 * np.random.randn(*y_values.shape)\n",
272 "plt.plot(x_values, y_values, 'b.')\n",
331 "y_train, y_test, y_validate = np.split(y_values, [TRAIN_SPLIT, TEST_SPLIT])\n",