前海微众银行面经(部分)

一面

  • 机器学习预处理?Answer by newBing: 机器学习预处理是指将原始数据转换为可用于机器学习模型的格式的过程。预处理的目的是使数据更易于使用,同时提高模型的准确性和效率。预处理方法包括以下几种:数据规范化、类别平衡化、连续值离散化、缺失值填充、处理分类型特征:编码与哑变量、特征选择和数据降维。
  • AOP方法能增强public方法吗,但是protected、private等方法能被切吗?相关知识:

Spring issue 19917:
老版本的Spring document :

Due to the proxy-based nature of Spring’s AOP framework, protected methods are by definition not intercepted, neither for JDK proxies (where this isn’t applicable) nor for CGLIB proxies (where this is technically possible but not recommendable for AOP purposes). As a consequence, any given pointcut will be matched against public methods only!

新版本的Spring document :

For JDK proxies, only public interface method calls on the proxy can be intercepted. With CGLIB, public and protected method calls on the proxy will be intercepted, and even package-visible methods if necessary.

Spring事务Transactional和动态代理(三)-事务失效的场景
Spring AOP对于接口-实现类这种方式是基于JDK动态代理的方式实现的。这种方式除了实现自接口的非static方法,其他方法均无效。
由于接口定义的方法是public的,所以,可以实施接口动态代理的方法只能是使用“public”修饰符的方法,其它方法不可能被动态代理,相应的也就不能实施AOP增强,也即不能进行Spring事务增强。

  • 多个线程并发地修改某生命周期为singleton的bean的某属性,应该如何保证线程安全?

二面

  • 你们的对话机器人,是基于规则库,还是基于市面上那些常见的开源大模型?

三面(主管面)

体验不好。没有太聊技术。挂了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

qq_23204557

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值