my flask application gives a ‘set’ error I have been coding a RSS feed web app but currently am having an error that I cant figure out; this is my code : import feedparser from flask import Flask from flask import ...
Discy Latest Questions
I am following a this tutorial to write a Naive Bayes Classifier: http://machinelearningmastery.com/naive-bayes-classifier-scratch-python/ I keep getting this error: dataset[i] = [float(x) for x in dataset[i]] ValueError: could not convert string to float: Here is the part of my code where ...
I am trying for multi-class classification and here are the details of my training input and output: train_input.shape= (1, 95000, 360) (95000 length input array with each element being an array of 360 length) train_output.shape = (1, 95000, 22) (22 ...
I am currently using PyCharm with Python version 3.4.3 for this particular project. This PyCharm previously had Python2.7, and I upgraded to 3.4.3. I am trying to fetch data from an Excel file using Pandas. Here is my code: import pandas as pd df = ...
This question already has an answer here: Matplotlib just giving error messages ...