Skip to content
This repository was archived by the owner on Apr 12, 2025. It is now read-only.

2nd phase Evaluations #19

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

2nd phase Evaluations #19

wants to merge 10 commits into from

Conversation

ashish493
Copy link

This PR contains only the changes made in 2nd phase.

Added a classifer for neural nets.

Updated mlclassifiers by addition of ML algos.

Updated pre-processors for neural nets.

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.

I've pointed out some notable changes.
@hardlyhuman , please review the changes


return model, score

def save_model(self,model,filename):
Copy link
Author

Choose a reason for hiding this comment

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

This one is for saving the models

from torch.autograd import Variable


class CNN(nn.Module):
Copy link
Author

Choose a reason for hiding this comment

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

added all classes of neural nets in a single files

bmu_loc = bmu_loc.squeeze()


# Neural network parameters " would be collected from JSON Config"
Copy link
Author

Choose a reason for hiding this comment

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

I Would be making the respective changes in the views.py

#model = RNN(1, 23)
#model = AE(1, 23)

def neural_train():
Copy link
Author

Choose a reason for hiding this comment

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

This function is for training of only neural networks


#for Neural Networks

#"""Convert the string part of the data into numbers, and convert the input 41-dimensional features into an 8*8 matrix """
Copy link
Author

Choose a reason for hiding this comment

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

added changes for neural nets

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

Successfully merging this pull request may close these issues.

1 participant