Thursday, 21 December 2017

AWS\MICROSOFT Gluon Vs GOOGLE TensorFlow | INTERVIEW QUESTION

GOOGLE TENSORFLOW VS AWS/MICROSFT GLUON
(most important interview question)


Gluon AWS/Microsoft:
Gluon is a new open source deep learning interface launched by AWS and Microsoft(12 Oct 2017) which allows developers to more easily and quickly build machine learning models, without compromising performance.
Gluon can be used with either Apache MXNet or Microsoft Cognitive Toolkit, and will be supported in all Azure services, tools and infrastructure. Gluon offers an easy-to-use interface for developers, highly-scalable training, and efficient model evaluation–all without sacrificing flexibility for more experienced researchers. For companies, data scientists and developers Gluon offers simplicity without compromise through  high-level APIs and pre-build/modular building blocks, and more accessible deep learning.


Gluon makes it easy for developers to learn, define, debug and then iterate or maintain deep neural networks, allowing developers to build and train their networks quickly. Gluon introduces four key innovations. 
  • Simple, Easy-to-Understand Code: Gluon is a more concise, easy-to-understand programming interface compared to other offerings, and that it gives developers a chance to quickly prototype and experiment with neural network models without sacrificing performance. Gluon offers a full set of plug-and-play neural network building blocks, including predefined layers, optimizers, and initializers.
  • Flexible, Imperative Structure: Gluon does not require the neural network model to be rigidly defined, but rather brings the training algorithm and model closer together to provide flexibility in the development process.
  • Dynamic Graphs: Gluon enables developers to define neural network models that are dynamic, meaning they can be built on the fly, with any structure, and using any of Python’s native control flow.
  • High Performance: Gluon provides all of the above benefits without impacting the training speed that the underlying engine provides.

TensorFlow Google:
TensorFlow is an open source software library for numerical computation using data flow graphs. It was developed by the Google Brain team for internal Google use. It was released under the Apache 2.0 open source license on November 9, 2015.
Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well. Below are the key features of TensorFlow.
  • Flexibility: You need to express your computation as a data flow graph to use TensorFlow. It is a highly flexible system which provides multiple models or multiple versions of the same model can be served simultaneously. The architecture of TensorFlow is highly modular, which means you can use some parts individually or can use all the parts together. Such flexibility facilitates non-automatic migration to new models/versions, A/B testing experimental models, and canarying new models.
  • Portability: TensorFlow has made it possible to play around an idea on your laptop without having any other hardware support. It runs on GPUs, CPUs, desktops, servers, and mobile computing platforms. You can deploy a trained model on your mobile as a part of your product, and that’s how it serves as a true portability feature.
  • Auto Differentiation: It has automatic differentiation capabilities which benefits gradient based machine learning algorithms. You can define the computational architecture of your predictive model, combine it with your objective function and add data to it- TensorFlow manages derivatives computing processes automatically. You can compute the derivatives of some values with respect to some other values results in graph extension and you can see exactly what’s happening.
  • Performance: TensorFlow allows you to make the most of your available hardware with its advanced support for threads, asynchronous computation, and queues. Just assign compute elements of your TensorFlow graph to different devices and let it manage the copies itself. It also facilitates you with the language options to execute your computational graph. TensorFlow iPython notebook helps in keeping codes, notes, and visualization in a logically grouped and interactive style.
  • Research and Production: It can be used to train and serve models in live mode to real customers. To put it simply, rewriting codes is not required and the industrial researchers can apply their ideas to products faster. Also, academic researchers can share codes directly with greater reproducibility. In this way it helps to carry out research and production processes faster.

Saturday, 16 December 2017

PyTorch Interview Questions Answers




What is PyTorch?
PyTorch is a relatively new deep learning framework that is fast becoming popular among researchers. Like Chainer, PyTorch supports dynamic computation graphs, a feature that makes it attractive to researchers and engineers who work with text and time-series.
PyTorch provides two high-level features:
  • Tensor computation (like numpy) with strong GPU acceleration
  • Deep Neural Networks built on a tape-based autograd system
