Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to recognize negative in a text?
Post: How to recognize negative in a text?

With word2vec I can vectorize both individual words and whole texts (as the arithmetic mean of all words included in the text). But at the same time, positive and negative text receive one vector repr...
AlekseyPython Data Science 1 161 Oct-06-2021, 07:57 AM
    Thread: Please, prompt open data repositories
Post: RE: Please, prompt open data repositories

Thank you!!
AlekseyPython Data Science 4 248 Sep-29-2021, 01:04 PM
    Thread: Please, prompt open data repositories
Post: RE: Please, prompt open data repositories

Thank you! Unfortunately, the US Census Bureau is making estimates based on changes after 2010 year. So this is inaccurate information. Why is accuracy so important? I took the vaccinated people fo...
AlekseyPython Data Science 4 248 Sep-29-2021, 05:15 AM
    Thread: Please, prompt open data repositories
Post: Please, prompt open data repositories

To improve model predictions, I sometimes add features from open sources. Unfortunately, now I have to googling to find them. For example, now I need information about the population of each state in ...
AlekseyPython Data Science 4 248 Sep-28-2021, 11:11 AM
    Thread: How to find the impact of each of the correlated features?
Post: How to find the impact of each of the correlated f...

I have two features that have a strong correlation (> 0.7). Because of this, it's not clear, which of them has a stronger influence on the result: during the fitting, the estimator can include the ...
AlekseyPython Data Science 0 129 Sep-28-2021, 09:05 AM
    Thread: Which network architecture should be chosen to predict disease severity?
Post: Which network architecture should be chosen to pre...

Python 3.9.6, Pytorch 1.9.0+cu111 I have several text fields describing various aspects of a patient's treatment (filled in by the doctors). The entire samples is about 20 thousand cases. It's necess...
AlekseyPython Data Science 2 316 Aug-20-2021, 07:09 PM
    Thread: How can I find all combinations with a regular expression?
Post: How can I find all combinations with a regular exp...

Python 3.9.5 I wrote the following code: pattern_space = '[\s]+' pattern_name= '(.{4,})' pattern = pattern_name + pattern_space + '(street|town){1}' + pattern_space + pattern_name result = re.search...
AlekseyPython General Coding Help 0 358 Jun-23-2021, 04:48 PM
    Thread: [Solved] Please, help me find a simple mistake
Post: RE: Please, help me find a simple mistake

Decision: class B: def __init__(self, controller=0): self.controller = controller
AlekseyPython General Coding Help 2 418 Jun-17-2021, 12:20 PM
    Thread: [Solved] Please, help me find a simple mistake
Post: [Solved] Please, help me find a simple mistake

Fedora 34, Python 3.9.5 from PyQt5 import QtWidgets from PyQt5.QtWidgets import QWidget class M_A(type(QWidget), type):pass class A(QWidget, metaclass=M_A): def __init__(self): QWidget._...
AlekseyPython General Coding Help 2 418 Jun-17-2021, 10:25 AM
    Thread: How to transfer a finished ML- project to the cloud?
Post: How to transfer a finished ML- project to the clou...

Python 3.9.2, Fedora 33 I wrote a ML- project, that takes a long time to compute on a local machine. So I decided to use the computational power of the clouds to quickly optimize my model. There is a...
AlekseyPython Data Science 1 558 Apr-17-2021, 05:06 AM
    Thread: How can I find air pollution by geographical coordinates?
Post: How can I find air pollution by geographical coord...

I have the geographical coordinates of meteorological stations and indicators of air pollution at these points. How to mathematically obtain air pollution at an arbitrary point located in the vicinity...
AlekseyPython Data Science 1 561 Mar-29-2021, 07:54 AM
    Thread: Are there any techniques for improving logloss?
Post: Are there any techniques for improving logloss?

I use logloss as a quality criterion, but it has a number of disadvantages: 1. Has infinite errors with confident misclassification. 2. Has a slight gradient in the "border" zone, where recognition is...
AlekseyPython Data Science 0 463 Mar-20-2021, 04:37 AM
    Thread: How to get coefficient of determination R2 after scipy.curve_fit?
Post: How to get coefficient of determination R2 after s...

After fitting the experimental points of the assumed curve, the method scipy.curve_fit returns the optimal coefficients and a strange matrix covariance. How to get a convenient R2 parameter?
AlekseyPython Data Science 0 558 Feb-12-2021, 09:03 AM
    Thread: How to set the font size for a pandas table?
Post: How to set the font size for a pandas table?

I'm using the pandas.Series.plot.bar method to plot chart with a set table parameter True. In this case, the table is displayed, but font size very small (and there's a lot of empty space in the cells...
AlekseyPython Data Science 0 776 Feb-06-2021, 03:37 AM
    Thread: Does a pandas have a date without a time?
Post: RE: Does a pandas have a date without a time?

(Feb-03-2021, 01:54 PM)Axel_Erfurt Wrote: shorten ? my_date = "2020-04-05 00:00:00"[:10] print(my_date) How do you propose to apply this to datetime64 data types stored in a dataframe?
AlekseyPython Data Science 6 1,618 Feb-03-2021, 02:11 PM
    Thread: Does a pandas have a date without a time?
Post: Does a pandas have a date without a time?

When I create a series object, I specify the type without time: 'datetime64[D]'. But when I look at the data type of this series in the debugger, I see the presence of time: 'datetime64[ns]'. Things...
AlekseyPython Data Science 6 1,618 Feb-03-2021, 01:41 PM
    Thread: Is there a graph package with the possibility of user settings?
Post: Is there a graph package with the possibility of u...

Python 3.8.5 To analyze a dataframe, I use the Matplotlib package, in which for any change of the chart, I have to make changes to the program code. I want to be able to configure the report in the u...
AlekseyPython Data Science 1 544 Jan-20-2021, 05:24 AM
    Thread: Is there a hierarchical catalog of Anaconda libraries divided by the type of tasks?
Post: Is there a hierarchical catalog of Anaconda librar...

Kubuntu 20.10 I want to see a list of existing Anaconda- libraries, grouped by the type of task being solved. But, unfortunately, I cannot find such reference: the Conda package manager provides the ...
AlekseyPython Data Science 1 563 Nov-25-2020, 06:12 AM
    Thread: Why does a Numpy with Intel MKL have the same performance as a normal one?
Post: Why does a Numpy with Intel MKL have the same perf...

Intel i5-4690, Kubuntu 20.10 I installed the Numpy in the usual way: pip3 install numpy, and in Eclipse IDE ran the matrix multiplication test: import numpy as np from time import time data1 = np.ra...
AlekseyPython Data Science 0 647 Nov-12-2020, 06:36 AM
    Thread: Why Cuda from numba package is unavailable?
Post: RE: Why Cuda from numba package is unavailable?

I install cuda- toolkit, and error disappear.
AlekseyPython Data Science 2 750 Nov-10-2020, 08:03 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020