Vijay Gupta
• Male
• Mathura
• India

## Vijay Gupta's Discussions

### Multi-variable Linear Regression: optimize theta by using BFGS algorithm.

Started this discussion. Last reply by BhanuTeja Kasani Jul 19.

Hello EveryoneI want to switch my career in Data Science and have been learning Machine Learning since last two weeks. I want to learn optimization technique and applying the BFGS algorithm on some…Continue

### Logistic regression: minimize J(theta) by Gradient Descent algorithm

Started Jul 6

Hello everyone,I want to minimize J(theta) of Logistic regression by using Gradient Descent(GD) algorithm.I have wrote a code in matlab and python both by using GD but getting the value of theta very…Continue

# Vijay Gupta's Page

## Latest Activity

Jul 20
"I don't understand what you are doing because I am new to these techniques, but I am a python programmer. lets us solve line by line- Below is some part of your code(I did some changes to your script I believe some of your lines are redundant).…"
Jul 19
Vijay Gupta's discussion was featured

### Multi-variable Linear Regression: optimize theta by using BFGS algorithm.

Hello EveryoneI want to switch my career in Data Science and have been learning Machine Learning since last two weeks. I want to learn optimization technique and applying the BFGS algorithm on some data to get optimize value of theta in linear regression.When I'm running my code in python, it gives the following error:> derphi0 = np.dot(gfk, pk)> ValueError: shapes (3,47) and (3,47) not aligned: 47 (dim 1) != 3 (dim0)Any help will be appreciated.Following is my python code for the…See More
Jul 17
Vijay Gupta posted a discussion

### Multi-variable Linear Regression: optimize theta by using BFGS algorithm.

Hello EveryoneI want to switch my career in Data Science and have been learning Machine Learning since last two weeks. I want to learn optimization technique and applying the BFGS algorithm on some data to get optimize value of theta in linear regression.When I'm running my code in python, it gives the following error:> derphi0 = np.dot(gfk, pk)> ValueError: shapes (3,47) and (3,47) not aligned: 47 (dim 1) != 3 (dim0)Any help will be appreciated.Following is my python code for the…See More
Jul 17
Vijay Gupta posted a discussion

### Logistic regression: minimize J(theta) by Gradient Descent algorithm

Hello everyone,I want to minimize J(theta) of Logistic regression by using Gradient Descent(GD) algorithm.I have wrote a code in matlab and python both by using GD but getting the value of theta very less/different(wrt fminunc function of Matlab) For example: for the given set of data, by using GD algorithm, with following input:num_iters=400; alpha=0.0001;got the following output:theta:= [-0.002717 ; 0.010242; 0.000669]For a student with scores 45 and 85, we predict an admission probability of…See More
Jul 6
Vijay Gupta updated their profile
Jun 29

## Profile Information

My Web Site Or LinkedIn Profile
Field of Expertise
Data Science, Machine Learning
Professional Status
Professor
Years of Experience:
03
Seeking exciting opportunities in Data Science
How did you find out about DataScienceCentral?
Webpage
Interests:
Finding a new position

## Comment Wall

Join Data Science Central

1

2

3