Finding the first non-repeating character of a string in JavaScript

AmitDiwan
Published on 20-Jan-2021 11:11:06
We are required to write a JavaScript function that takes in a string as the first and the only argument.The function should find and return the index of first character it encounters in the string which appears only once in the string.If the string does not contain any unique character, ... Read More

Finding desired numbers in a sorted array in JavaScript

AmitDiwan
Published on 20-Jan-2021 11:08:58
We have an array of integers which is sorted in the increasing order. We are required to write a JavaScript function that takes in one such array as the first argument and a target sum number as the second argument.The function should find and return two such numbers from the ... Read More

Finding the length of second last word in a sentence in JavaScript

AmitDiwan
Published on 20-Jan-2021 11:06:39
A sentence is just a string which contains strings (called words) joined by whitespaces. We are required to write a JavaScript function that takes in one such sentence string and count the number of characters in the second to last word of the string. If the string contains no more ... Read More

Finding element greater than its adjacent elements in JavaScript

AmitDiwan
Published on 20-Jan-2021 11:05:05
We are required to write a JavaScript function that takes in an array of numbers as the first and the only argument.The function should find and return one such number from the array which is greater than both, the number on its immediate right and the number on its immediate ... Read More

How can TensorFlow be used to define a loss function, an optimizer, train the model and evaluate it on the IMDB dataset in Python?

AmitDiwan
Published on 19-Jan-2021 18:14:45
Tensorflow is a machine learning framework that is provided by Google. It is an open-source framework used in conjunction with Python to implement algorithms, deep learning applications and much more. It is used in research and for production purposes.The ‘tensorflow’ package can be installed on Windows using the below line ... Read More

How can TensorFlow be used to configure the IMDB dataset to give good performance and create a model?

AmitDiwan
Published on 19-Jan-2021 18:14:09
Tensorflow is a machine learning framework that is provided by Google. It is an open−source framework used in conjunction with Python to implement algorithms, deep learning applications and much more. It is used in research and for production purposes.The ‘tensorflow’ package can be installed on Windows using the below line ... Read More

How can Tensorflow be used to prepare the IMDB dataset for training in Python?

AmitDiwan
Published on 19-Jan-2021 18:12:49
Tensorflow is a machine learning framework that is provided by Google. It is an open−source framework used in conjunction with Python to implement algorithms, deep learning applications and much more. It is used in research and for production purposes. It has optimization techniques that help in performing complicated mathematical operations ... Read More

How can Tensorflow be used to download and explore IMDB dataset in Python?

AmitDiwan
Published on 19-Jan-2021 18:12:17
Tensorflow is a machine learning framework that is provided by Google. It is an open−source framework used in conjunction with Python to implement algorithms, deep learning applications and much more. It is used in research and for production purposes.This is because it uses NumPy and multi−dimensional arrays. These multi-dimensional arrays ... Read More

How can the ‘Word2Vec’ algorithm be trained using Tensorflow?

AmitDiwan
Published on 19-Jan-2021 18:10:51
Tensorflow is a machine learning framework that is provided by Google. It is an open−source framework used in conjunction with Python to implement algorithms, deep learning applications and much more. It is used in research and for production purposes. It has optimization techniques that help in performing complicated mathematical operations ... Read More

What is Keras with respect to Tensorflow?

AmitDiwan
Published on 19-Jan-2021 18:09:15
Tensorflow is a machine learning framework that is provided by Google. It is an open−source framework used in conjunction with Python to implement algorithms, deep learning applications and much more. It is used in research and for production purposes. It has optimization techniques that help in performing complicated mathematical operations ... Read More
Previous 1 ... 3 4 5 6 7 8 9 ... 4427 Next
Advertisements