-
Notifications
You must be signed in to change notification settings - Fork 5
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
mimic-iii pipeline #1
Comments
@hunterhector Are we planning to have independent ontology, dataset readers and processors for this repo or will we be reusing most of these components from forte itself? |
I don't think the main Forte repo itself provides enough components. It should be a case-by-case decided by @tanyuqian |
After reviewing the code of PR #2 detailedly, I realize some points to polish in our code:
|
Thanks to Bowen for the review. To help clarify one of Bowen's points, we will need to put the ontology at the root folder with a good ontology prefix. "demo.clinical" is not really a permanent choice. Also, since the generated content is python source, so we don't want to put them in another directory like "ontologies_specs", we simply put them at the top level, so that the package prefix actually matches the package path. Also note that we do not want to mix generated sources with your own code (this didn't happen, just a heads up in advance). Btw, there might be reasons that we want to stick to "ftx". One reason is that annotators in forte-wrappers are already using the classes under "ftx". Another reason is that we keep inventing new prefixes for every project we will have a lot by the end of the day :p. So, to do this, we should use name space packageing. This will ensure even we have "ftx" package in different places they can still be imported. We are developing the new namespace packaging feature (asyml/forte#577) in the generator, but we can also do it manually by removing an So the directory structure would look like this:
Note that we can even modify the "forte-wrapper" repo to make both sides to be consistent if we want. |
Thank you for the review. Also, creating issues in forte and forte-wrappers, to make the ftx structure consistent since its a small task. |
You are right, I used |
Is your feature request related to a problem? Please describe.
Adapting the clinical pipeline from the forte example into this pacakge.
Describe the solution you'd like
place the components (ontology, dataset reader, and processor, etc.) into corresponding folders in forte_medical/, and provide the pipeline example into examples/mimic-iii/.
Describe alternatives you've considered
Given it's the first example in this package, so feel free to change the code framework if necessary.
The text was updated successfully, but these errors were encountered: