In this video, I show how to play sound from a NumPy array directly to the audio output.
The code for the tutorial is:
This describes the basics of audio file storage in data files to prepare for generating sounds with NumPy arrays.
In this video, I show how to make an audio .wav file from a Python NumPy array.
The code for the tutorial is:
I predicted the aqueous solubility of chemical compounds listed in a public dataset using a basic linear model and an untuned random forest in my previous post. The random forest showed the two models’ best performance, achieving an RMSE of 0.866 and an R^2 of 0.828. In this post, I train an XGBoost model on the same data.
Load the libraries library(tidyverse) library(tidymodels) library(ranger) library(usemodels) library(gridExtra) library(vip) theme_set(theme_classic()) Load, split, and bootstrap sample the data.