160 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Juniormi_01

Lexicographic algorithm I'm trying to make this algorithm work, but it keeps telling me that my declaration array is not correct because it needs to have a constant value. Array declaration can be found in the main #include<iostream> #include<array> using namespace std; void nextPermutation(char* v, int n) { //function declaration …

Computer Science c++
Member Avatar for Gulshan_6
0
335
Member Avatar for Hussien_2

Construct an algorithm that has input an integer n ≥ 1, numbers x0, x1,...,xn, and a number x and that produces as output the product (x-xo)(x-x1)(x - xn).

Computer Science
Member Avatar for Gulshan_6
0
596
Member Avatar for usmanmalik57

Data annotation for text classification is time-consuming and expensive. In the case of smaller training datasets, pre-trained ChatGPT models might achieve higher classification accuracy on test sets than training classifiers from scratch or fine-tuning existing models. Additionally, ChatGPT can aid in annotating data for fine-tuning text classification models. In this …

Member Avatar for AndreRet
3
664
Member Avatar for midyajai

I am trying to understand Boyer Moore algorithm & KMP algorithm (Knuth Morris Pratt)? I tried some places like GeeksForGeeks, TutorialsPoint etc. But I have still some doubts. If you guys have some resources or videos where these algorithms are explained in somewhat simple terms, please share them. First I …

Computer Science
Member Avatar for Alisha_8
-1
713
Member Avatar for Aya_962

