Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: [split] Image recognition technique.
Post: RE: [split] Image recognition technique.
I guess you should first know about basics of Machine learning to do so,or if you just want to make something like this without proper knowledge here are few of resources and all of them may vary.Is s... |
|
hussainmujtaba |
General Coding Help |
3 |
2,057 |
Sep-22-2020, 07:32 AM |
|
|
Thread: [split] Image recognition technique.
Post: RE: [split] Image recognition technique.
I suggest you edit the question with more detail.From what I can understand you want to try out object detection which is not that quite simple.The problem is that you need to detect objects within im... |
|
hussainmujtaba |
General Coding Help |
3 |
2,057 |
Sep-22-2020, 07:08 AM |
|
|
Thread: Image recognition technique.
Post: RE: Image recognition technique.
I have recently done a project that is quite similar to yours.I had pictures of animals in 10 different folders and I classified them into their respective categories(folder name).Note that each folde... |
|
hussainmujtaba |
News and Discussions |
1 |
1,827 |
Sep-22-2020, 06:37 AM |
|
|
Thread: factorial, repeating
Post: RE: factorial, repeating
I dont get the question completely but i gues this would helpdef iter_factorial(n):
factorial=1
n = input("Enter a number: ")
factorial = 1
if int(n) >= 1:
for i in range (1... |
|
hussainmujtaba |
General Coding Help |
4 |
2,813 |
Sep-01-2020, 02:47 PM |
|
|
Thread: Deploying to ML Model to web application
Post: RE: Deploying to ML Model to web application
Why don't you use streamlit to make webapps for ML.It is much easier and less complicated.Here is how made a webapp for sentiment analysis(although didn't deploy it).Check out this article too, I gues... |
|
hussainmujtaba |
Data Science |
2 |
2,686 |
Aug-31-2020, 07:32 AM |
|
|
Thread: Keras.Predict into Dataframe
Post: RE: Keras.Predict into Dataframe
Can't help if the code is not provided.Just take a look at Keras tutorial and see if it helps.
P.S: I don't think providing the code is going to mess up the thesis, may be you can provide with a diffe... |
|
hussainmujtaba |
Data Science |
13 |
9,866 |
Aug-31-2020, 07:22 AM |
|
|
Thread: matplotlib.pyplot issue
Post: RE: matplotlib.pyplot issue
This code works fine for me. I guess you have not used proper quotes
import matplotlib.pyplot as plt
predicted_stock_price = model.predict(X_test)
predicted_stock_price = sc.inverse_transform(predict... |
|
hussainmujtaba |
Data Science |
2 |
2,372 |
Jul-28-2020, 02:40 PM |
|
|
Thread: Str problem, not counting
Post: RE: Str problem, not counting
Hy I see you are not storing the input you are getting from the user.Try this
count_a = 0
count_b = 0
count_c = 0
char = ['a', 'b', 'c']
choice = '-'
for i in range(1, 11):
print('Please choose a... |
|
hussainmujtaba |
General Coding Help |
7 |
3,065 |
Jul-28-2020, 01:47 PM |
|
|
Thread: How to extract data from paragraph using Machine Learning with python?
Post: RE: How to extract data from paragraph using Machi...
The very first thing you need is data.If you have data or have capability to generate data on your own which can be used for this project.For example It may be dataset containing text in which people ... |
|
hussainmujtaba |
Data Science |
2 |
3,065 |
Jul-27-2020, 07:02 AM |
|
|
Thread: Variable in for loop
Post: RE: Variable in for loop
I actually get you are tring to do here, but its not possible to do so but alternatively you can use dictionary to do somewhat same.Here is the code
names = ["samuel","max","john"]
dic_names={}
for i,... |
|
hussainmujtaba |
General Coding Help |
4 |
3,077 |
Jul-21-2020, 06:15 AM |
|
|
Thread: Using Autoencoder for Data Augmentation of numerical Dataset in Python
Post: RE: Using Autoencoder for Data Augmentation of num...
You should use the loss function 'sparse_categorical_crossentropy' instead of 'binary cross-entropy' as MNIST has more categories than 2.
For a guide, you can take look at this article about auto-enco... |
|
hussainmujtaba |
Data Science |
2 |
3,383 |
Jul-10-2020, 06:47 AM |
|
|
Thread: Pandas DataFrame visual
Post: RE: Pandas DataFrame visual
Try using this code
import pandas as pd
area = pd.Series({'California': 423967, 'Texas': 695662,
'New York': 141297, 'Florida': 170312,
'Illinois': 149995})
pop = ... |
|
hussainmujtaba |
Data Science |
8 |
3,865 |
Jul-10-2020, 06:11 AM |
|
|
Thread: Tensorflow cudart64_101.dll could not find dll
Post: RE: Tensorflow cudart64_101.dll could not find dl...
You need to check if these files are present in your PC. Usually these files are present in this directory.
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\
Also, you're supposed to use ... |
|
hussainmujtaba |
Data Science |
1 |
3,849 |
Jul-10-2020, 05:42 AM |
|
|
Thread: Pandas merge question
Post: RE: Pandas merge question
The code works perfectly with this output
Output: eggs months bread
0 1 jan 22
1 7 feb 43
2 44 mar 17
3 76 apr 9
4 23 may 22
5 56 jun 16
6 22 jul 71
7 21 aug 82
8 20 sep ... |
|
hussainmujtaba |
Data Science |
2 |
5,743 |
Jul-02-2020, 06:56 PM |
|
|
Thread: Installing Pytorch
Post: RE: Installing Pytorch
You can use conda to install it. Here is a code to do this
conda install pytorch torchvision cudatoolkit = 10.1 -c pytorchIf this does not work , check out this article to get step by step guide to in... |
|
hussainmujtaba |
General Coding Help |
4 |
2,673 |
Jul-02-2020, 06:44 PM |
|
|
Thread: regression line: bug
Post: RE: regression line: bug
|
hussainmujtaba |
General Coding Help |
2 |
1,899 |
Jul-01-2020, 10:25 AM |
|
|
Thread: Rename labels of a bar chart Matplotlib
Post: RE: Rename labels of a bar chart Matplotlib
You need to set the index as these fields as shown below:
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
df_interested = pd.read_csv(r'C:\Users\mirza\Downloads\Topic_Survey... |
|
hussainmujtaba |
Data Science |
1 |
4,357 |
Jul-01-2020, 01:48 AM |
|
|
Thread: Pandas DataFrame Concatenate problems
Post: RE: Pandas DataFrame Concatenate problems
It is better if you provide the data too.You can use the concat() method in pandas to achieve what you are looking to do.Also make sure that the column names are same in both the dataframes.You can al... |
|
hussainmujtaba |
Data Science |
1 |
1,904 |
Jul-01-2020, 01:28 AM |
|
|
Thread: how does .join work with list and dictionaries
Post: RE: how does .join work with list and dictionaries
.join() actually is used to join strings.So let us focus on your code.The code
exits=[
{'Q':0},
{'W':2,'E':3,'N':5,'S':4,'Q':0},
{'N':5,'Q':0},
{'W':1,'Q':0 },
{'N':1,'W':2,'Q':0}... |
|
hussainmujtaba |
General Coding Help |
7 |
3,327 |
Jun-26-2020, 08:19 AM |
|
|
Thread: Assigning Column nunique values to another DataFrame column
Post: RE: Assigning Column nunique values to another Dat...
Hey , I guess you should use group by, if you had provided a sample of dataset, I could have tried it out first, but anyways i guess this should work.
df2.groupby('Doc_Set').nunique()Also here is a pa... |
|
hussainmujtaba |
General Coding Help |
1 |
1,888 |
Jun-26-2020, 06:52 AM |