14,946 Topics

Member Avatar for
Member Avatar for Shantun
Member Avatar for Dani
0
17
Member Avatar for usmanmalik57

In my [previous articles](https://www.daniweb.com/programming/computer-science/tutorials/538512/finding-inter-annotator-agreement-between-three-annotators-in-python#post2287428), I explained how you could apply heuristic and statistical approaches for finding inter-annotator agreement between multiple annotators. However, while applying those approaches, I found that finding inter-annotator agreement in the case of multi-label ranked data is a difficult task, and traditional inter-annotator agreement techniques will almost …

0
115
Member Avatar for razstec

i need to get all attachments from a jira issue. done this so far from jira import JIRA issues = jira.search_issues(search_query, start, size) for issue in issues: con_tot += 1 comentaut = "" comentdate = "" comentmsg = "" lst_img=[] for x in jira.comments(issue.key): comentdate = x.created comentmsg = x.body …

0
98
Member Avatar for Reverend Jim

Adding a file/folder comment capability to Windows This is something I wrote a few years ago in vb.Net and just recently ported to python/wxpython. As I keep discovering, just about everything is easier in python. Windows does not have a commenting facility so I decided to write something simple. NTFS …

Member Avatar for Dani
0
184
Member Avatar for daviddoria

I am trying to use wxPython (the version that ships with Fedora 11 - I'm not building it from source). I am seeing: [code] from wxPython.wx import * File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/__init__.py", line 15, in <module> import _wx File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py", line 3, in <module> from _core import * File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/_core.py", line 15, …

Member Avatar for Reverend Jim
0
2K
Member Avatar for usmanmalik57

In my [previous tutorial](https://www.daniweb.com/programming/computer-science/tutorials/538512/finding-inter-annotator-agreement-between-three-annotators-in-python), I explained how I implemented heuristic approaches for finding inter-annotator agreement between three annotators. Heuristic approaches are excellent for understanding the degree of agreement between multiple annotators. However, you should back your analysis with statistical evidence. This is where statistical techniques for inter-annotator agreement come into …

2
438
Member Avatar for MagnusTheRed90

I have a question about encryption. So I have a code sample that has a key size being chosen, something like 32 bits or something, and I am basically either filling the key size buffer with the password and then zeroes, or null bytes, or a word repeated over and …

Member Avatar for adajames
0
131
Member Avatar for Deyns

HI GUYS I'M DEEPLY DESPERATE TO KNOW HOW TO CONVERT THE CODE FROM PHYTON TO JAVA, MY TASK IS DUE TOMORROW PLEASE HELP MEEEEE T_T

Member Avatar for adajames
0
146
Member Avatar for usmanmalik57

I recently worked on a research project where I had to find the inter-annotator agreement for tweets annotated by three annotators. Inter annotator agreement refers to the degree of agreement between multiple annotators. The quality of annotated (also called labeled) data is crucial to developing a robust statistical model. Therefore, …

3
179
Member Avatar for Reverend Jim

## Introduction I recently bought a new laptop. Since I haven't used VB.Net in years (nothing but Python now) I did not install Visual Studio. That meant rewriting all my VB apps in Python/wxPython. One of my most often used apps was a shell extension I wrote to add a …

Member Avatar for Reverend Jim
2
401
Member Avatar for yuki.fu
Member Avatar for exploretech
Member Avatar for Shianne_1

I need help with this problem! I can't get all three to display. Write a program that prompts a user to enter their hourly pay and rate. Understanding that "time and a half" applies to hours in excess of forty, calculate and print the user's regular pay, overtime pay, and …

Member Avatar for Reverend Jim
0
324
Member Avatar for Bright_5

Hi guys, i am new here. Been on this code for some days and i seem stuck and not getting the expected output from this code. first the code functions as a FIFO QUEUE where it takes input from the user and put it at the beginning of a list …

Member Avatar for Bright_5
0
77
Member Avatar for TECH COFEE

from tkinter import * app = Tk() label1_text = StringVar() part_label = Label(app, bg='#dfe3ee', text='Check1', font=('bold',12), pady=10, padx=20) part_label.grid(row=0, column=0, sticky=W) label1_entry = Entry(app, textvariable=label1_text) label1_entry.grid(row=0, column=1) label2_text = StringVar() part_label = Label(app, bg='#dfe3ee', text='Check1', font=('bold', 12), pady=7, padx=20) part_label.grid(row=1, column=0, sticky=W) label2_entry = Entry(app, textvariable=label2_text) label2_entry.grid(row=1, column=1) label3_text = …

Member Avatar for zentraders
0
46
Member Avatar for moroccanplaya

hi im using tkinter and have a scroll bar that works with my text widget but its so small i dont know why ?? [CODE] scroll = tkinter.Scrollbar(content,borderwidth=50) Text = tkinter.Text(content,wrap=CHAR, width=50, height=20) scroll.config(command=Text.yview) Text.config(yscrollcommand=scroll.set) Text.grid(row=2, column=1,columnspan=1, rowspan=3, sticky=(N)) scroll.grid(row=2,column=3) [/CODE]

Member Avatar for TECH COFEE
0
2K
Member Avatar for Ethan_145

I'm making a game in Python, where two armies battle each other. The soldiers both spray arrows at each other. But for **each** soldier, there is a 1 in 15,000 chance every frame them firing. One thing I noticed was the FPS dropped from 60 to less than 3. Both …

Member Avatar for toneewa
0
339
Member Avatar for Batkiri

I had scenario where I have to delete the current line if I Have ';' at the end of current line and replace string in the previous line in the text file. Here is an example: Prev line - I am Manish & current Line - I went to college …

Member Avatar for Reverend Jim
0
32
Member Avatar for Amelia5068

Hello, I'm trying to make a login code for my game algorithm but it isn't working as I want it to so can someone help to stop my loops from repeating when I don't want it to please? ``` def login(): username = input("Enter username: ") password = input("Enter password: …

Member Avatar for Schol-R-LEA
0
101
Member Avatar for adisharma

Hello All, I am working on a project which based on python and java both and I am good at java. I want to know which programming language support high database connectivity? According to this [source](https://www.interviewbit.com/blog/java-vs-python/), Java provides stable connectivity but not an idea about python? Can anyone tell me …

Member Avatar for Reverend Jim
0
30
Member Avatar for alicenguyen

I'm working with the code to summarize the text using BERT. I am stopped at the step "loading all pages of the pdf file to the program". My code below just loads only one page. Please help for the instruction. I am a new coder. f= open('/content/Example.pdf', 'rb') pdf = …

Member Avatar for rproffitt
0
16
Member Avatar for fire_munki

Running some v basic scripts with environment variables so I don’t have to hard code things like my api key or id. My code wouldn't run and was failing on authorising so either my id and/or key didn't work. So I just printed out the variables to see where it …

Member Avatar for rproffitt
0
18
Member Avatar for mile.joncevski

Hi guys, I am relatively new to Python and have been working on a calculator application. It is relatively simple, but I would like to share it with everyone here in the group. I hope that there is someone in Daniweb who can guide me through Python. As I read …

Member Avatar for Dani
1
104
Member Avatar for Reverend Jim

My son uses Anaconda so I thought I'd install it so we could collaborate. I downloaded and installed the latest version. When I ran Anaconda Navigator, the first thing it told me was "there is a new version available". That's when I started having misgivings, but I downloaded and installed …

Member Avatar for Reverend Jim
0
96
Member Avatar for palak231

Hi this is Palak, I am in third year of my engineering and my interest and strength is python, to enhance my skills into next level I need more study in this field therefore I want to know which python course will be best for me to enhance my skills …

Member Avatar for Reverend Jim
0
129
Member Avatar for Wee_396

the codes has to include for and while loops. ![pt_2.png](https://static.daniweb.com/attachments/4/9b458f568973a3531e003a18bd1fac3c.png) ![pt_1.png](https://static.daniweb.com/attachments/4/8dbeaea58f539d123c2f49dcce4872c6.png)

Member Avatar for Reverend Jim
0
77
Member Avatar for روان

An image distortion (blurring followed by additive noise contamination) and restoration model is shown as below

Member Avatar for rproffitt
0
38
Member Avatar for Amira_9

Hi All, I need help to understand hoe does this find() works in the case of, find Total occurrences of a substring. This is my assignment question. [Thread 1]

Member Avatar for rproffitt
0
55
Member Avatar for jagathg

I have this simple RandomForest Regression Model which does training and testing and then prints the predictions and model accuracy. I want to write a python automated script for scheduling this code which will do training once every month and testing once every week automatically.

Member Avatar for Reverend Jim
0
28
Member Avatar for ahmad abu lafi

If someone with a mechanical engineering BSc degree wants to have a job in cloud computing, would his mechanical engineering background benefit him in the high-tech filed ?

Member Avatar for rproffitt
0
26

The End.