TransWikia.com
  1. All Categories
  2. Data Science

Data Science : Recent Questions and Answers (Page 292)

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

Difference between from nltk import word_tokenize and from nltk.tokenize import word_tokenize?

What is the difference between the word_tokenize, one imported directly from nltk and the other being imported from tokenize package of nltk?...

Asked on 12/05/2020 by Manasvi Duggal

1 answer

Non-uniform class occurances in input data for classification task - how to tackle it?

So, I gathered political articles for my thesis, now I want to be able to classify given text. Though the classes distribution is actually crazy.Class 1: 964 docsClass 2: 37,020Class...

Asked on 12/05/2020 by Mikołaj Wróblewski

0 answer

ValueError trying to use a pickled scikit-learn model

I am new to data science and trying to learn something. I was able to complete the prediction with 98% accuracy and i saved it as pickle model. Now while...

Asked on 12/05/2020

1 answer

Random forest multivariate forecast in Python

I am working with a multivariate time-series dataset and have put together a Random Forest code (see below) to forecast the variable TM at a future time (by training the...

Asked on 12/05/2020 by user3792245

0 answer

Text topic classification in tensorflow

I want to create a CNN in tensorflow that does the following:Classify a recipe headline and find out the topic. For instance super yummy cheesy cake should result in...

Asked on 12/05/2020

2 answer

ValueError: bad input shape

I have multilabel problem.I was using onevsrestclassifier and now i want to use onevsoneclassifier.from sklearn.svm import SVCclassifire = SVC(gamma='auto')accuracy = []skf = StratifiedKFold(n_splits=10,random_state=None)kf = KFold(n_splits=5)skf.get_n_splits(X_train,y_train)for train_index,test_index in...

Asked on 12/05/2020 by Rajan Lagah

0 answer

How to map topic to a document after topic modeling is done with LDA

Is there any way I can map generated topic from LDA to the list of documents and identify to which topic it belongs to ?I am interested in clustering...

Asked on 12/05/2020 by user1845926

1 answer

Recommendation Engine - Content based and Collaborative recommendation?

I am building a recommendation system for hotel accommodation. I scraped data from online booking portal and now my data has Name of the hotel, review, description and location. ...

Asked on 12/05/2020

1 answer

Polynomial Regression Not Overfitting as Expected

I am trying to implement polynomial regression in Python and have it mostly working, but it is not overfitting enough for higher degree polynomials. This is a weird thing to...

Asked on 12/05/2020

1 answer

Dealing with time series data which has multiple observations for the same timestamp

I have a time series data in Python 3 as follows:Date `Weekly_Sales`2010-05-02 ...

Asked on 12/05/2020 by deathcode 666

2 answer

Ask a Question

Get help from others!

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