Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New models for softmax #355

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

New models for softmax #355

wants to merge 28 commits into from

Conversation

pobonomo
Copy link
Member

Do new models for softmax

@pobonomo pobonomo force-pushed the mutlinomialv12 branch 3 times, most recently from 347a9e3 to 8042b51 Compare November 2, 2024 21:07
@pobonomo pobonomo added safe to test If applied to a PR, will start the tests that require a Gurobi license and removed safe to test If applied to a PR, will start the tests that require a Gurobi license labels Nov 2, 2024
@mmaaz-git
Copy link

Hi Pierre: just wanted to check if you have an estimate for when you think this will be merged. I'd love to use it! No pressure at all. Or as you indicate it's safe to test, so I could locally clone this PR and play around with it? Thanks.

@pobonomo pobonomo added Models and removed safe to test If applied to a PR, will start the tests that require a Gurobi license labels Nov 8, 2024
@pobonomo pobonomo force-pushed the mutlinomialv12 branch 2 times, most recently from aa2ef69 to 0c981b3 Compare November 8, 2024 08:45
@pobonomo pobonomo added the safe to test If applied to a PR, will start the tests that require a Gurobi license label Nov 8, 2024
@pobonomo
Copy link
Member Author

pobonomo commented Nov 8, 2024

Hi Pierre: just wanted to check if you have an estimate for when you think this will be merged. I'd love to use it! No pressure at all. Or as you indicate it's safe to test, so I could locally clone this PR and play around with it? Thanks.

Hi,

I have no estimate currently. The models are working I think but it's a big change and there is a lot of cleanup.

Note that what is implemented so far is using softmax for scikit-learn only: multinomial logistic regression and neural networks. I didn't implement counter-parts for Keras and Pytorch yet (the code should be very simple but there would be a lot of testing).

I think that it is usable though so if you want to play with it you could try (and more testing cannot hurt).

Best,
Pierre

@mmaaz-git
Copy link

Thanks, will do!

@pobonomo pobonomo force-pushed the mutlinomialv12 branch 3 times, most recently from 363b38d to ad4c84c Compare November 12, 2024 09:19
@pobonomo pobonomo added safe to test If applied to a PR, will start the tests that require a Gurobi license and removed safe to test If applied to a PR, will start the tests that require a Gurobi license labels Nov 12, 2024
@pobonomo pobonomo force-pushed the mutlinomialv12 branch 3 times, most recently from dbab218 to 327d178 Compare December 7, 2024 14:07
Rebase the commit with many conflicts hopefully it is still correct

- Add a notebook testing multinomial logistic regression
- Do an adversarial model
- Put a different revision number
- Add a trivial OBBT to multinomial logistic regression notebook
- Do hand scaling for MNIST with logistic
- Store variables modeling exponential and sum of exponential
- Try reworking arguments of logistic regression
Also add a notebook for neural network with softmax activation
Some renaming, I was calling it mixing in neural networks and affinetrans
in logistic functions.
@pobonomo pobonomo force-pushed the mutlinomialv12 branch 4 times, most recently from 2259241 to f75c9e6 Compare January 2, 2025 17:59
@pobonomo pobonomo force-pushed the mutlinomialv12 branch 2 times, most recently from e569c36 to d269a1f Compare January 3, 2025 14:31
Also adds a classification test probably this will be overkill for GH actions
but try it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants