Skip to content

Commit

Permalink
#9 add part of the convert method
Browse files Browse the repository at this point in the history
  • Loading branch information
thegodenage committed May 11, 2024
1 parent abe5686 commit a5a54ac
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion internal/ml/caterogical.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,20 @@ func (c *CategoricalToNumericConverter[T]) Convert(obj T) []float64 {
defer c.mu.Unlock()

var wg sync.WaitGroup
for i := range c.convertRoutinesCount {

resultChan := make(chan map[string]any)

go func() {
wg.Wait()

close(resultChan)
}()

for range c.convertRoutinesCount {
wg.Add(1)
go func() {

}()
}

}

0 comments on commit a5a54ac

Please sign in to comment.