Started this discussion. Last reply by BhanuTeja Kasani Jul 19. 1 Reply 1 Like

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

Tags: BFGS, optimization, multi-variable, regression, linear

Started Jul 6 0 Replies 0 Likes

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

Tags: descent, Gradient, classification, regression, logistic

Vijay Gupta has not received any gifts yet

Tim Matteson liked Vijay Gupta's discussion Multi-variable Linear Regression: optimize theta by using BFGS algorithm.

Jul 20

BhanuTeja Kasani replied to Vijay Gupta's discussion Multi-variable Linear Regression: optimize theta by using BFGS algorithm.

"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

- My Web Site Or LinkedIn Profile
- http://www.linkedin.com/in/vijayiitk

- Field of Expertise
- Data Science, Machine Learning

- Professional Status
- Professor

- Years of Experience:
- 03

- Your Job Title:
- Seeking exciting opportunities in Data Science

- How did you find out about DataScienceCentral?
- Webpage

- Interests:
- Finding a new position

- No comments yet!

© 2018 Data Science Central ® Powered by

Badges | Report an Issue | Privacy Policy | Terms of Service