473,383 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

logistic regression

Hello,
Has anyone done logistic regression in php?
I need to do that but cannot find any build in functions or similar.

Please help.

/nina
Apr 10 '08 #1
4 3540


Neda-k wrote:
Hello,
Has anyone done logistic regression in php?
I need to do that but cannot find any build in functions or similar.

Please help.

/nina
Lookup numpy
Apr 10 '08 #2
NC
On Apr 10, 1:01 pm, Neda-k <neda.ker...@gmail.comwrote:
>
Has anyone done logistic regression in php?
Not to my knowledge. In fact, I know of only two people who have
done multiple regression in PHP...
I need to do that but cannot find any build in functions
or similar.
You won't; nothing of the sort exists. So you either have to write
your own functions (possibly by porting from Fortran or C) or wrap
some previously written C code into a PHP extension.

Cheers,
NC
Apr 11 '08 #3
On Apr 11, 2:21 am, NC <n...@iname.comwrote:
On Apr 10, 1:01 pm, Neda-k <neda.ker...@gmail.comwrote:
Has anyone done logistic regression in php?

Not to my knowledge. In fact, I know of only two people who have
done multiple regression in PHP...
I need to do that but cannot find any build in functions
or similar.

You won't; nothing of the sort exists. So you either have to write
your own functions (possibly by porting from Fortran or C) or wrap
some previously written C code into a PHP extension.

Cheers,
NC
Hello again,
Sorry if the questions sounds stupid, but how do I wrap or port code
from somewhere else?

/nina
Apr 11 '08 #4
NC
On Apr 11, 10:43 am, Neda-k <neda.ker...@gmail.comwrote:
On Apr 11, 2:21 am, NC <n...@iname.comwrote:
you either have to write your own functions (possibly by porting
from Fortran or C) or wrap some previously written C code into
a PHP extension.

Sorry if the questions sounds stupid, but how do I wrap or port code
from somewhere else?
To wrap previously written C code into a PHP extension, you need to
be able to program in C. Sara Golemon has written a fairly detailed
four-part introduction into writing PHP extentsions:

http://devzone.zend.com/article/1021
http://devzone.zend.com/article/1022
http://devzone.zend.com/article/1023
http://devzone.zend.com/article/1024

She has also written a book titled "Extending and Embedding PHP":

http://www.amazon.com/exec/obidos/ASIN/067232704X

Essentially, wrapping a C library into a PHP extension makes the
library's functionality available to PHP.

As to porting, you need to understand the language you are porting
from. You keep asking yourself two questions: (1) what does this
piece of code do in the original code?, and (2) how do I write an
equivalent piece of code in my target language?

Cheers,
NC
Jun 2 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Michael van der Veeke | last post by:
Hi All, Does anyone use any regression testing tools with MS Access? We have tried a few and none seem to work very well with a MS Access Front end and I need one. Can anyone provide any...
2
by: Darius Fatakia | last post by:
Does anyone know if there are any implementations in C of logistic regression algorithms? Thanks.
3
by: sql guy123 | last post by:
This is a real challenge. I hope someone is smart enough to know how to do this. I have a table TABLE1
1
by: wirecom | last post by:
Hi all, I am seeking a module that will do the equivalent of linear regression in 3D to yield a best fit a plane through a set of points (X1, Y1, Z1), (X1, Y1, Z1),... (Xn, Yn, Zn). The...
1
by: Nod Lee | last post by:
Hi all Is there any tools/objects from Microsoft that I can use to perform linear regression in webform and generate the results into a graph? If not, is there any recommendations for 3rd...
1
by: abefroeman | last post by:
I am trying to automate the regression function in the analysis tool pack. I tried to simply record myself doing a regression. When I run the macro, it cannot find the analysis tool pack. It says...
2
by: vincent64 | last post by:
Can someone point me to libraries to perform this type of computations? The problem is some form of PLS logistic regression. Data set is very large, 5 MM rows, 80 initial variables. See...
7
by: PlsHelp | last post by:
Hi every1,this is my 1st time using this forum....pls can any1 tell me how to create a code in VB that can do LINEAR REGRESSION in excel.....i'm not sure how to xplain exactly what i need but...
0
by: drfish | last post by:
Hi, I'm a complete novice when it comes to VB so need some help. I would like a macro that performs linear regression for different cell ranges each time it is run, depending on the number of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.