Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 21254

Use for data science questions related to the programming language Python. Not intended for general coding questions (which should be asked on Stack Overflow).

1 vote
0 answers
460 views

Keras ImageDataGenerator vs bounding boxes

I'm trying to implement custom object detection by taking a trained YOLOv2 model in Keras, removing the last layer and retraining it with new data. I'm confused about how to feed the data to Keras, th …
lte__'s user avatar
  • 1,359
1 vote
1 answer
2k views

Keras - understanding ImageDataGenerator dimensions

I'm trying to implement custom object detection by taking a trained YOLOv2 model in Keras, removing the last layer and retraining it with new data. I'm confused about how to feed the data to Keras, th …
lte__'s user avatar
  • 1,359
0 votes
Accepted

Keras - understanding target dimensions for custom-object YOLOv2

I made two mistakes. First of all, I was appending my data to a list, and ended up with a shape of (79,) as lists within an array can have different lengths and even though they didn't in this case, …
lte__'s user avatar
  • 1,359
1 vote
1 answer
99 views

Keras - understanding target dimensions for custom-object YOLOv2

I'm trying to implement custom object detection by taking a trained YOLOv2 model in Keras, replacing the last layer and retraining just the last layer with new data (~transfer learning). I have annot …
lte__'s user avatar
  • 1,359
1 vote
0 answers
363 views

Modeling of multiple user's time series data?

I have a dataset where I have multiple users, and for each user I have time series data. Let's say the problem is similar to people buying cars. I have some personal data, and then a time series of ev …
lte__'s user avatar
  • 1,359
2 votes
1 answer
6k views

Date prediction - periodic recurrence

I mostly use Python with the numpy, sklearn libraries, and I'm interested which of its models fits my use case best. Thank you! …
lte__'s user avatar
  • 1,359
16 votes
3 answers
26k views

Using TF-IDF with other features in scikit-learn

What is the best/correct way to combine text analysis with other features? For example, I have a dataset with some text but also other features/categories. scikit-learn's TF-IDF vectorizer transforms …
lte__'s user avatar
  • 1,359
5 votes
1 answer
4k views

Doc2vec to calculate cosine similarity - absolutely inaccurate

I'm trying to modify the Doc2vec tutorial to calculate cosine similarity and take Pandas dataframes instead of .txt documents. I want to find the most similar sentence to a new sentence I put in from …
lte__'s user avatar
  • 1,359
37 votes
6 answers
85k views

Sentence similarity prediction

Are there any other techniques/algorithms to solve this (preferably with Python and SKLearn, but I'm open to learn about TensorFlow, too)? …
lte__'s user avatar
  • 1,359
2 votes
1 answer
2k views

Validation curve unlike SKLearn sample

I'm trying to implement the validation curve based on this SKLearn tutorial. On the site, it shows how based on the parameters the model goes from under- to overfitted, finding the optimal parameter i …
lte__'s user avatar
  • 1,359
2 votes
1 answer
4k views

validation_curve differs from cross_val_score?

I'm trying to see how well a decision tree classifier performs on my input. For this I'm trying to use the validation and learning curves and SKLearn's cross-validation methods. However, they differ, …
lte__'s user avatar
  • 1,359