A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You’re to write an application to assign seats on each flight of the airline’s only plane (the capacity of the plane is 10 seats of the same …

Computer Science c#
Member Avatar for pritaeas
0
394
Member Avatar for Vijay_34

A/B testing is a method of comparing two versions of a web page or app to determine which one performs better. It is a powerful tool for optimizing websites and apps, as it allows businesses to make data-driven decisions about the design and functionality of their online platforms. With A/B …

Computer Science engineering
1
90
Member Avatar for Nazmus

will you kindly tell me how to make Instagram bots, Instagram bot followers? What is the step-by-step approach of it with programming? I want to make it by myself.

Member Avatar for jwenting
0
134
Member Avatar for usmanmalik57

## Introduction ## I was working on a problem where I had to scrape tweets related to the T20 Cricket World Cup 2022, which is currently taking place in Australia. I wanted tweets containing location names (cities) and the keyword “T20”. In the response, I want the user names of …

Computer Science python
0
140
Member Avatar for usmanmalik57

## Introduction ## In this tutorial, you will see how to convert the text in CSV file columns to other languages using the [DeepL API](https://www.deepl.com/translator) in the Python programing language. DeepL is one of the most popular and accurate text translation platforms. DeepL, as the name suggests, incorporates advanced deep …

Computer Science python
1
750
Member Avatar for fschild22

**Numerologists claim to be able to determine a person's character traits based on the "numeric value" of a name. The value of a name is determined by summing up the values of the letters of the name. For example, the name *Zelle* would have the value 26 + 5 + …

Computer Science python
Member Avatar for Reverend Jim
1
138
Member Avatar for usmanmalik57

## Introduction ## I was recently working on a project that required me to extract location information from the [OpenStreetMap](https://www.openstreetmap.org/#map=15/51.5226/-0.1567), an open license map database of the world. The OpenStreetMap database allows you to extract location data along with the location meta information in the form of tags. My task …

Computer Science python
2
337
Member Avatar for asqinanuramni

hello, I am currently struggling so bad in understanding Java and how to implement the codes. I have to implement two subclasses for Canadian and US postal code in Java. For Canadian Postal code, a valid postal postal code has the rule: positions at 0,2,5 are letters. Positions at 1,4,6 …

Computer Science java
Member Avatar for JamesCherrill
0
138
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 …

Computer Science python
0
121
Member Avatar for logandavid

Is there a way to know if the lists inside a list contain the same elements with python? For example: Return True if given list [['A', 'B'], ['A', 'B'], ['A', 'B']] or False if given list [['B', 'C'], ['Z', 'C']]

Computer Science
Member Avatar for Reverend Jim
0
108
Member Avatar for Kate_12

Can someone please give me tips on how to accomplish generating a random number within a random range. See 'roll_dice' #include <iostream> #include <limits> #include <ctime> #include <iomanip> #include <cstdlib> using namespace std; using std::cout; using std::cin; struct Sanity { unsigned int turns = std::numeric_limits<int>::max(); unsigned int sanity = std::numeric_limits<int>::max(); …

Computer Science c++
Member Avatar for Schol-R-LEA
0
269
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 …

Computer Science python
2
487
Member Avatar for queency zyrel

Create a java application that will convert unit length from Metric to English system. The user will be asked to enter a Metric unit and then it will display the equivalent value to unit of English System. Use metric system like centimer, diameter, meter, etc. while use English system such …

Computer Science java
Member Avatar for adajames
1
104
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, …

Computer Science python
3
202
Member Avatar for Mr_154
Member Avatar for Ashton21

The purpose of the program is to tell the user that the weekly salary is in on of three ranges, less than 200, between 200 and 800 and greater than 800. I need help knowing the error/s and need to add and use one additional preprocessor directive that might help …

Computer Science c++
Member Avatar for toneewa
1
180
Member Avatar for Ashton21

Write a return function called averageFourTemperatures that accepts 4 integers in the parameter list, returns the average. In the main function prompt the user for 4 temperatures and them in separate appropriately named variables. Call the averageFourTemperatures, passing values and printing the returned average to the console.

Computer Science c++
Member Avatar for toneewa
0
295
Member Avatar for Yolie_b

Write a program that converts temperature from degrees Fahrenheit to degrees Celsius .The formula is C = (5.0/9.0) (F-32)

Computer Science java
Member Avatar for toneewa
-1
264
Member Avatar for N_765

public class Clock { private int newHour; private int newMinutes; private int newSeconds; public Clock () { } public Clock (int newHour, int newMinutes, int newSeconds) { this.newHour = newHour; this.newMinutes = newMinutes; this.newSeconds = newSeconds; } public int getNewHour(int newHour){ return this.newHour; } public int getNewMinutes (int newMinutes){ return …

Computer Science java
Member Avatar for zemiak
0
74
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: …

Computer Science python
Member Avatar for Schol-R-LEA
0
104
Member Avatar for Snehashish Das

## Traversal In Binary Tree : ## **Preorder traversal (NLR) :** 1. Visit the root(N) 2. Traverse the left subtree of root in preorder(L) 3. Traverse the right subtree of root in preorder(R) **Inorder Traversal (LNR) :** 1. Traverse the left subtree of root in inorder(L) 2. Visit the root(N) …

Computer Science c
1
139
Member Avatar for LZS_405

.model small .stack 100h .data Spc db 0dh,0ah, " $" ;New Line ;Bases Conversion ConT db 0dh,0ah, " Conversion $" ;Conversion Title ConBs3 db 0dh,0ah, "Base 3 to Base 5 " db 0dh,0ah,0dh,0ah, "Base 3 [00 to 22] : $" ;Enter Base 03 Number EqBs3 db 0dh,0ah, "Base 5 Equivalent …

Computer Science web-design
Member Avatar for rproffitt
0
96
Member Avatar for althaf_3

Write a Program to Delete an Integer from an Array of random numbers? Please reply anyone

Computer Science c
Member Avatar for Dani
0
68
Member Avatar for Saba_12

i have to write to the output Write to the output the sequence of division remainders of these numbers over a small integer but sorted in the non-decreasing order.i wrote a code for remainder but i cant write for them to sort. Here is the code: #include <iostream> using namespace …

Computer Science c++
Member Avatar for gce517
1
110
Member Avatar for Nhlanhla_1

am developing an assembly language program that will check whether an inputted number is divisible by 3 or not, now I am struggling to get things correct but my code is running..and it seems like dx register always have content zero even after div has been executed.. org 100h jmp …

Computer Science perl
Member Avatar for rproffitt
0
69
Member Avatar for VinsysIT

Have understood that ISO 14001 is related to environmental management system. Wanted to know what is **ISO 14001 Certification** and why companies need it?

Computer Science career
Member Avatar for jwenting
0
54

The End.