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

Phase-1 Contributions for Analyzer #12

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from

Conversation

ashish493
Copy link

  • Added dataset
  • Added models for predictions
  • Added Notebooks for analysis

@ashish493 ashish493 changed the title Phae-1 Contributions for Analyzer Phase-1 Contributions for Analyzer Jun 12, 2020
@ashish493
Copy link
Author

@hardlyhuman Can u review the changes?
If it is fine, I will start adding the different models from scikit and I will also start creating the SOM model for predictions.

@hardlyhuman
Copy link
Collaborator

Why do we have jupyter notebook files here? Also make necessary changes views.py of analyzer app

@ashish493
Copy link
Author

Sure, I will make the changes for the analyzer app.
I thought that by adding notebooks, it would be helpful to the users to gain insights quickly, but no problem, I will replace it with their respective scripts.

Copy link
Author

@ashish493 ashish493 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hardlyhuman Can u review these few changes?

iids/analyzer/views.py Show resolved Hide resolved
iids/analyzer/views.py Show resolved Hide resolved
try:
input_data = self.preprocessing(input_data)
prediction = self.predict(input_data)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here, we will make changes once we decide a prpoer format of input data

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the point of having 'self.predict(input_data)'?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it doesn't have any significance at the moment as we haven't created the input serializers. So, I will remove and then create a separate app for prediction.

from rest_framework.renderers import JSONRenderer

class EndpointSerializer(serializers.ModelSerializer):
read_only_fields = ("model_name", "param1", "param2", "param3")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will modify it as soon as the necessary changes are made

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants