14,945 Topics

Member Avatar for
Member Avatar for usmanmalik57

Sentiment analysis, a subfield of Natural Language Processing (NLP), aims to discern and classify the underlying sentiment or emotion expressed in textual data. Whether it is understanding customers' opinions about a product, analyzing social media posts, or gauging public sentiment towards a political event, sentiment analysis plays a vital role …

Member Avatar for Abdul_116
6
2K
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
61
Member Avatar for usmanmalik57

A video is a series of images, or frames, shown in rapid succession. Its frame rate, measured in frames per second (FPS), dictates the display speed. For instance, a 30 FPS video shows 30 frames each second. The frame count and frame rate determine a video's detail, smoothness, file size, …

Member Avatar for usmanmalik57
2
203
Member Avatar for usmanmalik57

## Introduction ## Loss functions are the driving force behind all machine learning algorithms. They quantify how well our models are performing by calculating the difference between the predicted and actual outcomes. The goal of every machine learning algorithm is to minimize this loss function, thereby improving the model’s accuracy. …

Member Avatar for AndreRet
3
228
Member Avatar for usmanmalik57

As a researcher, I have often found myself buried under a mountain of research articles, each promising insights and breakthroughs crucial for my work. The sheer volume of information is overwhelming, and the time it takes to extract the relevant data can be daunting. However, extracting meaningful information from research …

Member Avatar for AndreRet
3
160
Member Avatar for usmanmalik57

Facial emotion detection, as the name suggests, involves detecting emotions from faces in images or videos. Recently, I was working on a facial emotion detection task and came across the DeepFace library that implements various state-of-the-art facial emotion detection models. However, in my experience, the performance of the DeepFace library …

Member Avatar for peol
3
337
Member Avatar for usmanmalik57

Stock price prediction is a challenging task that requires analyzing historical trends, market sentiments, economic indicators, and company performance. One of the popular methods for stock price prediction is using deep learning models, such as convolutional neural networks (CNNs). CNNs are a type of neural network that can extract features …

1
301
Member Avatar for usmanmalik57

Chatbots are software applications that can interact with humans using natural language. They can be used for various purposes, such as customer service, entertainment, education, and more. Chatbots can be built using different techniques like rule-based systems, machine learning, or deep learning. In this article, I will focus on the …

3
344
Member Avatar for usmanmalik57

Language modeling is the cornerstone of advanced natural language processing, forming the backbone for cutting-edge technologies like ChatGPT. At its core, it involves predicting words based on context, a fundamental principle underlying modern large language Models (LLMs). There are various techniques for language modeling, with attention mechanisms emerging as the …

Member Avatar for AndreRet
2
507
Member Avatar for usmanmalik57