We will come with more interview questions soon.

Top 20 Google TensorFlow Interview Questions Answers

As you know now technology moving towards Machine learning/Deep learning so if you are making career in it then your future is bright, you will got very high package :). Here we come with Google TensorFlow interview questions, our previous article "100 Machine learning Interview Q-A" was become very famous so must go through it.
Future of TensorFlow: TensorFlow future bright , TensorFlow is growing fast, especially when someone like Google create such thing, its likely to be big, one of the reason is because they are using in their own products which encourages others to use it also.

So lets start with TensorFlow Interview Questions.

What is TensorFlow?
TensorFlow is a Python library for fast numerical computing created and released by Google.
It is a foundation library that can be used to create Deep Learning models directly or by using wrapper libraries that simplify the process built on top of TensorFlow.
Unlike other numerical libraries intended for use in Deep Learning like Theano, TensorFlow was designed for use both in research and development and in production systems.
It can run on single CPU systems, GPUs as well as mobile devices and large scale distributed systems of hundreds of machines. Answer credit goest to : Jason Brownlee

What is necessary to evaluate any formulas in Tensorflow?
with tf.Session() as sess:

How do you sum the whole array into one number in tensorflow?
tf.reduce_sum(array) or tf.reduce_sum(x, [0, 1])

What programming language is it for?
The API is nominally for the Python programming language, although there is access to the underlying C++ API.

What do you understand by Tensor and Flow in case of Tensorflow?
Tensor:
  • Multi dimensional array - e.g., scalar, vector, matrix, cube
Flow:
  • A graph that defines operations like + to do with data (tensors). 
  • A lot like numpy
  • Fast Math with tensors
What is nodes?
Nodes perform computation and have zero or more inputs and outputs. Data that moves between nodes are known as tensors, which are multi-dimensional arrays of real values.

What is edges?
The graph defines the flow of data, branching, looping and updates to state. Special edges can be used to synchronize behavior within the graph, for example waiting for computation on a number of inputs to complete.

What is the purpose of tf.Session?
It provides a class for running Tensorflow objects. It encapsulates the environment in which Operation objects are executed and Tensor objects are evaluated.
usage:
with tf.Session as sess:
(context manager)
or
sess = tf.Session()
which then requires
sess.run(...)
sess.close()

What happens when you create a variable?
You pass a tensor into the Variable() constructor. You must specify the shape of the tensor which becomes the shape of the variable. Variables generally have fixed shape.

When you will use tf.get_variable()?
Sometimes you have large sets of variables in complex models that you want to all initialize in the same place.

What does tf.get_variable() do?
It creates or returns a variable with a given name instead of a direct call to tf.Variable(). It uses an initializer instead of calling tf.Variable directly

What does the softmax cross entropy function do?
Measures the probability error in discrete classification tasks in which the classes are mutually exclusive (each entry is in exactly one class).

Friday, 8 December 2017

TCS NEXTSTEP 2018 Off Campus Drive Eligibility Criteria and Application Process Step by Step

TCS 2018 OFF CAMPUS DRIVE ELIGIBILITY CRITERIA FOR FRESHER OR 2018, 2017, 2016  PASSOUT

Good news in this post is that we have covered every step with prient screen for apply in TCS off campus drive process. We have also shown instruction of every registration and application pages, marked by TCS for 2018. So read this post till end you will enjoy step by step registration and application form process. 
if you have already registed/applied then you can see and read latest form for application for 2018 and check that is this different from your application form or not. This is the latest application form look in nextstep.tcs.com.

The TCS Eligibility Criteria for an entry level position, is as follows:

  • Engineering students scheduled to graduate in the year 2018 are eligible to apply.
  • BE / B.Tech / ME / M.Tech in any Disciplines.
  • MCA with BSc / BCA / BCom / BA (with Math / Statistics Background).
  • M.Sc in Computer Science / Information Technology.
