Home
last modified time | relevance | path

Searched refs:x_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
63 x_mean += (x_values[i] - x_mean) / (i + 1); in linear_regression()
70 b_est_upper += (x_values[i] - x_mean) * (y_values[i] - y_mean); in linear_regression()
71 b_est_lower += (x_values[i] - x_mean) * (x_values[i] - x_mean); in linear_regression()
/Zephyr-latest/samples/modules/tflite-micro/hello_world/train/
Dtrain_hello_world_model.ipynb213 "x_values = np.random.uniform(\n",
217 "np.random.shuffle(x_values)\n",
220 "y_values = np.sin(x_values).astype(np.float32)\n",
223 "plt.plot(x_values, y_values, 'b.')\n",
272 "plt.plot(x_values, y_values, 'b.')\n",
330 "x_train, x_test, x_validate = np.split(x_values, [TRAIN_SPLIT, TEST_SPLIT])\n",