Skip to content
Advertisement

Tag: machine-learning

scikit preprocessing across entire dataframe

I have a dataframe: The data is an average response of the same question asked across 4 quarters. I am trying to create a benchmark index from this data. To do so I wanted to preprocess it first using either standardize or normalize. How would I standardize/normalize across the entire dataframe. What is the best way to go about this?

CPU only pytorch is crashing with error AssertionError: Torch not compiled with CUDA enabled

I’m trying to run the code from this repository and I need to use Pytorch 1.4.0. I’ve installed the CPU only version of pytorch with pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html. I ran the program by doing py -m train_Kfold_CV –device 0 –fold_id 10 –np_data_dir “C:UsersusernameOneDriveDesktopemadeldeenAttnSleepprepare_datasetsedf_20_npz” but I’m getting this error: I’ve changed the number of GPU in the config

Keras – Hyper Tuning the initial state of the model

I’ve written an LSTM model that predicts the sequential data. I’ve tuned some of the layer’s params using AWS SageMaker. While validating the model I’ve run a model with a specific configuration several times. Most of the time the results are similar, however, one run was much better than others, which led me to think that the initial state of

How to make a custom activation function with trainable parameters in Tensorflow [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

ModuleNotFoundError: No module named ‘grad’

I try to run this Neural Network script (for a regression model) There are two classes defined above. One is Standardizer class and other is Neural Net class. The Standardizer class normalizes all the values and the NeuralNet class builds the neural network that learns the data through feed forward and back propagation. This function takes the the number of

Advertisement