tlienart / AnalyticalEngine.jl

[draft] Agnostic Machine Learning models working on CPUs, GPUs, distributed architecture, etc.
Other
6 stars 1 forks source link

Extend StatsBase's `fit!` to avoid clashes #13

Open tlienart opened 6 years ago

tlienart commented 6 years ago

When doing

using RDatasets
using AnalyticalEngine

the fit! is defined in both frameworks. In the first one it reexports via DataFrames then via StatsBase the fit! whereas AnalyticalEngine defines its own stuff.

This means that in this case you'd have to use AnalyticalEngine.fit! which is a bit annoying. One way around it is to use import RDatasets but maybe a better way is to just import StatsBase.fit! and extend it.

(This is spawned from #12)