Category "machine-learning"

Activation function on the hidden layers for Regression models in neural networks

I am trying to predict a single output value,y, using two input features. I read that regression models usually don't use any activation function, and even when

vowpal wabbit java: get raw predictions

I am using Java API of vowpal wabbit to get predictions. I need raw prediction (same as -r output.txt) but I couldn't find any such method in VWMulticlassLearne

Handwritten digit recognition without deep learning techniques

I have a project to hand in which requires me to develop a program in python which would recognise handwritten numbers given in the form of image(i imagine the

ModelingToolKit - PDESystem: Boundary conditions and Domain for arbitrary geometry

I am quite new to Julia so I maybe missed the proper documentation. Is it possible to define a PDESystem in ModelingToolKit with symbolic BCs and Domain for arb

tokenization with huggingFace BartTokenizer

I am trying to use BART pretrained model to train a pointer generator network with huggingface transformer library. example input of the task: from transformers

How to get categorical values in catboost

This is my data. I created a model with CatBoostClassifier(). I can get the feature names list with: >>> model.feature_names_ ['title', 'value'] Firs

Keras ValueError: Dimensions must be equal - How to pass label-dependent values to custom loss function

I have a keras model with 5 outputs. My labels include 5 values to compare these to, but also 25 additional values representing a correlation matrix for the 5 v

Evaluate model result for multitask learning with keras

I designed a CNN for a multitask classification in keras, where I have one input and two different class of classes in output. I compiled the model in this way

Evaluate model result for multitask learning with keras

I designed a CNN for a multitask classification in keras, where I have one input and two different class of classes in output. I compiled the model in this way

Converting From .pt model to .h5 model

I am using Google colab. I want to convert .pt model from my google drive to .h5 model. I follow link https://github.com/gmalivenko/pytorch2keras and https://ww

dice coefficient and dice loss very low in UNET segmentation

I'm doing binary segmentation using UNET. My dataset is composed of images and masks. I divided the images and masks into different folders ( train_images, trai

Partial Derivative term in the Gradient Descent Algorithm

I'm learning the "Machine Learning - Andrew Ng" course from Coursera. In the lesson called "Gradient Descent", I've found the formula a bit complicated. The the

SHAP explainer identifies wrong framework

I want to use the SHAP-DeepInterpeter on the Braindecode Shallow_FBCSP-Model which is based on pytorch. The training and testing works perfectly fine on the mod

Why is Tensorflow image classification model overfitting? [closed]

I've been working a food image classification model. I started off with the TensorFlow tutorial and modified the model (code below). The model

Do you understand why the Outputs of my YOLOV4 model has this shape? [duplicate]

I have a question. I trained a YOLOV4 model for face detection and when i tried to look at the output on Neutron i found that the Bounding Box

Onnxruntime NodeJS set intraOpNumThreads and interOpNumThreads by execution mode

I'm using Onnxruntime in NodeJS to execute onnx converted models in cpu backend to run inference. According to the docs, the optional parameters are the followi

How to safely shutdown mlflow ui?

After running mlflow ui on a remote server, I'm unable to reopen the mlflow ui again. A workaround is to kill all my processes in the server using pkill -u MyUs

mlflow static_prefix url in set_tracking_uri is not working

I am starting mlflow with below command mlflow server --static_prefix=/myprefix --backend-store-uri postgresql://psql_user_name:psql_password@localhost/mlflow_d

Print class name from tensorflow object detection api

PLEASE NOTE: I have tried other solutions accross the web and didnt find the working result. I am detecting objects from live feed using tensorflow object detec

How to plot the accuracy and and loss from this Keras CNN model? [duplicate]

The code below is for my CNN model and I want to plot the accuracy and loss for it, any help would be much appreciated. I want the output to