In this tutorial, you will learn to fine-tune a [Hugging Face Transformers model](https://huggingface.co/docs/transformers/index) for video classification in PyTorch. The Hugging Face documentation provides an example of performing video classification using the Hugging Face Trainer with one of Hugging Face's built-in datasets. However, the process of fine-tuning a video transformer on …

2
197
Member Avatar for cored0mp

I'm working on an application, certainly not my first. Some aspects of my coding background are quite informal, for example I have only a rudimentary understanding of source code repositories. Take library formation, for example? I'm reasonably proud that my source is of sufficient quality and organization to pass an …

Member Avatar for Dani
2
107
Member Avatar for usmanmalik57

Understanding facial expressions is crucial for various tasks, from recognizing emotions to enhancing security measures. While extracting faces from pictures is easy, doing the same in videos is tricky. Imagine creating videos with only highlighted facial expressions, offering a unique perspective on human interactions. Various tools are available for face …

1
797
Member Avatar for cored0mp

How do I create a table in postgres that's associated with a specific database? Obviously from the command line one can do Create table tablename (); But how do I make sure that the table is associated with the correct database? CREATE table dbname.tablename(); is giving me the error: ERROR: …

Member Avatar for Dani
1
126
Member Avatar for usmanmalik57

## Introduction ## In the realm of computer vision, [Vision Transformers (ViTs)](https://arxiv.org/abs/2010.11929) revolutionized image processing by employing self-attention mechanisms, allowing for a non-sequential analysis of images. ViTs are instrumental in capturing intricate patterns and long-range dependencies, making them invaluable for tasks like image recognition and object detection. Hugging Face, a …

1
859
Member Avatar for usmanmalik57

In a previous article, I showed you [how to analyze sentiments using Chat-GPT and data augmentation techniques](https://www.daniweb.com/programming/computer-science/tutorials/540502/sentiment-analysis-with-data-augmentation-using-chatgpt#post2293643). Following that, some readers reached out, asking for a breakdown of fine-tuning a Chat-GPT model. In this article, I will guide you through fine-tuning your Chat-GPT model using your own data. First, I'll …

2
310
Member Avatar for usmanmalik57

In one of my research projects, I needed to extract text from video files and create a CSV file that included sentiments expressed in the text. Manual extraction was time-consuming and costly. So, I explored Automatic Speech Recognition (ASR) systems and discovered OpenAI [Whisper](https://openai.com/research/whisper), known for its high accuracy in …

Member Avatar for Reverend Jim
1
575
Member Avatar for Artin_1

I've just finished reading Eric Matthes' Python Crash Course. A book which I found great to learn Python within a short time. The learning process wasn't really hard for me as I was already familiar with programming in other languages. Now I'm done with it and I've just started learning …

Member Avatar for Reverend Jim
0
101
Member Avatar for raj_41

If any of you have hands-on experience in developing texting platforms or have insights into the considerations involved, I would greatly appreciate your input. Factors such as real-time capabilities, scalability, integration with messaging protocols, and compatibility across devices are of utmost importance.

Member Avatar for Sajid_21
0
211
Member Avatar for NAFISUL

Hi, I am a non computing graduate. Have basic HTML knowledge gather using freecodecamp. I am transitting from marketing industry to IT (programming) industry. I have enrolled in a masters in UK which will start in just one month. But I am not sure If i will be able to …

Member Avatar for jkon
0
125
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-2
285
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
604
Member Avatar for Mindmade

Hi guyz, What is the main purpose of alpha and beta testing? From your own personal experience. Why is Beta Testing is very much important in mobile app development?

Member Avatar for Gulshan_6
-2
43
Member Avatar for fluids_

I am trying to make a drawing board in pygame but I want to be able to change the opacity using RGBA but it doesn't seem to be working, my code below: import pygame as pg import sys, os from pygame.locals import * pg.init() draw = 0 color = 0 …

Member Avatar for Reverend Jim
0
124
Member Avatar for lma2lke8
Member Avatar for Reverend Jim

I came across this item while programming something that should have been very simple. VLC Media Player will save the last viewed position in a media file (assuming you have the resume option enabled). It maintains two lists, file names, and offset times. The file names are encoded such that …

Member Avatar for rproffitt
0
45
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-2
48
Member Avatar for ashishhhroe

I am trying to run a python code but it's showing attribute error- my_string = "Hello, world!" my_string.reverse() Output for the above code: Traceback (most recent call last): File "c:\Users\name\OneDrive\Desktop\demo.py", line 2, in <module> my_string.reverse() ^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'reverse' Could you please help me solve this? …

Member Avatar for Reverend Jim
0
25
Member Avatar for biplabjackie

I have excel sheet where all pivotcharts are combined by slicers. i want to copy individual pivot charts from the excel sheet to a word document by image to placeholder Thank you in advance I have tried with win32 & openpyxl but error message came Object attribute charts is not …

Member Avatar for AndreRet
1
45
Member Avatar for Gulshan_6

Hello this is Gulshan Negi Well, I am writing a program for making hangman game in python but it shows some error at the time of its execution. Here is my source code: import random def select_word(): words_in_computer_memory = ['magazine','stars','computer','python','organisation'] word = random.choice(words_in_computer_memory) return word def is_gussed(word, guessed_letter_list): count=0 for …

Member Avatar for AndreRet
1
147
Member Avatar for JessicaW33

Hello everyone, I'm currently exploring blockchain development and would like to learn how to implement a simple blockchain in a programming language of my choice. I understand the basic concepts of a blockchain, but I'm curious about the specific steps and code required to create one. Could anyone please share …

Member Avatar for tarun Nagar
0
159

The End.