TransWikia.com
  1. All Categories
  2. Data Science

Data Science : Recent Questions and Answers (Page 78)

Find answers to your questions about Data Science or help others by answering their Data Science questions.

How to grid search feature selection and neural network hyperparameters in the same grid?

I'm using the GridSearchCV () class from scikit to perform hyperparameter optimization in a sequential neural network. I've built a pipeline to also find the best number of features by...

Asked on 07/14/2021 by kaylani2

1 answer

Text Mapping - Medicine Names

We have a problem where we have a standardized database of Medicine names. On the other hand, there is a subset of medicine names which could have spelling mistakes,...

Asked on 07/14/2021 by Kaushal Shah

1 answer

For a square matrix of data, I achieve $R^2=1$ for Linear Regression and $R^2=0$ for Lasso. What's the intuition behind?

For a square matrix of random data, N columns and N rows. I am fitting two models, linear regression and Lasso. For the linear regression, I achieve a perfect score...

Asked on 07/14/2021

1 answer

Efficient Decision Tree Pruning

Is there an efficient way to handle pruning in Decision Tree with Python ? Currently I'm doing that:def do_best_tree(Xtrain, ytrain, Xtest, ytest): clf = DecisionTreeClassifier()...

Asked on 07/14/2021

1 answer

Adding Features To Time Series Model LSTM

have been reading up a bit on LSTM's and their use for time series and its been interesting but difficult at the same time. One thing I have had difficulties...

Asked on 07/14/2021 by Rjay155

5 answer

Statistical test using Gmean to compare multiple algorithms on multiple datasets

I am new in this area. I am facing some issues while comparing the algorithms using statistical test. I have following result of Gmean of some classification algorithm. Abalone, Balance-scale,...

Asked on 07/14/2021 by Nafisa Anjum Samia

1 answer

Finding variable values to make equations behave like boolean gate

I came across following problem:Consider the following simple perceptron, for which the inputs are the always $1$ feature and two binary features $x_1 ∈ {0, 1}$ and ...

Asked on 07/14/2021 by anir

1 answer

How to train an LSTM model with data that has multiple input rows per day but only one row of label/ground-truth (output) data per day

I am doing a sleep data science experiment and I need a model that outputs multiple columns sleep quality measurement values (that are decimal numbers) for each input. For training,...

Asked on 07/13/2021 by adonayresom

0 answer

Preparing ground truth labels for YOLO3

I want to train YOLO3 for a custom dataset that has raw labels in JSON format. Each bounding box in JSON is specified as [x1, y1, x2, y2]. So...

Asked on 07/13/2021 by Alexandru Dinu

1 answer

AttributeError: 'numpy.ndarray' object has no attribute 'img_to_array'

from keras.models import load_modelfrom keras.preprocessing import imageimport matplotlib.pyplot as pltimport numpy as npimport mathimport cv2import numpy as npimport matplotlib.pyplot as pltfrom keras.models import model_from_jsonimport jsonimg_width, img_height = 150, 150with...

Asked on 07/13/2021 by divya cs

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP