405 Topics

Member Avatar for
Member Avatar for usmanmalik57

In a [previous tutorial](https://www.daniweb.com/programming/computer-science/tutorials/541123/stock-price-prediction-using-1d-cnn-in-tensorflow-keras), I covered how to predict future stock prices using a deep learning model with 1D CNN layers. This method is effective for basic time series forecasting. Recently, I've enhanced this model by not just considering past closing prices but also factors like Open, High, Low, Volume, …

0
43
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 …

Member Avatar for Gulshan_6
0
326
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).

Member Avatar for Gulshan_6
0
588
Member Avatar for Yao889956

Greedy algorithm is an algorithm based on the greedy approach, which is commonly used to find the globally optimal solution by selecting the locally optimal solution at each step, considering the given constraints. The application of the greedy algorithm in computer monitoring software can include several aspects: File scanning: When …

Member Avatar for rproffitt
0
82
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 …

Member Avatar for Alisha_8
-1
708
Member Avatar for Mindmade

Hi guyz, How to decrease the bounce rate of a website? Best practices to decrease them and make customers to engage with the other pages of your websites.

-1
10
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 …

Member Avatar for pritaeas
0
384
Member Avatar for shawny
Member Avatar for Filiphos Eyoel
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 …

1
89
Member Avatar for Sam_837

I used to rank my brand as number one ranking for many years. Two years ago, I closed Google Business Profile for a year, reopened the profile, and verified it. I no longer rank number one with my brand and have no manual penalties. My domain is the exact keyword …

Member Avatar for AussieWebmaster
3
83
Member Avatar for venanciodayao18
Member Avatar for Dani
0
203
Member Avatar for Schol-R-LEA

I've been working on the GUI portion of my [C++ Connect-N game project](https://github.com/Schol-R-LEA/ConnectN), and have gotten it to would could charitably be called a working state. However, the game AI, not to put it to finely, stinks. I was wondering if anyone here has more experience in implementing a minmax …

2
87
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
98
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) …

1
123
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 …

Member Avatar for rproffitt
0
54
Member Avatar for alan_30

as an game engine dev i created an console graphics engine to create blazing graphics contains lighting and shadows and draw algorithms and the for loop for my 3D part was running slow and no flicker but slowly generates the walls and everything and when i update the frame again …

Member Avatar for rproffitt
0
71
Member Avatar for Natalii_13

Dog leaves his lamppost on summer evenings and staggers randomly either two steps in the direction toward home or one step in the opposite direction. After taking these steps, the dog again staggers randomly two steps toward home or one step backward and does this again and again. If the …

Member Avatar for rproffitt
0
119
Member Avatar for mjseedsca2021
Member Avatar for beaverseed
Member Avatar for omar90

i want write a code in C without using OpenCV library to code a Sobel operator to calculate the magnitude and direction of the gradient of an image then use pseudo color to display them using intensity for magnitude and hue for direction display input and output images

Member Avatar for rproffitt
0
63
Member Avatar for nextsmm
Member Avatar for omar90

how to write a function of image rotation by using the following f is the input image, (x0,y0) is the rotating center & a is the rotating angle. Return value is the output image (using IM & Bilinear interpolation);

Member Avatar for rproffitt
0
74
Member Avatar for omar90

how to rotate image using c-- following this byte[,] rotation(byte[,]f, float x0,float y0,float a); f is the input image, (x0,y0) is the rotating center & a is the rotating angle. Return value is the output image (using IM & Bilinear interpolation);

Member Avatar for rproffitt
0
96
Member Avatar for liye_wu
Member Avatar for Arsh_2
Member Avatar for Skill_2
Member Avatar for Achilius
Member Avatar for Athar_3

Create a Client/Server using DatagramSocket and DatagramPacket Programming and using DiffieHellman (1024) as encryption algorithm.

Member Avatar for rproffitt
0
43
Member Avatar for lilindiekid

Hi, I've been suffering with my magic the gathering c++ code. Here's the problem; I make combat between two cards and after the fight, opponent's HP will be reduce. So far, the HP reduces in side the classes but when we call the player's HP, it doesn't change as in …

Member Avatar for rproffitt
0
46

The End.