Posts

Recursive function For counting all the perfect number from 1 to n.

Image
What is a perfect number?  A perfect  number  is a  positive integer  that is equal to the sum of its positive  divisors , excluding the number itself. For instance, 6 has divisors 1, 2 and 3 (excluding itself), and 1 + 2 + 3 = 6, so 6 is a perfect number.  C program to count all perfect numbers from 1to N. #include"stdio.h" int perfect(int num) {     /* function to check number is perfect or not*/     if(num<1)     {         return 0;     }     int i, sum, n;     sum = 0;     n = num;     for(i=1; i<n; i++)     {         /* If i is a divisor of num */         if(n%i == 0)         {             sum += i;         }     }     if(num==sum)     {         printf("number is %d\n",num); ...

BS GREWAL PDF DOWNLOAD

Image
BS Grewal Pdf if required SIZE:-- 243 mb DOWNLOAD NOW

Reinforcement Learning

Image
REINFORCEMENT LEARNING Reinforcement learning  ( RL ) is an area of  machine learning  concerned with how  software agents  ought to take  actions  in an environment in order to maximize the notion of cumulative reward. Reinforcement learning is one of three basic machine learning paradigms, alongside  supervised learning  and  unsupervised learning . without some feedback about what is good and what is bad, the agent will have no grounds for deciding which move to make.   The agent needs to know that something good has happened when it (accidentally) checkmates the opponent, and that something bad has happened when it is checkmated-or vice versa, if the game is suicide chess. This kind of feedback is called a reinforcement or reward. Rewards served to define optimal policies in Markov decision processes (MDPs). An optimal policy is a policy that maximizes the expected total reward. The task of reinforcement learn...

History of Artificial Intelligence

Image
History of Artificial Intelligence

Intro to data -datascience

Image
Introduction to Data Data is basically useful information about anything and of anybody. Data is commonly known as big data. this could be anything like the rating for a movie by a user, purchasing history, searching history, preferences of a user, likes and dislikes of a user, etc. in the field of Data Science, the Data/Big Data is classified into two categories:- Qualitative Data Quantitative Data     Qualitative Data it deals with characteristics and descriptions that can't be measured easily but can be observed subjectively.  Qualitative data is a type of data that describes the information. It is investigative and also often open-ended, allowing respondents to fully express themselves. it is also known as categorical data.  this data type isn’t necessarily measured using numbers but rather categorized based on properties, attributes, labels, and other identifiers. example:- qualifications,sex,name, etc. this data is also classified in...

Automate your tasks

Image
                              Automating tasks  you can automate simple tasks such as the following : Moving and renaming thousands of files and sorting them into folders Filling out online forms, no typing required Downloading files or copy text from a website whenever it updates Having your computer text you custom notifications Updating or formatting Excel spreadsheets Checking your email and sending out prewritten responses These tasks are simple but time-consuming for humans, and they’re often so trivial or specific that there’s no ready-made software to perform them. Armed with a little bit of programming knowledge, you can have your computer does these tasks for you.            Automate boring stuff Download

Regular Expression -Introduction

Image
                      Introduction To Regular Expressions A  regular expression  is a special sequence of characters that helps you match or find other strings or sets of strings, using a specialized syntax held in a pattern. Regular expressions are widely used in the UNIX world. example:- Searching date and time in the datasheet, textbook, etc. Regular expressions can contain both special and ordinary characters. they simply match themselves. these are generally made by using meta-characters and repetition qualifiers. Meta Characters are shown below:- Repetition Qualifiers are shown below:- Note:- these are used in text mining and text analysis, etc.