
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10744 Articles

AmitDiwan
116 Views
The titanic dataset can be visualized using the ‘hist’ method which visualizes a histogram. A horizontal bar graph can be generated by specifying the type of graph as ‘barh’. Read More: What is TensorFlow and how Keras work with TensorFlow to create Neural Networks?We will use the Keras Sequential API, which ... Read More

AmitDiwan
149 Views
The titanic dataset can be explored using the estimator with Tensorflow by using the ‘head’ method, the ‘describe’ method, and the ‘shape’ method. The head method gives the first few rows of the dataset, and the describe method gives information about the dataset, such as column names, types, mean, variance, ... Read More

AmitDiwan
123 Views
A linear model can be built with estimators to load the titanic dataset using the ‘read_csv’ method which is present in ‘Pandas’ package. This method takes google APIs that store the titanic dataset. The API is read and the data is stored in the form of a CSV file.Read More: ... Read More

AmitDiwan
229 Views
The ‘predict’ method is called on never before seen data and the predictions and the actual value is displayed on console.Read More: What is TensorFlow and how Keras work with TensorFlow to create Neural Networks?We will use the Keras Sequential API, which is helpful in building a sequential model that ... Read More

AmitDiwan
251 Views
Tensorflow can be used with the estimator to predict output on new data using the ‘predict’ method which is present in the ‘classifier’ method.Read More: What is TensorFlow and how Keras work with TensorFlow to create Neural Networks?We will use the Keras Sequential API, which is helpful in building a ... Read More

AmitDiwan
310 Views
Suppose following is the problem:We have a sequence of numbers starting from 1 and upto any arbitrary number, let's call it num. We have to pick two such numbers from the sequence (let's call them m and n), such that:sum(1 to num) - (m + n) = m * nAnd ... Read More

AmitDiwan
14K+ Views
Suppose, we have the following JSON object that may contain nesting upto any level −const obj = { "one": 1, "two": { "three": 3 }, "four": { "five": 5, "six": { "seven": 7 ... Read More

AmitDiwan
281 Views
Suppose, we have an array of numbers like this −const arr = [1, 6, 3, 1, 3, 1, 6, 3];We are required to write a JavaScript function that takes in one such array as the first and the only argument. Then the function should look for all such numbers in ... Read More

AmitDiwan
385 Views
Suppose we have two array of numbers of the same length like this −const arr1 = [23, 67, 12, 87, 33, 56, 89, 34, 25]; const arr2 = [12, 60, 45, 54, 67, 84, 36, 73, 44];We are required to write a JavaScript function that takes in two such arrays ... Read More

AmitDiwan
349 Views
Suppose we have an array of integers, (positive, negative and zero) like this −const arr = [23, -1, 0, 11, 18];We are required to write a JavaScript function that takes in one such array as the first and the only argument. The function should then find the fractional ratio for ... Read More