Add Utils for widedeep#2
Open
whatbeg wants to merge 128 commits into
Open
Conversation
qiuxin2012
pushed a commit
that referenced
this pull request
Dec 10, 2021
* add github action for nano code style (#1) * Update nano-style-check.yml * Test pr (#2) * change something * make style break * Update nano-style-check.yml * Update nano-style-check.yml (#3) * Update nano-style-check.yml * Update nano-style-check.yml * Update nano-style-check.yml * Update nano-style-check.yml * Update nano-style-check.yml * Update nano-style-check.yml * fix style * change nane
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add preprocess procedure using scala.
Unit Test is WideDeepUtilSpec.scala,but I didn't write detailed spec.
每条记录都是一个TensorSample,每条记录包含1个1维的sparseTensor,1个1维的denseTensor,1个1维的label (tensor),loadTrain或者loadTest返回一个RDD[Sample[Float]],训练集32561条, 测试集16581条。
如果可以再进行下一步的代码缩减,优化。