Comments (17)
Hey! So I thought of trying to add a new model but am confused about a good starting point for the same. Can you suggest a model that you are/were thinking to add? This way I'll have a more clear way of starting up on the same. Thanks.
from dffml.
Is this still open? If yes what models are you looking to add?Also the tutorial link given is not working
from dffml.
Hi @aghinsa yes it's still open. I've updated the issue. We don't have any neural networks that aren't classifiers right now. So that would be the top priority. The quickest way to fix that is probably by copying the tensorflow based classifier and modifying it to use: https://www.tensorflow.org/versions/r1.14/api_docs/python/tf/estimator/DNNEstimator
or you could create a new package and use another machine learning framework other than tensorflow.
from dffml.
Thanks.I'll go through the links. I'll go with your suggestion as I'm more comfortable with tensorflow than other frameworks.
PS: Pretty sure I'll have lots of doubts.But I'm ready to invest time,so please to help with this.Also do we discuss related things here or on gitter(just found out about this).
from dffml.
Awesome! Yes I'm around to answer any questions. Thanks for the help!
from dffml.
So, I went through model/tensorflow/dffml_model_tensorflow/dnnc.py,to clarify things
- we want to add a regression model which trains on all features
- we aren't passing any separate model_fn to the estimator(are we?) rather using the hidden_units from config to specify the model
- should the model be such that warm_start is enabled?if yes, can i use the model_dir arg for that
from dffml.
- You'll probably want to make a class which subclasses from
TensorflowModelContext
(or maybe evenDNNClassifierModelContext
depending on how many methods you think don't need to be changed). - Features we want to train on are passed to the
__init__
method of theTensorflowModelContext
class (I noticed #216, just so you know that the other method arguments aren't named correctly). We want to train on all features that we know how to make a feature column for using the tensorflow API. The feature columns are created inTensorflowModelContext.__init__
, the names of the features we care about training on will be inself.features
the feature volumes areself.feature_columns
.
A. You'll notice in the*_input_fn
methodsself.features
is passed torepo.features
in order to get adict
where the keys are feature names, and the values are the values of that feature. - Yes, we're just using hidden units (for now, we could change this later, after you get the first version working, if you want).
- Yes,
warm_start
should be enabled. And yes, usingself.model_dir_path
would be the right way to do that.
dffml/model/tensorflow/dffml_model_tensorflow/dnnc.py
Lines 158 to 175 in 65e4ce4
I'm sorry there's not a ton of comments in there, another good thing to do to start would be to copy the test file for the existing model to create a new test, and then run just that test.
$ cp tests/test_dnnc.py tests/test_dnnr.py
$ python3.7 setup.py test -s tests.test_dnnr
from dffml.
Is someone working on the issue? If not I would love to work on it.
from dffml.
Hi, I'm interested in working for this sub org under GSOC 2020, if you are planning to apply for GSOC 2020, could you please let me know where I can get started with so that I can start contributing. Thanks for your time.
from dffml.
I want to implement some neural network based models...
and i am a gsoc 2020 aspirant and want to work on this topic.
from dffml.
@rohit901 @darkdebo @aditisingh2362 Sorry for the late reply to those of you who commented on this a while ago, I'm sorry no one saw your comments. I've updated the issue, to point to the new tutorial. Let me know if you have any questions
from dffml.
Hello sir, I want to contribute in this project under GSOC 2020, please guide me any tutorial or videos to familiar with concept of adding ml models
from dffml.
Hello sir, I want to contribute in this project under GSOC 2020, please guide me any tutorial or videos to familiar with concept of adding ml models
@purnimapatel Please see the New Model Tutorial
from dffml.
@pdxjohnny thanks sir
from dffml.
Hey. I'd love to contribute to this issue, if it's still open. Are there any specific models you're looking to add? I had a few ideas, and would love to discuss them with you.
@pdxjohnny
from dffml.
Hi,
I am GSoC ' 2021 participant.
I'd love to contribute to this issue if it's still open. Are there any specific models you're looking to add? I am comfortable with python and PyTorch.
I am contributing for the very first time. I really appreciate any help/suggestion you can provide to get me started.
from dffml.
something that might be useful:
Mark Tenenholtz (@marktenenholtz) Tweeted:
TL;DR:
Tabular: XGBoost/LightGBM/RF
Time series: XGBoost/LightGBM/RF
Image: ResNet/EffNet
Text: RoBERTa
Audio: ResNet/EffNet
Your best bet is usually to start with these and then experiment from there.
Nothing in ML is an end-all-be-all!
^ https://mobile.twitter.com/marktenenholtz/status/1501905757842731014
from dffml.
Related Issues (20)
- docs: there is a mistake in the official documentation website
- ## 2023-01-31 @pdxjohnny Engineering Logs HOT 1
- docs: contributing: editors: vscode: Explain how to venv HOT 5
- operations: innersource: npm-groovy-lint: Only parse groovy files
- tests: mnist tests failing due to images missing? HOT 3
- operations: innersource: npm groovy lint: Use groovylintrc if present
- alice: docs: shouldi: contribute: overlay: please: log: todos: Example of application via dffml service overlay install command
- plugin: new: dffml-model-transformers
- plugin: new: dffml-model-transformers
- plugin: new: dffml-model-transformers HOT 1
- plugin: new: dffml-model-transformers
- plugin: new: dffml-model-transformers
- plugin: new: dffml-model-transformers
- alice: shouldi: contribute: Look for hardcoded paths and other values in groovy functions
- dffml: service: dev: overlay: disable: Add command to disable overlays
- style: Update black to 23.3.0
- scripts: images containers manifest: Debug
- Personal identity HOT 1
- Automate the training process (with auto-sklearn) HOT 2
- question: How do I contribute?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dffml.