Marks Criteria:
  • Minimum aggregate (aggregate of all subjects in all semesters) marks of 60% or above in the first attempt in each of your Class Xth, Class XIIth, Diploma (if applicable), Graduation and Post-Graduation examination which includes successful completion of your final year/semester examination without any pending arrears/back logs during the entire course duration. Please note that all subjects mentioned on the mark sheets should be taken into consideration while calculating the aggregate marks. For example, best of 5/6 subjects for calculating the aggregate is not acceptable as per the TCS Eligibility Criteria.
  • First attempt implies that you should pass the final year/semester examination (Xth, XIIh, Diploma, Graduation and Post-Graduation as applicable) with minimum aggregate (aggregate of all subjects in all semesters) marks of 60% and above within the first attempt itself. For example, if you have secured 58.9 % (aggregate of all subjects) in your Standard XIIth examination and you have taken an improvement exam in the next attempt securing 62 %, you are not eligible as per the TCS Eligibility Criteria, as improvement exam is not considered as first attempt.
  • Completion of all courses Class Xth onwards within the stipulated time as specified by your University/Institute without any extended education.
Gaps-Break Criteria:
  • It is mandatory to declare the gaps/arrears/backlogs, if any, during your academic and work experience. Break in education should not be due to extended education. Any break in education should not exceed 24 months.
  • Only Full time courses will be considered.
Age Criteria:
  • You should be minimum 18 years of age to be eligible to apply for the TCS Selection process.
Re-apply Criteria:
  • Candidates who have applied to TCS and have not been successful in clearing the TCSL selection process are not eligible to re-apply to TCS within six months from the date on which they had attended such selection test and/or interview. You are not eligible to appear for the TCS selection process within six months of the previous unsuccessful attempt.
How do a Fresher can apply for an entry level position in TCS? 
To apply for an entry level position:(click on images in zoom in)

STEP 1: Register
  • Visit https://nextstep.tcs.com
  • Click “Register Now”

  • Now select category as IT.

  • You will be redirected to the TCS Registration form. Now fill it and click on submit button.

  • After submit below popup will appear. Now verify your mobile no and email address.
  • Now below window will appear, So note-down your reference no. And click Continue.
  • Now password prompt will appear.
  • Now be happy you have registered and redirected to home page will login.
Below is the welcome message from TCS, read it carefully.

"Welcome aboard on TCS NextStep portal! 

TCS NextStep Portal is the first step connecting you with TCS, Asia's leading IT services Company. A single platform that addresses all your needs interactively and simplifies the communication process, this Portal will help you in your transition from being a student on campus to exploring a dynamic career path with TCS. 

From keeping you updated on TCS initiatives to answering your queries and helping you explore a world of opportunities, TCS NextStep helps bridge the distance in your journey to becoming a TCSer. 

So, go ahead! Explore opportunities. Experience Certainty."

TILL NOW YOU HAVE REGISTERED.

Now you can apply.


STEP 2: Apply

  • Click on Application 
  • Now application page will appear with Important information, Before click "Start filling the Form" button must read it. Below are the instruction. And click "Start filling the Form"
"1). The form is divided into following four sections. It is mandatory to enter details in all four sections.
                Personal Detail
                Academic and Work Experience Details
                Other Details
                Form preview and declaration

2). Fields marked with "*" in these sections are mandatory.

3). To save the details and navigate to the next field/screen, click 'Save and Continue'.

4). To submit the form, click 'Submit Application Form' in 'Form Preview and Declaration' section.

5). Please review the details properly before submitting the form to avoid errors.You can use the Application Form preview feature after filling in all the mandatory fields. In case you wish to edit any details, you can navigate to the relevant section and edit the same.

6). Click 'Save' after editing any details in the form. To submit the form with the updated details, click 'Submit Application Form'. Please note that if you do not submit the form after editing any details, the details will not be saved."
  • Now four tab will appear, fill detail in all four tab, below are the screen-shots of all tabs.

Academic Instructions :
  1. "Marks/CGPA Obtained" denotes Total Marks/CGPA secured by you in ALL* subjects in all semesters in the first attempt.
  2. "Total Marks/CGPA" denotes total of maximum marks in ALL* subjects in all semesters in the first attempt. *ALL implies that all subjects mentioned on the marksheet (including languages, optional subjects etc) should be taken into consideration for calculating the obtained/total marks/CGPA.
  3. Marks/CGPA obtained during the normal duration of the course only will be considered to decide on the eligibility.
  4. Verify your marks after entering, as it is a part of the selection criteria.
  5. Please mention only your XII duration in XII Grade details . Pls do not add the XI duration in the same.



  • Now this is the last button :) click "Submit Application Form" button and be happy....
  • Below are the TCS Terms and Conditions which you can read before click "Submit Application Form"

TCS Terms and Conditions
In connection with my application to render services to Tata Consultancy Services Ltd (the "Company"), I hereby agree as follows: I certify that the information furnished in this form as well as in all other forms filled-in by me in conjunction with my traineeship is factually correct and subject to verification by TCS including Reference Check and Background Verification.
I accept that an appointment given to me on this basis can be revoked and/ or terminated without any notice at any time in future if any information has been found to be false, misleading, deliberately omitted/ suppressed.

As a condition of Company's consideration of my application for traineeship with the Company, I hereby give my consent to the Company to investigate or cause to be investigated through any third parties my personal, educational and pre or post joining history. I understand that the background investigation will include, but not be limited to, verification of all information given by me to the Company. I confirm that the Company is entitled to share such investigation report with its clients to the extent necessary in connection with the Services, which I may be required to provide to such clients. I confirm and undertake that the Company shall incur no liability or obligation of any nature whatsoever resulting from such investigation or sharing of the investigation results as above. I certify that I am at present in sound mental and physical condition to undertake employment with TCS. I also declare that there is no criminal case filed against me or pending against me in any Court of law in India or abroad and no restrictions are placed on my travelling anywhere in India or abroad for the purpose of business of the company.

Best of luck..

Friday, 1 December 2017

SQL Server 2017 Interview Questions with Answers

Here we come with latest SQL Server interview questions which is related to latest SQL Server 2017 thats why all questions are also latest if you are looking for latest then this is the place. :)

Lets check your knowledge..

What do you understand by Adapative query processing launched in SQL Server 2017?
SQL Server 2017 and Azure SQL Database introduce a new generation of query processing improvements that will adapt optimization strategies to your application workload’s runtime conditions.

Name all three Adaptive query processing features?
In SQL Server 2017 and Azure SQL Database there are three adaptive query processing features by which you can improve your query performance:
Batch mode memory grant feedback.
Batch mode adaptive join.
Interleaved execution.

Write T-SQL statement to enable adaptive query processing?
You can make workloads automatically eligible for adaptive query processing by enabling compatibility level 140 for the database. You can set this using Transact-SQL. For example:
ALTER DATABASE [WideWorldImportersDW] SET COMPATIBILITY_LEVEL = 140;

Name the new string function which is very useful to generate csv file from a table?
CONCAT_WS is new function launched in SQL Server 2017 its takes a variable number of arguments and concatenates them into a single string using the first argument as separator. It requires a separator and a minimum of two arguments.
It is very helpful in generate comma or pipe seprated csv file content.
Example:


What do you understand  by TRANSLATE in SQL Sever 2017?
TRANSLATE is a new string function launched in SQL Server 2017, It is very helpful to replace multiple character with multiple character respectively. It will return an error if characters and translations have different lengths.
In below example we are using traditional REPLACE function, and for same task we will use TRANSLATE function lets see the difference.

What is the use of new TRIM function?
It Removes the space character char(32) or other specified characters from the start or end of a string.

Is SQL Server 2017 support Python?
Yes